Re: [exim] SpamAssassin Problems

Página Inicial
Delete this message
Reply to this message
Autor: exim-users
Data:  
Para: Exim-users
Assunto: Re: [exim] SpamAssassin Problems
Yann Golanski schrieb:

> Quoth Eduardo Otubo on Wed, Nov 16, 2005 at 10:34:04 -0200
>
>>It maybe a silly question from a newbie, but i would like a help :)
>>i'm having a little trouble about the spam assassin config. I have
>>already folowd up all the tutorial in the internet i found. Everything
>>semms to be working and running correctly (ny the test i do) but the
>>only poroblem is that none header is written in the email (Like X-Spam-).
>>
>>how do i config my SA to write this headers in my email?!
>
>
> add_header option in spamd. man Mail::SpamAssassin::Conf should tell
> you all you need.


This only works if you're invoking SA via a router/transport. If you're
invoking SA via exim's ACLs, you should take a look at the default
configure file that gets shipped with exim. It's all there:

>   # Add headers to a message if it is judged to be spam. Before enabling this,
>   # you must install SpamAssassin. You may also need to set the spamd_address
>   # option above.
>   #
>   # warn    spam      = nobody
>   #         message   = 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


HTH,
Patrick Eisenacher