Re: [exim] Senderblocking via separate list

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: Jens Strohschnitter
CC: EXIM Official Maillist
Tárgy: Re: [exim] Senderblocking via separate list
On Thu, 3 Feb 2005, Jens Strohschnitter wrote:
>
> I have running exim-3.35 (ok I should upgrade - but never touch
> a running system:-)) with an entry in my exim.conf that blocks
> a senderaddress:
>
> To make this little bit flexible, I want to create a separate list
> like in /etc/exim/blocking.list that contains a list of all addresses
> to block like shown above.
>
> So how do I have to change my exim.conf to make it work ?


Oh no, you wouldn't want to change anything. It might break.

Try using ${lookup {$sender_address} lsearch {/path/to/file} }

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