Re: [exim] ACL to scan From: header is not working

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: web
CC: Exim-users
Tárgy: Re: [exim] ACL to scan From: header is not working
On 2012-03-20 at 12:45 +0100, web@??? wrote:
> Here is my ACL to scan From: header of each message which arrives to my
> servers Exim:
>
>   warn !authenticated = *
>           condition = ${if
> match_domain{${domain:$h_From:}}{+local_domains}{yes}{no}}
>           log_message = Spoofed Email
>           message = X-Spam-Flag: FROM-SPOOF

>
> I have local_domains list definied at the top of Exim.conf.
>
> This ACL should add "X-Spam-Flag: FROM-SPOOF" extra header to each message,


The "message" modifier is for rejection messages at the SMTP level, not
for adding headers.

You want:
add_header = X-Spam-Flag: FROM-SPOOF

-Phil