At 08:21 PM, 10 December 1997, Eric Hilding <eric(_at_)hilding(_dot_)com> wrote:
On Wed, 10 Dec 1997, Peter Seebach wrote:
I recommend
:0
* ^From:.*cyberpromo
/dev/null
Wouldn't that have to be: * ^From:.*cyberpromo\.com
(or) * ^From:.*cyberpromo.*
No, the original will work. Your first alternative would be more
specific. The trailing .* in the second would do nothing (except waste
time).
...or will it match with simply partial letters/numbers?
Yes.
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)? 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.
Matching 5 digits in a row is easy:
:0:
* ^From:.*[0-9][0-9][0-9][0-9][0-9]
spambox
--
Aaron Schrab aaron(_at_)schrab(_dot_)com http://www.execpc.com/~aarons/
"...Unix, MS-DOS, and Windows NT (also known as the Good, the Bad, and
the Ugly)." -- Matt Welsh