Re: [exim] block domain sender

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tony Finch
日付:  
To: Balzi Andrea
CC: exim-users
題目: 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}}