GrayHat wrote: > Hello all, I'm trying to find a way to discard all the > incoming messages whose destination recipient > (either the envelope to or the header one) matches > a given regular expression > > To be more clear; someone probably got a list > containing some mail addresses belonging to one > of the domains which ASSP is filtering; but the list > apparently was somewhat screwed since all the > mail addresses are prefixed by a "3d" or "3D" > (HTML codes come to mind); now, since ALL the > messages adressed to a > > 3D<something>@<oneofthedomains.tld> > > mailbox are 100% junk, I would like to filter all the > incoming mail matching such a pattern; as a start > I created the following regexp > > \b3[d,[EMAIL PROTECTED] > > which matches all the addresses starting with a > 3D (or 3d), followed by whatever char sequence > an "at" sign and one of my domains; probably there's > a better way to write it, but my real problem now is > finding WHERE to put it so that it will ALSO work on > the envelope TO > > any idea ?
The 3D is actually hex for the = char. I usually see this from poorly written address scrapers. Perhaps something like: ^3d.*@ in the bombsenderRE? kevin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
