procmail
[Top] [All Lists]

Re: how to match this

1997-08-04 21:20:00
| Valid AOL address are 10 characters or less and also has to begin with a  
| letter and not a number also.

Also, as they arrive in email, spaces are stripped out, so the 
characters after the first may be only alphabetics or digits.

| How can I match this so as to be able to filter out invalid AOL From:s?

Shall we take a negative approach ...

 * ! ^From: *([^a-z]|.+[^0-9a-z]|............)(_dot_)*(_at_)aol\(_dot_)com$


I tried the above recipe out and it works great at catching SPAM. Caught
four SPAMS and two legitimate emails. I'm leaving the legitimate From 
fields out but both were normal user(_at_)domain addys with no numerals.

From: 98087634(_at_)hotmail(_dot_)com
From: 28449558(_at_)hotmail(_dot_)com
From: Manager <tka(_at_)hytop(_dot_)com>
From: Manager <tka(_at_)hytop(_dot_)com>

I am using it like such:

:0:
* ! ^From: *([^a-z]|.+[^0-9a-z]|............)(_dot_)*(_at_)aol\(_dot_)com$
$PINEDIR/AOLTRAP

For the life of me, I can't figure out the connection between the above
addresses and why the filter picked them out. I'm not getting any kind
of log error.

Ideas?

Regards,

Dave/Webmaster

           Join www.cauce.org | Join Joke-L
  Hit SPAMMERS Where It Hurts | Listserv <listserv(_at_)ddave(_dot_)com>
````````````````````````` Confirmed kills and counting...
"God grant me the serenity to accept the things I cannot change, 
the courage to change the things I can, and the wisdom to hide 
the bodies of the SPAMMERS that I had to kill."

<Prev in Thread] Current Thread [Next in Thread>