This isn't really a majordomo question but I think it might be relevent
in so far as many of the people on this list are mail admins.
The shop I work in is in the process of retiring some old host names. We
are working towards shutting down an old mercury mail server and we would
like to, along with redirect any mail coming into that server, notify all
senders that the host name has changed.
So, basically, we would like to forward all incoming mail to the correct
new address(we have these aliases already), and would also like to
generate an email to send back to the orginator of the message.
This email, in the best of all worlds, would have some information on the
hostname change and would also look in our aliases and pull out the
correct email address(based on where it was sent to and the alias that
corresponds to it) so that the user can easily update their address book.
Anyone have ideas?
I figure we would just tack a pointer to a script onto the alias and have
that script do all the work; that way the mail gets forwarded and another
copy goes to the mail processing script. My only problem is I am unsure
of what scripting language I should use (procmail?) and if reading the
alias file will be possible. Anyone know of a pre-built script which will
do this?
Thanks...
____________________________
Mike Neuharth
ADCS Technology Specialist
http://www.umn.edu/adcs
E-Mail : mjn@umn.edu
Page Mail : 6126486512@page.metrocall.com
http://nifty.dsl.visi.com/
____________________________
|
|