Re: [exim] HowTo integrate Spamassassin working?

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-users
Asunto: Re: [exim] HowTo integrate Spamassassin working?
On 22/12/16 09:13, Forum wrote:
> spamd_address = /run/spamd.sock
>
> begin acl
>
> acl_check_data:
>
>   deny  message = This message is classified as UBE (SPAM) and therefore rejected. You scored $spam_score points.
> Congratulations!
>        condition = ${if >{$spam_score_int}{${eval:200}}{true}{false}}


Possibly you don't have a $spam_score_int by this point...
Also, the $eval is not needed for a constant.

>        warn  spam = nobody:true


Nit: indentation.

>        condition = ${if >{$spam_score_int}{50}{1}{0}}
>        remove_header = "Subject"
>        add_header = Subject: ***SPAM (Score:$spam_score)*** $h_Subject:


The quotes are not needed for the remove_header argument. I'm
not sure if they are a problem or not; try removing them.


> Where can i find the explanation of the commands for add_header, remove_header in this context?

http://exim.org/exim-html-current/doc/html/spec_html/ch-access_control_lists.html#SECTremoveheadacl

--
Cheers,
Jeremy