procmail
[Top] [All Lists]

Scratching my head

2000-01-12 06:43:55
Hello everyone,

Well, I got the tracking system working just fine, thanks to Rik.

I have another novice question. First though, can someone point me to a manual or tutorial for procmail? So far, I have just been winging it. I have nothing on the language reference other than a few recipes that I have viewed. One learns well from the trial and error method... but it can also become time consuming if one does not have a knowledge of the general syntax of the language. nuff said.

Anyway, this little recipe does what I want with one exception. It will not work with an email without the subject line. And of course it will not because of the condition.

:0hc
  * $ ^Subject:${GETTEXT}
 | (formail -r -t -A"Precedence: junk" \
   -I"From: TCGdata Support <support(_at_)tcgdata(_dot_)com>" \
   -I"Subject: TCG.:$serial - [${MATCH}]" ;\
cat $HOME/support.txt ) | $SENDMAIL -t
<Prev in Thread] Current Thread [Next in Thread>