procmail
[Top] [All Lists]

Re: Including text in auto-reply

1996-10-22 11:20:57
At 12:29 22.10.1996 -0400, Brock Rozen wrote:
How would I include the original message in the auto-reply recipe below?

formail -rk
generates a reply with the original body quoted, addressed to the actual
sender of the stdinned message (as specified in the MAIL FROM: command in SMTP).

formail -rkt
generates a reply with the original body quoted, addressed to the person who
is mentioned in the Reply-To: header, or if there is none, the From: header
of the stdinned message.

formail -rk | formail -f -I "Subject: blah blah" -I "X-Loop: 
gaia(_at_)sci(_dot_)fi"
and
formail -rkt | formail -f -I "Subject: blah blah" -I "X-Loop: 
gaia(_at_)sci(_dot_)fi"
change the reply subject to 'blah blah' and insert the X-Loop: header. Use
them analogously to change and insert other headers in the reply.

You could do yourself a favour by reading the formail manual page.


Antti-Juhani

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