1828838 Members
2658 Online
109985 Solutions
New Discussion

Sendmail

 
SOLVED
Go to solution
manny_9
Frequent Advisor

Sendmail

Hello to everyone!!!

I need to move all email accounts to a new email server. What is the best way? It seems like I had come across a script for this before, but darned if I can find it.

Old email box---redhat 7.2/sendmail
new ----redhat 9.0 es /postfix.

Thanks
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: Sendmail

All you need to do is transfer the user information.

You can if there are no conflicts copy the users from /etc/passwd and reset their passwords on the new box.

You may need some of the configuration information from /etc/mail/ directory, depending on what features you want to use.

what i do is thus:

cp /etc/passwd /root/newpass

vi newpass

remove all but the users to be transferred.

ftp the file to the new box.

cp /etc/passwd /root # back it up

cat newpass >> /etc/passwd

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Martin P.J. Zinser
Honored Contributor

Re: Sendmail

And, depending on your users, you also might want to backup the actual content of their mailboxes to the new server ;-)