Steve Fatula a écrit :
>> If you do not want to process local mail via SpamAssassin then don't
>> send locally submitted mail to SpamAssassin.
> 
> Precisely, and the question was how to recognize locally submitted mail vs 
> other mail given that we had to process on delivery via procmail, and, each 
> user can have different Spamassassin settings, etc. Now I know how. 
> 
> For those still responding - please, the issue was resolved.
> 
> 
>       


for mail submitted via the sendmail command

pickup ...
        -o content_filter=


for mail submitted via the submission service:

submission ...
        -o content_filter=${submission_filter}
        -o smtpd_client_restrictions=${submission_client_restrictions}
        ...

where the above variables are defined in main.cf


the point is: use the "origin", not headers.


Reply via email to