|
|||||||||||
|
Re: spamassassin/postfix - not accepting the false "from" messages
From: Christoph Moench-Tegeder <cmt(at)burggraben.net>
Date: Fri Oct 05 2007 - 19:11:15 EDT
> Let's suppose that i am Bad idea. > My question is - how to avoid this sittuation - users obviously are
Best: seperate your MX and your smarthost and route internal mail
internally.
permit_sasl_authenticated permit_tls_clientcertsHowever, the second postix instance (which receives the mail coming from amavisd) hast "-o smtpd_data_restrictions=" set via master.cf.
In add_header, I have one simple line to add a new header to each mail
which isn't already accepted by the first lines:
/.*/ PREPEND X-MyID-Auth: No
Then just add a rule for spamassassin:
All mail whithout the "not-authenticated header" will get -100 points whitelisting. The "not-authenticated header" is forced into all mails coming per non-authenticated smtp (here: no SASL authentication, no client certificate; fit to your needs). Works quite nice here for quite some time.
Regards
-- Spare Space -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Fri Oct 5 19:11:42 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 00:08:26 EDT |
||||||||||
|
|||||||||||