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

Inizio della pagina
Delete this message
Reply to this message
Autore: Mark Murray
Data:  
To: Lena
CC: exim-users
Oggetto: Re: [exim] tring to reject mail based on "From:" and "Reply-to:"
Lena@??? writes:
> > From: Mark Murray
>
> > in acl_check_rcpt I have this:
>
> > ${lookup{$h_x-sender:}
>
> In acl_check_rcpt $h_ variables are unavailable.


Thank you! Good to know.

> > 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:


Will do, thanks!

M
--
Mark R V Murray
Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open)
Pi: 132511160