<<< Date Index >>>     <<< Thread Index >>>

Re: automatically flagging messages based on content



* Nicolas Rachinsky <list@xxxxxxxxxxxx> [2004-06-04 22:41 +0200]:
> * steVe <steve@xxxxxxx> [2004-06-04 15:19 -0500]:
> > folder-hook blah push "/~s (plumbing\|linux) ~b 'steve\|poop'\nF"
> > 
> > will work fine, however, if no message matches the above condition of
> > having a subject line containing 'plumbing' or 'linux' and 'steve' or
> > 'poop' in the body, the first new message or last message in the mailbox
> > blah will always be flagged.  any ideas?
> 
> Use '<tag-prefix-cond>F' instead of 'F'.

Oops, I misread your mail, I somehow thought you're using
<tag-pattern> (and assumed that you have $auto_tag set).

Better follow David's advice, perhaps you should replace <tag-prefix>
with <tag-prefix-cond>, otherwise you would get strange effects if
no messages are tagged.

Sorry,
Nicolas