Re: [exim] Change From: address

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ted Cooper
Date:  
À: exim-users @ exim. org
Sujet: Re: [exim] Change From: address
Michael L Griffin wrote:
> Greetings
>
> I finally figured out the deny if $sender_address does not match
> $authentication_id :
>
> In the RCPT ACL :
> # If the from address does not match the auth id then reject
>   deny authenticated = *
>           condition = ${if ! match
> {$authenticated_id}{$sender_address}{yes}{no} }
>           message = Sender address and authentication address do not match
>           log_message = DENY : sender not equal authenticated_id

>
> Now if I could only figure out the "From:" header replacement...


"$h_from:" will serve quite well for that, using eq or match. Not as a
replacement, but again to fit with the above, to deny spoofed senders.

--
The Exim Manual
http://www.exim.org/docs.html
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html