Hmm, it seems that it's trying to match an actual perl regexp, so you'll want

.*@PASSPORT.COM

or such, despite the docs which say it wants a glob-style pattern.  The docs are right that this is probably a security flaw.  Any perl guru have a handy snippet for converting a glob-style pattern to a regex safely?

It's actually lowercasing the From address before the regex match which is done case-sensitively too.  I should change that, but for now, use passport.com to match /passport.com/i

C

On Sun, 2002-02-03 at 14:12, Andrew Kohlsmith wrote:
> It needs to treat the part after the *final* '@' symbol as case
> insensitive, but the part before it, possibly including more '@'
> characters, as case sensitive.

Unfortunately, I have both *@passport.com and *@PASSPORT.COM in my SQL table 
for "whitelist_from".  The From line is block caps so I figured it shoudl 
match at least one...  :-)

Regards,
Andrew


Reply via email to