Re: [exim] Senderblocking via separate list

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Jens Strohschnitter
CC: EXIM Official Maillist
Subject: 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}}