Re: [exim] block domain sender

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Balzi Andrea
CC: exim-users
Subject: Re: [exim] block domain sender
On Thu, 21 Apr 2005, Balzi Andrea wrote:
>
>   deny    message       = Rejected because $sender_host_address is in an internal blacklist
>           senders       = lsearch;/etc/exim/blacklist.cfg

>
> In to the file I've write a simple entry for test:
>
> hotmail.com
> *.hotmail.com


Senders matches the whole email address. You want sender_domains instead.
You also haven't told it to perform any wildcarding in the lookup. Use
lsearch* instead.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}