procmail
[Top] [All Lists]

Re: homemade soap receipe (AND Beyond)

1997-12-10 22:20:54
In message 
<Pine(_dot_)A32(_dot_)3(_dot_)91(_dot_)971210200741(_dot_)17060D-100000(_at_)quake(_dot_)garlic(_dot_)com>,
 Eric Hi
lding writes:
                   (or)       * ^From:.*cyberpromo.*     

...or will it match with simply partial letters/numbers?

I assume it will; regexps match any part of a line (the ^ is to
say that starts at the beginning of a line.)

Is there an easy way to filter on, let's say, if the part
of the address either *before* or *after* the "@" symbol
has 5 or more SUCCESSIVE digits(numbers)?

Hmm.  Wouldn't '[0-9][0-9]...' work?  I don't know if procmail does
things like [0-9]{5}.

This should be 
a safe bet, I would think...and not axe out some *legit* aol 
or prodigy mail addresses which often contain several numbers.

Yes, but what about legit compuserve ID's, which *always* have
at least 5 numbers?  (Or did, before they started the Lesser
Renaming.)

If I can at least filter all of this kind of crap to one 
mailbox to deal with later it would be a great Xmas present :-)

Me, I just bounce anything that doesn't resolve, in sendmail.  Why
waste my time on idiots who have bad DNS?  (Or "good" DNS on an NT
server that's too loaded to respond.)

-s

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