Ruud,
Thanks for your reply
That is not what I want to do, sorry for not explaining well
I want to notify the sender of the message that this address to which they
have send the email to is now change from old(_at_)a(_dot_)com to
new(_at_)b(_dot_)com
and at the same time forward the message of the user from old(_at_)a(_dot_)com
to
new(_at_)b(_dot_)com
This I need to do for every user in the company.
So I was looking for some thing globally, to extract the From header
notify the sender with the above message and then Extract the To header
replace the domain name after the @ from a.com to b.com and forward this
message to new address at new(_at_)b(_dot_)com
Hope this explains what I am looking for .
Thank you for your help
----- Original Message -----
From: "Ruud H.G. van Tol" <rvtol(_at_)isolution(_dot_)nl>
To: <procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Tuesday, November 19, 2002 1:42 AM
Subject: Re: Procmail receipe help to send auto reply and forward for all
users in the domain
Rakesh-Shah-Exch skribis:
The Original problem: Given a hundred users who email addresses have
moved from one company to another. ie user(_at_)A(_dot_)com to
user(_at_)B(_dot_)com(_dot_)
I needed to forward all messages to the new account and do an auto-reply
to the orignator, with an explaination and the new users email address.
You can not do this properly with procmail, because not all info
is in the mail. A message could be sent to many people(_at_)a(_dot_)com
through Bcc:, in that case there is no info in the From: or the Cc:
to work from.
If there is a Delivered-To: (or something similar), you could work
from that. But you better solve this a few stages earlier (MTA).
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail