Re: [exim] ACL filtering

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Always Learning
Datum:  
To: Exim Users
Betreff: Re: [exim] ACL filtering

Jim Cheetham wrote on Sat, 24 Apr 2010 15:18:31 +1200.

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


GOLLY GOSH !

Golly, golly, golly.

Oh well, another quick rewrite of my tests.

Thank you most sincerely for this wonderful revelation. I am absolutely
positive I won't forget it.

Thanks,

Paul.

--