procmail
[Top] [All Lists]

Re: Checking if a header exists

2008-12-03 11:09:26
On 3-Dec-2008, at 08:56, Professional Software Engineering wrote:
At 08:39 2008-12-03 -0700, his gooey kreminess wrote:
:0fw
| formail -i"Status: RO"-i"X-Kreme: NO"

Make sure there's whitespace between the closing quotes of the first argument and the second. Otherwise, you're likely to end up with the second header just being part of the first (and with a -i in there to boot).

Oh, Doh! </facepalm>

--
<http://en.wikipedia.org/wiki/TOFU>

____________________________________________________________
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

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