procmail
[Top] [All Lists]

Re: Adding a subject line

2002-02-06 23:03:05
Sean advised Chuck,

| * Subject:[     ]*$

| Note that the above Subject condition says if the Subject header EXISTS,
| but is at most whitespace, nothing more.  If you want an ABSENCE of a
| subject header altogether, replace that with:
| 
| * ! ^Subject:

Or to catch messages with empty, null, or missing subject lines,

  * ! ^Subject:.*[^     ]

where the brackets enclose caret, space, tab.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>