Something like:

:0
* ^From: .*(mailer-daemon|postmaster).*
/dev/null

Should take care of it, after writing that, I betting that will kill your
own postmaster messages to yourself too, so be careful in use.

======================================================================
Andrew Ott               Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Network Admin/Webmaster  Web:   www.prairieweb.com or www.actcom.net
======================================================================
Death is Gods way of Dropping Carrier.
God is real, unless declared integer.
God, Root, What's the Difference?  -  UserFriendly.org 
======================================================================
 
-----Original Message-----
From: Dimitrios [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 26, 2004 5:25 PM
To: [EMAIL PROTECTED]
Subject: [OT] procmail help

I'm sorry for posting this here, i understand the SA list has nothing to do
with procmail, but i feel more comfortable around you people ;)

I'm sick and tired of all the 'postmaster', your message contains a virus or
some other crap that i keep getting from servers administered by idiots.

I'd like to add a rule in my procmail that stops all emails with a From:
address that contains 'postmaster'
or 'mailer-daemon', and moves them to /dev/null.

can someone help please?

Reply via email to