procmail
[Top] [All Lists]

Re: procmailrc help

2000-12-20 17:29:01
Jake Johnson asked,

| I am so frustrated....I just want to have all To, Cc, From to get
| forwared
| to its folder.
| 
| ie.   :0:
|       * ^To_procmail
|       /home/jake/mail/procmail

Although usually procmail regexps are case-insensitive when there is no `D'
flag on the recipe, the names of tokens must be in all capitals in order to
be expanded.  The token is ^TO_, and ^To_ won't be expanded the way ^TO_ is;
rather, ^To_ will be taken as just the literal characters t, o, and under-
score at the beginning of a line.

So, Jake, capitalize the O.  It still won't match From:, but it will get To:
and Cc:.  That's not the best way IMO to recognize mail through a mailing
list, but that's another story.

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