Re: [exim] block domain sender

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tony Finch
Date:  
À: Balzi Andrea
CC: exim-users
Sujet: 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}}