Re: [exim] ACL filtering

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jim Cheetham
Ημερομηνία:  
Προς: exim users
Αντικείμενο: 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