procmail
[Top] [All Lists]

Recipy on "subject contains"

2004-05-28 06:03:47
Hi all,

I'm trying to have procmail filter mail to a specific folder if the subject 
contains certain text, in this case [KT-USERS]

my recipy looks like this:
:0hb:
*^Subject:.[KT-USERS]
/home/hansdp/Maildir/.User-Lists.knowledgeTree/

The method works fine if I replace [KT-USERS] with ****SPAM**** to catch out 
mail tagged by spamassassin, but for some reason with [KT-USERS] it wouldn't 
work.  The log just tells me:

procmail: No match on "^Subject:.[KT-USERS]"

Does the brackets "[" or "]" interfere in some way?

Thank you
-- 
Kind regards
Hans du Plooy
Newington Consulting Services
hansdp at newingtoncs dot co dot za

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