Re: [exim] Using domain regex filtering...

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Bowyer
Date:  
À: exim users
Sujet: Re: [exim] Using domain regex filtering...
On 15/02/2008, Wallace Tan <wally@???> wrote:
> Tony Finch wrote:
> > On Tue, 12 Feb 2008, Marco Gaiarin wrote:
> >> someone can hint me how to write an ACL condition that can use this file
> >> directly?
> >
> > deny hosts = /path/to/file/containing/regexes
> >
> > Tony.
>
>
> The ACL above is incorrect, it should be:
>
>  deny  message   = "$sender_host_address rDNS $sender_host_name rejected"
>        condition = ${lookup{$sender_host_name} nwildlsearch {/etc/exim/exim-dynamic-regex} {yes}{no}}
>        delay     = 30s


Why on earth make it so complicated? Tony's simple example should work
just fine.

--
Peter Bowyer
Email: peter@???