I need to transfer email accounts from an existing linux mail server to a new Centos (Redhat - Enterprise) email server. The original server is using sendmail and the new server has postfix. Both have the same file structure. /var/spool/mail
What is the exact command to tar all the mail accounts and to then untar them on the new server?
I have created user accounts for all the users.
There are currently mailing lists on the original server (sendmail). Is there an easy way to copy the mailing list to the new server (postfix)?