Do you mean that you wish to lookup based on the description rather than the 
actual address? (e.g. HMRC)
I don’t believe you have this data until you have received the headers (i.e. it 
isn’t in the envelope)

--
Merlin Hartley
IT Systems Engineer
MRC Mitochondrial Biology Unit
Wellcome Trust/MRC Building
Hills Road
Cambridge
CB2 0XY
UK

On 11 Jun 2014, at 09:39, Gary Stainburn <[email protected]> wrote:

> Hi folks.
> 
> in acl_check_data I have the following:
> 
>  deny    senders = /etc/exim/lists/deny.senders
>          log_message = $sender_address listed in deny.senders
> 
> as most people do.  What I want to know is how can I add a similar rule using 
> substring matching?  I want to be able to block senders such as
> 
> O2 billing <random.email@address>
> HMRC <[email protected]>
> Halifax <somewhere.in@poland>
> 
> -- 
> ## List details at https://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/


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

Reply via email to