--On Tuesday, March 09, 2004 9:16 PM +0000 Mark London <[EMAIL PROTECTED]>
wrote:

> Is there a way to test to see if a header is all caps, i.e. a way to tell if
> a header line is FROM: rather than From:?  Thanks.

I use this procmail rule:


# case-sensitive header search, SWEN uses FROM, TO, SUBJECT
# note that the ^TO macro has to be escaped to match the literal word TO.

:0 D
* ^FROM:
* \^TO:
* ^SUBJECT:
|/usr/local/bin/dmail +mail/IT/SWEN




Reply via email to