Re: [exim] Filtering incoming mail.

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: Tim Jackson
CC: exim-users
Betreff: Re: [exim] Filtering incoming mail.
On Fri, 6 Jan 2006, Tim Jackson wrote:
>
> userlist_domains:
>   driver = redirect
>   allow_fail
>   domains = example.com : example.net
>   data = ${lookup{$local_part}lsearch{/etc/exim/userlists/$domain}\
>                  {$local_part@$domain}\
>                  {:fail:Unknown user}}


Nooo! Gratuitous string expansion!

Just add a local_parts precondition to the router which handles the local
domain.

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