5 messages in net.sourceforge.lists.courier-maildrop[maildropl] Re: Detecting no subject ...
FromSent OnAttachments
matt...@mediadriver.comMar 8, 2004 1:11 pm 
Brook HumphreyMar 8, 2004 1:59 pm 
Sam VarshavchikMar 8, 2004 3:54 pm 
Jeremy KitchenMar 8, 2004 4:07 pm 
Devin RubiaMar 9, 2004 8:31 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Re: Detecting no subject fieldActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 8, 2004 3:54:51 pm
List:net.sourceforge.lists.courier-maildrop

matt@mediadriver.com writes:

In the never ending struggle to combat bad client implementations, I am trying to write a script to detect a lack of a Subject: field in the header.

I've tried, without success:

SUB=`reformail -x 'Subject:'`

if($SUB == 0) { xfilter "reformail -a'Subject: (no subject)'" }

Any suggestions?

if (! /^Subject:/)