On Thu, May 10, 2012 at 3:42 PM, Koenraad Lelong
On 09-05-12 16:06, The_Ace wrote:
postconf -n
postconf -n [snip] mynetworks = 192.168.0.0/20, 127.0.0.0/8 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This makes all IPs from 192.168.0.1 to 192.168.15.255 allowed IPs as far as postfix is concerned.
[snip]
smtpd_helo_restrictions = permit_mynetworks, warn_if_reject, reject_non_fqdn_hostname, reject_invalid_hostname, permit smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, check_policy_service unix:postgrey/socket,reject_unauth_destination,reject_rbl_client zen.spamhaus.org [snip]
By having permit_mynetworks listed first, the above set IP range is white listed regardless of the from address syntax. Which is why the mail is accepted first and then rejected. White listing IPs like that is generally a not good idea as it allows even a zombified pc in that range to send mail. Recommended way is to use SMTP authentication. Anyway, change the smtpd_recipient_restrictions to : smtpd_recipient_restrictions = reject_non_fqdn_sender, permit_mynetworks,permit_sasl_authenticated, check_policy_service unix:postgrey/socket,reject_unauth_destination,reject_rbl_client zen.spamhaus.org and see if that rectifies the problem. -- The mysteries of the Universe are revealed when you break stuff. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org