| |||||||||||||||||||||||||||||||
|
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