2 msgDuplicate messages with always_bcc
14 msg[OT] Saving outgoing email Gmail style
3 msg451 error
10 msgPostfix 2.5 release candidate (and 2.6 snapshot...
2 msgpostfix errors when sending smtp auth via yahoo
4 msgDocumentation enhancement: Adjusting DB file pe...
11 msgI don't want Postfix to confirm users via telnet
3 msgQuestion on Earthlink and dnsbl.sorbs.net
36 msgRe: Enforced Outbound TLS (part deux)
6 msgsmtpd_proxy_filter to unix: problem
4 msgAgain troubles with postfix and cyrus-sasl

Exclude local host from smtpd_proxy_filter
\ Rajkumar S (15 Jan 2008)
. \ mouss (15 Jan 2008)
. . \ Rajkumar S (15 Jan 2008)

4 msgtransport nexthop nexthop
3 msgTLS has been selected, but TLS support is not c...
2 msgWhich documentation to read for this..
4 msgExchange 2003 to Postfix maildir migration
7 msgvirtual_mailbox_base & LDAP
12 msgEnforced Outbound TLS
2 msgpostfix+maildrop error
10 msgOutgoing IP address
Subject:Exclude local host from smtpd_proxy_filter
Group:Postfix-users
From:Rajkumar S
Date:15 Jan 2008


 
Hi,

I have postfix running on Debian Etch, where I have configured amavis
using smtpd_proxy_filter. Things are working as it should. Now I need
to exclude mails originating from localhost from smtpd_proxy_filter
(ie amavis) and if possible all mails from smtp authenticated
senders. I have searched google and on thread suggests using firewall
to take care of this. But if there is any way postfix can be
configured to achieve this that would be great!

Thanks and regards,

raj


master.cf:
smtp inet n - n - - smtpd
-o smtpd_proxy_filter=localhost:10024
-o smtpd_client_connection_count_limit=10
127.0.0.1:10025 inet n - n - - smtpd
-o smtpd_authorized_xforard_hosts=120.0.0.0/8
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o receive_override_options=no_unknown_recipient_checks

postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
mydestination = $mydomain, $myhostname
myhostname = postfix.mydomain.com
mynetworks = 127.0.0.0/8, 192.168.3.0/25
myorigin = $mydomain
relay_domains = domain.org, users.domain.org, lists.domain.org
smtpd_recipient_restrictions = reject_unknown_sender_domain,
permit_mynetworks, permit_sasl_authenticated,
reject_non_fqdn_sender, reject_unauth_destination,
reject_non_fqdn_hostname, reject_invalid_hostname,
check_policy_service inet:127.0.0.1:9997, reject_rbl_client
zen.spamhaus.org, reject_rbl_client combined.rbl.msrbl.net,
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
transport_maps = hash:/etc/postfix/smtproutes
virtual_alias_maps = proxy:ldap:/etc/postfix/virtual_ldap/alias_maps
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:ldap:/etc/postfix/virtual_ldap/domains
virtual_mailbox_maps = proxy:ldap:/etc/postfix/virtual_ldap/mailbox_maps, proxy:
ldap:/etc/postfix/virtual_ldap/alternate_maps
virtual_transport = dovecot
virtual_uid_maps = static:1001


© 2004-2008 readlist.com