Re: [Exim] Match failing against negated regexp in address-l…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Phil Pennock
CC: Exim Users
題目: Re: [Exim] Match failing against negated regexp in address-list
On Tue, 5 Aug 2003, Phil Pennock wrote:

> Now, if $domain_data is something like:
>
> ! ^(postmaster|webmaster|valid_1|valid_2)$:fred:barney
>
> then this doesn't work;


> the "fred" and "barney" are redundant, so the
> work-around was to remove them, but I don't see why foo@ failed to
> match. It seems that the negated regexp only works if it's not part of
> a list.
>
> This is Exim 3.36; any pointers much appreciated.


Ah. Sorry, 3.36 is out of my view nowadays... the way these lists are
expanded and split was changed for Exim 4.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book