These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Switching QMail+Vpopmail to Postfix Pl share experience if two MTA can coexist on the new forum.
I have qmail+Vpopmail running on 3 domains installed on linux. I need to transfer the domains / to POSTFIX MTA [mail system] Can you advise wht steps should I take. I have just installed postfix What steps should I take to STOP qmail MTA and use postfix? Can the two MTAs remain on one system?? Pl share
I don't have any familiarity with vpopmail, so I don't really know how to guide you on that. I think a backup and then restore onto a new system running Postfix (which is the default configuration in Virtualmin) would convert it for you. That gives you the benefit of being able to keep the old server online while you test your backup/restore process and test the resulting configuration and mailboxes to make sure they're the way you like them before you flip the switch on the migration.
Making it in-place seems like more trouble than it's worth, but if I absolutely had to do it, here's some things to think about when making any mail server change:
Maildir
directory. If your current mail config isn't storing mail in that format or that location, it'll have to be converted and moved. I think vpopmail has a central mail spool, but I think it does use Maildir, so just copying into place would probably work.virtual
map file(in/etc/postfix/virtual
. You'll need to set that up. I dunno if there's an automated tool for converting from whatever vpopmail does for this purpose...it's probably easily scriptable, though. The virtual map file in Postfix is a super simplekey<tab> value
list.The more I think about it, the more I think you really ought to migrate to another system, instead of trying to switch in place. Unless you can afford some downtown (on the order of hours or days), it's not worth even attempting it, I don't think. Mail is among the most complicated parts of a Virtualmin system (Postfix, saslauthd, dovecot, procmail, clamav, spamassassin, Usermin, Webmin, Virtualmin, all have configuration options related to mail and all have some sort of metadata and dependencies that have to be working together for things to look cohesive). It's gonna be a mess if you're not really comfortable with configuring and troubleshooting both mail configurations.
--
Check out the forum guidelines!
Thank you very much Joe, that is very helpful. I will go with caution. I will try test on a server with a few accounts for now. I am working with latest Webmin ver but my problem as I had explained in another thread is that using qmail+vpopmail the user mail boxes are shown fine BUT they dont open and the error given is: Mail open user x does not exist. This is a real bug that is coming from Webmin 1.730 where from it stopped working. I had requested but I never got any reply. I know there has to be a fix cos on other server I am forced to use webmin 1.720 as i can read mails via webmin. I wish i can work with mailboxes in latest version too. I am happy with qmail as it has more robust setup but I will still test postfix as it appears to be more supported.