Re: [exim] HowTo integrate Spamassassin working?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Forum
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] HowTo integrate Spamassassin working?
Am 22.12.2016 um 13:45 schrieb Jeremy Harris:
> 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...


But it is working - so the variable exists with a value.

> Also, the $eval is not needed for a constant.


Hmmm - i just used the example from the exim wiki.

>
>>        warn  spam = nobody:true
> Nit: indentation.


What is the meaning of this?
Sorry, but the syntax of the exim configuration is a bit strange for me.

>
>>        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.


I will report if it will help.
Up to now there was no new spam mail.

>
>> 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
>


Ah - perfect.
Thanks.