Regarding what Jamie said, what's even better for ^To.* and ^cc.* is ^TO_
which is an alias for (from `man procmailrc`):
(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To):(
.*[^-a-zA-Z0-9_.])?)

:0
* ^[EMAIL PROTECTED]

For Bob, if you don't control broken server, you may want to do some
offensive tactics.  One time some webdevelopment company thought they would
be smart and send their web design promotions to webmaster@mycompany nearly
every day.  I didn't care for that so I setup a rule that said something
like this:

:0
* ^TO_webmaster@mycompany\.com
* ^From.*webmaster@webmasterdirect\.com
! [EMAIL PROTECTED]

ie, sent it to their webmaster.  Apparently their webmaster account worked,
and they stopped sending me mail.

-----Original Message-----
From: Linux Rocks ! [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: [Eug-lug]Procmail Filter


this should work, but you will likely want 3 simular lines to be sure to
catch 
cc, and to!

: 0
* ^From.*[EMAIL PROTECTED]
 /dev/null
############ additional *Thourough* filters #############
: 0
* ^To.*[EMAIL PROTECTED]
 /dev/null
: 0
* ^Cc.*[EMAIL PROTECTED]
 /dev/null

################# end Filters #############

Jamie


On Tuesday 19 November 2002 07:41 am, Bob Crandell wrote:
: Hi,
:
: I have a client that is receiving a barrage of the same email from a
single
: address. It isn't SPAM, there is something wrong with that server.
:
: Question:
: What single line entry do I add to my client's procmailrc to block mail
: from [EMAIL PROTECTED]
:
: Probably drop that mail in /dev/null
:
: Thanks

-- 
Microsoft is not the answer, Microsoft is the question, the answer is:
Guilty 
as Charged!
No microsoft products were used to produce this message.
EUG-LUG Mailing List:
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug
_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to