Re: [exim] ACL filtering

Top Page
Delete this message
Reply to this message
Author: Jim Cheetham
Date:  
To: exim users
Subject: 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