procmail
[Top] [All Lists]

autorespond recipe

2007-05-23 07:59:42
Hi,

I would like to reply to a sender's message by my own message such as "Thank
you for your mail, I will repond to it momentarily" AND I would like to send
all the contents (body and attachments) back to the sender. So far, I am
running the following autoreply script:

:0 h c
* !^FROM_DAEMON
* !^X-Loop: mail@<mydomain> <mail(_at_)pc4(_dot_)apl(_dot_)utoronto(_dot_)ca>
| (formail -r -A"Precedence: junk" \
-A"X-Loop: mail@<mydomain> <mail(_at_)pc4(_dot_)apl(_dot_)utoronto(_dot_)ca>" ; 
\
echo "Mail has been received and will be replied to shortly. Thank you for
your patience.") | $SENDMAIL -t


It is sending that message back to the sender, but I want to subject of that
message to be "autoreply" and the contents should be that message PLUS the
contents of the sender's message. How do I do that? Please help..

Thank you in advance
Regards,
Chirag
____________________________________________________________
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>