procmail
[Top] [All Lists]

How to change the "From:" for Autoresponder

2000-09-21 03:24:16
Hi,

I´m very new to procmail and have bin trying for
hours to solve a problem.

I would like to set up an auto-reply which handles
different Mailadresses:

for Example : jozsef(_at_)juni(_dot_)de - gabriele(_at_)juni(_dot_)de - 
info(_at_)juni(_dot_)de

My script looks like this :
:0 hc
* ^TO(_at_)juni(_dot_)de
* !^FROM_DAEMON
* !^X-Loop: @juni.de
  | (formail -xrzTo: -I"Precedence: junk" \
     -I"From: @juni.de"; \        <<< here is my problem
     -A"X-Loop: @juni.de"; \
     cat $HOME/response.txt \
     ) | $SENDMAIL -oi -t
:0 A:
$DEFAULT

How can I tell procmail to add the recipient-adress into then
"From" line of the outgoing message?

Thanks for any Help

JJ




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

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