procmail
[Top] [All Lists]

Re: No Recipient

2003-06-01 02:18:06
On Sun, Jun 01, 2003 at 01:07:54AM -0700, Professional Software
Engineering wrote:

:0:
* 9876543210^0 ^To:[    ]*$
* 9876543210^0 ! ^To:
temp

this utilizes scoring to say:

If the To header exists, but is nothing but whitespace (if that) and
then an EOL, *OR* if the To: header doesn't even exist, then drop it
in the temp mailbox (and note that the LOCKFILE flag is specified at
the end of the flags line).

Fine, or even just

        :0:  # in brackets are a caret, space, and tab
        * ! ^To:.*[^    ]
        temp

-- 
dman

_______________________________________________
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>