procmail
[Top] [All Lists]

Problems changing "From:" in header of autoreply

2003-05-12 16:47:59
Hello:

I've tried the following in my .procmailrc in order to automatically reply 
to those sending email to tomwolfe(_at_)sawback(_dot_)com (an address I don't 
want to 
use any more, but I do want to let people know that they should readdress 
their original email: the content of this message is in tomwolfe.txt)

#tomwolfe AUTOREPLY
:0 c
* !^FROM_DAEMON
* !^FROM_MAILER
* !^X-Loop: tomwolfe_reply
* ^To: tomwolfe@
| (formail -rt
     -A"Precedence: normal (autoreply)" \
     -A"X-Loop: tomwolfe_reply" \
     -I"From: Autoresponder <tomwolfe(_at_)sawback(_dot_)com>"
     cat ${REPLIES}/tomwolfe.txt) | $SENDMAIL -t

I get the following entry  in my log file:

procmail: Skipped "-A"Precedence: normal (autoreply)" \"
procmail: Skipped "-A"X-Loop: tomwolfe_reply" \ "
procmail: Skipped "-I"From: Autoresponder <tomwolfe(_at_)sawback(_dot_)com>""
procmail: Skipped "${REPLIES}/tomwolfe.txt) | $SENDMAIL -t"
From tom(_at_)sawback(_dot_)com  Sun May 11 18:45:25 2003

When I remove the line:
     -I"From: Autoresponder <tomwolfe(_at_)sawback(_dot_)com>"
Then there is no error and the reply works as expected, but I want these 
autoreplies to have ME as the sender, not the mail system.

Any help would be greatly appreciated.

Regards,
Tom Wolfe

-- 


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail