procmail
[Top] [All Lists]

Re: [Procmail] Re: Autoresponse based on email address

2003-01-04 11:40:32
   :0 h c
   * ^TO_webmaster(_at_)pcraft(_dot_)com
   * !^FROM_DAEMON
   * !^X-Loop: webmaster(_at_)pcraft(_dot_)com
   | (formail -r -I"Precedence: junk" \
       -A"X-Loop: webmaster(_at_)pcraft(_dot_)com" ; \
          cat /path/to/message) | $SENDMAIL -t

I also drop a pipe to fmt in there to make it *pretty*.  If you have a
static message file, you can manage it there, but I have a dynamicly
created one in my formail calls.

          cat /path/to/message | fmt) | $SENDMAIL -t


-- 
--))> >--))>
Mark T. Valites
Unix Systems Analyst
1 College Circle - 124b1 South Hall
SUNY Geneseo
Geneseo, NY 14454
585-245-5577
585-259-3471 (Cell)
585-245-5579 (Fax)


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