Re: [exim] deny.senders using partial match

Góra strony
Delete this message
Reply to this message
Autor: Gary Stainburn
Data:  
Dla: exim-users
Temat: Re: [exim] deny.senders using partial match
Hi Merlin,

Yes, that is what I mean, and that is also what I suspected.

Any suggestions?

Gary

On Wednesday 11 June 2014 10:30:09 Merlin Hartley wrote:
> 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 <gary.stainburn@???>

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 <another.silly@???>
> > 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/




--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk