-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Blackwell said the following on 14/02/2013 20:31:
> I'm using postfix to relay email to our exchange server. > > The problem I'm running into is the spam filtering on the exchange filter > is being bypassed because the relayed email shows a from address of the > email relay server and not the originating ip address. > > Is there a was to configure postfix to relay male but retain the received > from IP address when it was received by postfix? As Reindl Harald pointed out, the spam filter should be in only one place: the border server. If you add something like (che the documentation before adding this parameters) reject_invalid_hostname reject_non_fqdn_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_sender_domain reject_rbl_client cbl.abuseat.org reject_rbl_client sbl.spamhaus.org reject_rbl_client pbl.spamhaus.org to smtpd_recipient_restrictions you block nearly 90% of spam My advice is to disable antispam on Exchange _and_ Outlook (if you have any) and filter in just one point. This is useful also if you want to debug the filter, i.e. if a user asks why a mail has been rejected. Of course smtpd_recipient_restrictions alone is not an antispam filter, you should also add at least an antivirus scanner. Ciao, luigi - -- / +--[Luigi Rosa]-- \ Talk is cheap because supply exceeds demand. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlEduNEACgkQ3kWu7Tfl6ZSC1QCgymM8xcjCLLMn/9C0HqrHn6Ln JPsAoIKeVd2RkEcHUMi2yZYz84yZJVIq =lOiv -----END PGP SIGNATURE-----