procmail
[Top] [All Lists]

Re: Ooops ... mistake on previous post ...

2010-01-21 15:43:55
At 13:36 2010-01-21 -0800, Alex Rodriguez wrote:
:0:
{
        ORIGSUBJECT=`formail -c -xSubject:`
        * ^Subject:.$ORIGSUBJECT
        ${DEFAULT}
}

For $ORIGSUBJECT to be parsed properly, you should have $ before the subject regexp. What is the purpose of this - if it were syntactically correct, which as I point out in my other post, it isn't - the logic is "get the subject" followed by "if the subject of this message is equal to the subject of this message..." (excepting issues with leading whitespace). One might think you'd want to add '-z' as a parm to formail.

In the end though, this seems like a nonsensical recipe.

---
 Sean B. Straw / Professional Software Engineering

 Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
 Please DO NOT carbon me on list replies.  I'll get my copy from the list.

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