Re: [exim] Why there is no headers from SA in relayed mails?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Ted Cooper
Data:  
Para: exim-users
Asunto: Re: [exim] Why there is no headers from SA in relayed mails?
On Thu, 2010-04-08 at 12:00 +0200, Marcin Mirosław wrote:
> warn
> spam=nobody
> add_header = X-Spam_score:$spam_score\n\
> X-Spam_score_int:$spam_score_int\n\
> X-Spam_bar:$spam_bar\n\
> X-Spam_report: $spam_report


This will only add the headers to emails on which Spam Assassin is
returning a "YES SPAM" result. The "spam=nobody" line is a condition
line and uses the SA internal spam level as the trigger.

If you want it to call SA but always return true (and thus add the
headers) you'll have to add the ":true" to the end like you have for the
second warn statement/chunk.

--
The Exim manual - http://docs.exim.org