Re: [exim] ACL filtering

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jim Cheetham
Date:  
À: exim users
Sujet: Re: [exim] ACL filtering
Quoting Always Learning (from 24/04/10 12:32):
>> deny    message       = [C06.5]  Msg6 Msg2
>>         hosts         = ^.*[a](1)[-_.](.?)[d](1)[-_.](.?)[s](1)[-_.](.?)[l](1).*

>
> Revised ...
>
> deny    message       = [C06.5]  Msg6 Msg2
>         hosts         = ^.*[.-_][a](1)[d](1)[s](1)[l](1)[.-_].*


Why make it so complex?

hosts = [.-_]adsl[.-_]

No need to anchor it to the beginning of line - "^.*" is essentially
meaningless. "[a](1)" means the same as "a", etc.

-jim