procmail
[Top] [All Lists]

Re: Recipe for killing messages with no subject

2004-07-20 06:22:38
On Tue, 2004-07-20 at 20:36, Dallman Ross wrote:
On Tue, Jul 20, 2004 at 05:22:35PM +1000, Stephen Kuhn wrote:

Is there a simple recipe for killing inbound emails that do not have a
subject?

How about either no subject or blank subject?

   :0  # inside brackets are a caret, space, and tab
   * ! ^Subject:.*[^    ]
   fails_on_subject


I thought (bad mistake) that by using the include to include the
nkvir-rc and html-trap.procmail that they'd originally take care of
that bit for me - but apparently do not...

Sorry, by including the . . . what?!

Dallman Ross

Ah - I include two other filters when I institute my procmailrc system
wide- one is called nkvir-rc and the other is html-trap.procmailrc -
both trap crap, but I was under the assumption that they'd take care of
messages with no or blank subject lines; with the amount of spam that's
hit the streets, much of it has no subject line...

stephen kuhn - proprietor
__________________________________________________________________
illawarra computer services :: a kuhn media australia venture
http://kma.0catch.com  :: mobile 0410.728.389
Serving Sydney, The Illawarra, South Coast and Rural NSW
__________________________________________________________________
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
__________________________________________________________________
  Certified virus-free since we don't use Microsoft products

A gleekzorp without a tornpee is like a quop without a fertsneet (sort
of).


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail