procmail
[Top] [All Lists]

Sending Multiple lines of text in a recipe

2000-02-24 08:05:01
This may seem like pretty basic question but I couldn't find what I needed
in the documentation.

My autoresponder recipe script looks like this:

:0 f
* ^TOinfo(_at_)2gen(_dot_)net
{
        :0 h c
        * !^FROM_DAEMON
        * !^X-Loop: info(_at_)2gen(_dot_)net
        | (formail -r -A"Precedence: junk" \
        -A"X-Loop: info(_at_)2gen(_dot_)net From: 2Gen.Inc. 
<info(_at_)2gen(_dot_)net> Reply-To:
Ed Kopas <ed(_at_)2gen(_dot_)net>" ; \
        cat /usr/home/mike/autores/info.txt) | /usr/sbin/sendmail -t
}

How do I specify a line break in the line of text that I'm sending.
I want to send 3 lines - the
X-Loop, the From: line and the Reply-To line.  

I try including these into my autoresponder text but that doesn't work
because it ends up as part of the message body rather than the message
headers.  How do I specify line breaks, or rather, how do I send multiple
lines to sendmail?

Is this possible?

-mike


----------------------------------------------------------------------------
Michael DeMutis       
System's Administrator
2GEN.Inc.
email: mike(_at_)2gen(_dot_)net   website: http://www.2gen.net/
Phone: 905-308-9155   Fax: 905-308-9519   ICQ UIN: 1257176
"Merging Media & Idea To Bring Internet Exposure to Innovative Businesses"

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