procmail
[Top] [All Lists]

Re: Getting Input From File

2005-08-10 18:51:00
At 21:07 2005-08-10 -0400, Gerard wrote:
             :0 h c
              * !^FROM_DAEMON
              * !^X-Loop: your(_at_)own(_dot_)mail(_dot_)address
              | (formail -r -I"Precedence: junk" \
                  -A"X-Loop: your(_at_)own(_dot_)mail(_dot_)address" ; \
                 echo "Mail received.") | $SENDMAIL -t

In place of the "Mail Received," I would like to have Procmail insert
the contents of a text file that I have written. Is this possible?

change last line to:
                 cat /path/to/some_file) | $SENDMAIL -t

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
  Please DO NOT carbon me on list replies.  I'll get my copy from the list.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>