procmail
[Top] [All Lists]

Changing the Address

2001-07-02 12:05:50


I have the recipe at the bottom (courtesy of Odhiambo Washington) which sends
notification that the domain name that a person has sent to is now invalid. This
sends the message back to the sender, but I need it to also forward it to the
intended person at their new domain address. (Mail comes in to
person(_at_)old(_dot_)domain(_dot_)com, the sender gets this message, but also 
it forwarded to
person(_at_)new(_dot_)domain(_dot_)com). I can only make it to forward the mail 
on to one account
(at the bottom). I can't get this to translate the address for me. Any help
would be appreciated.

Thank you,
Scott

:0 h c
| (formail -rt \
-I "Subject: E-mail address change!." \
-A "X-Loop: mailman(_at_)fsd(_dot_)com" \
-I "From: mailman(_at_)fsd(_dot_)com" ; \
echo "*************************************************" ; \
echo "*  Some message here                         *" ; \
echo "*************************************************" ; \

| $SENDMAIL -oi -t
:0 c
| /usr/local/bin/formail -rtzxTo: >> /var/log/auto_reply.log
:0
! tmp(_at_)fsd(_dot_)com


_______________________________________________
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>