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. -- -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
