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

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to