From: Wizard <wi...@ne...> - 2003-02-13 15:31:46
|
> I really struggled to understand what was going on there. I'm still not > sure I get it. I struggled too ;-). It tries to coax the DOMAIN (i.e., aol, sourceforge, slashdot, theregister, etc.) from the string and parse it into the $dn variable. That's what allows the 'aol' from 'fred.aol.co.uk' to end up in the right field when comparing to '*.aol.*'. I didn't say it would be elegant ;-) > If it goes in, the error message should say which filter rejected the > email address. Ok, that's easy enough. > I *think* that fr...@ao... should have been blocked by *@*.aol.* but > it doesn't seem to match on all fields. If '.bl' is a valid tld (like '.co') then I'll add it to the $valid_tlds variable and it should parse correctly. I wasn't aware of it. If it conflicts with a country code, then I will have a problem. Grant M. |