Re: [exim] Creating defer condition when using warn and to t…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Steven Brown
Data:  
Para: 'Steven Brown', exim-users
Assunto: Re: [exim] Creating defer condition when using warn and to test for SPAM
Responding to me own message here ...

> warn    condition       = ${if < {$message_size}{150K}}
>         set acl_m9      = 1
>         spam            = nobody
>         set acl_m9      = 0
>         add_header      = X-Spam-Score: $spam_score\n\
>                           X-Spam-Bar: $spam_bar


Changed to nobody:true to messages which are thought to be non-spam also get
acl_m9 set to 0

Also, removed entire add_header from here and added it to remaining warn
statements so non-SPAM does not get any X-Spam-* headers added.

Steve