martin f krafft a écrit :
> 
> Well, sure, this makes sense, but how can I support this standard
> use-case? Postfix adding a SASL-header that causes Spamassassin then
> to ignore the message isn't the solution as spammers would simply do
> that sooner or later. Short of whitelisting people, what should
> I do?
> 

how do you integrate SA with postfix?

If using content_filter, then you could skip SA for authenticated users.
for instance:

content_filter=
#or this to still check for viruses:
#content_filter=scan:[clamsmtp.domain.example]:10020
smtpd_recipient_restrictions =
        ...
        permit_sasl_authenticated
        permit_mynetworks
        reject_unauth_destination
        check_client_access pcre:/etc/postfix/default_filter.pcre
        ...

== default_filter.pcre:
/./     FILTER scan:[amavisd.domain.example]:10024

('scan' is the name of the transport as defined in master.cf).

Reply via email to