On 2021-06-01 slp tees via Exim-users <[email protected]> wrote:
[...]
> acl_check_rcpt:

>   ### Deny if sender explicitly in blacklist
>   # $recipients is not available until DATA command
>   deny senders = ${if exists{CONFDIR/sender-blacklist-envelope-from}\
>                    {CONFDIR/sender-blacklist-envelope-from}\
>                    {}}
>     message = Rejected RCPT <$local_part@$domain>: Unrouteable address
>     log_message = Blacklisted - $sender_address
>     delay = 10s

> 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
[...]

Hello,

The lines in the file are not expanded, so quoting with \N should not be
necessary.  The second line ("*\N^mutual.of.omaha.*@.*\N*") does not
start with ^ but with "*" and is therefore not interpreted as a regular
expression.

This would probably work:
^mutual.of.omaha.*@.*

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

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