Re: [exim] tring to reject mail based on "From:" and "Reply-…

Góra strony
Delete this message
Reply to this message
Autor: Lena
Data:  
Dla: exim-users
Temat: Re: [exim] tring to reject mail based on "From:" and "Reply-to:"
> From: Mark Murray

> in acl_check_rcpt I have this:


> ${lookup{$h_x-sender:}


In acl_check_rcpt $h_ variables are unavailable.

> I'd like to be able
> to do something like the above (obviously in acl_check_data!).


>     condition           = ${lookup{$h_from:}wildlsearch{/usr/local/etc/exim/local_sender_blacklist}{yes}{no}}


Use ${address:$h_from:}
instead of $h_from: