Re: [exim] Exim config option for not calling spamd for Mail…

Top Page
Delete this message
Reply to this message
Author: Marc Sherman
Date:  
To: Andy Firman
CC: exim-users
Subject: Re: [exim] Exim config option for not calling spamd for Mailman posts?
Andy Firman wrote:
>
> How do I tell Exim to not call spamd for mailman posts?
>
> This is in my acl_stmp_data:
> # Always add X-Spam-Score and X-Spam-Report headers, using SA system-wide settings
> # (user "nobody"), no matter if over threshold or not.
> warn  message = X-Spam-Score: $spam_score ($spam_bar)
>       spam = noboby:true
> warn  message = X-Spam-Report: $spam_report
>       spam = nobody:true

>
> I asked the Spamassassin email list first and the thought there is to
> have Exim not call spamd for locally generated messages.


The spam= warn is right at the bottom of your data ACL, right? If so,
insert this right above it:

# Don't run spamassassin for mail from local or authenticated clients
accept hosts = 127.0.0.1 : +relay_from_hosts
accept authenticated = *

- Marc