Re: [exim] deny senders in RCPT ACL regular expression and …

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] deny senders in RCPT ACL regular expression and wildcards won't match for some reason
On 01/06/2021 10:48, slp tees via Exim-users wrote:
>    deny senders = ${if exists{CONFDIR/sender-blacklist-envelope-from}\
>                     {CONFDIR/sender-blacklist-envelope-from}\
>                     {}}


> And here is the excerpt from the file sender-blacklist-envelope-from that
> should have blocked the spam I saw.
>
> \N^quicken.loans.*@.*\N
> *\N^mutual.of.omaha.*@.*\N*
> \N^meetasianlady.*@.*\N


http://exim.org/exim-html-current/doc/html/spec_html/ch-domain_host_address_and_local_part_lists.html#SECTfilnamlis

"no expansion of the data from the file takes place"

You don't want those \N pairs; they stay as part of the result data.--
Cheers,
Jeremy