procmail/formail syntax question
stanb at panix.com
Sun Oct 23 12:09:53 PDT 2005
I'm trying to get procmail to rewrite the TO: header. I've tried something like:
# is moved to "viruses".
* ^X-Virus-Status: Yes
| formail -I "To: is_virus, $TO"
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
| formail -I "To: certainly_spam, $TO"
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
* ^X-Spam-Status: Yes
| formail -I "To: probably_spam, $TO"
But this does not seem to be working.
What am I doing wrong?
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong Terror
- New York Times 9/3/1967
More information about the freebsd-questions