I'm have this program that reads over mail logs looking for spammers, 
and depending on certain conditions, they're marked as a spammer.  If 
the reverse lookup on the relay used matches their email address 
however, no matter what, we're not marking them as a spammer. However, 
I've run across a problem where a users email address can look something 
like

[EMAIL PROTECTED]

and the relay used will be reversed to:

relay.inthemiddleofnowhere.com

How do I match JUST the last part of the address, so that 
inthemiddleofnowhere.com is the only thing picked up, no matter how many 
subdomains are listed, and it also matches if the email address is just 
[EMAIL PROTECTED]? I can't seem to figure this one out.


Also, there is one spammer in particular who's email addresses look 
something like:

OWNER-NOLIST-3249_Columbia_music*TJUDKINS**EXO*[EMAIL PROTECTED]

When I get one of the emails from this spammer, I get this error with 
the script:

Nested quantifiers before HERE mark in regex 
m/OWNER-NOLIST-3249_Columbia_music*TJUDKINS** << HERE
EXO*[EMAIL PROTECTED]/ at /sbin/removespam.pl line 10.

I'm assuming the asterisk is breaking the regex already in place somehow. Anyone know 
what might be causing this one, and how to fix it?





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to