procmail
[Top] [All Lists]

Getting Input From File

2005-08-10 18:45:11
I am not sure if I asked this question before.

In the following recipe from `man procmailex' would it be possible for
Procmail to get its message to send from a file?

This is the basic recipe.

              :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?


-- 
Thanks!

Gerard E. Seibert
gerard(_at_)seibercom(_dot_)net

        "We must believe in free will. We have no choice."

        Anonymous


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