1 From Cpanel to virtualmin
Hi I’m trying to migrate a cpanel installation handling 3 domains,
including mails, to a Virtualmin installation. I’m no professional
(yet :)), so for now I’m free to fail :).
I did not renew the cpanel licence of my first OVH VPS server (I’ll
call VPS1 ), because it was too much for my needs. In fact, I “only”
need an easy email server configuration to handle personal mails with
specific domain without passing by Google. Once upon a time, I had
managed to set this up by hand, without a graphical interface,
fiddling with postfix, dovecote, mu, offlineimap, MailBox… and some
other MUA, MDA, MTA… strange A Acronyms config files that I still
don’t understand. Has it took me literally months, you will
understand that I’m not really willing to do it again. Especially
since I can admire what webmin is able to achieve automatically.
Thank you webmin
But, let me Focus !
I’ve just made necessary backups. Installed a fresh Debian 10 OS on
my second VPS (I’ll call it VPS2) also hosted at OVH. It has about 7G
I’ve checked the OVH DNS zone for each of my domains and made sure to
replace VPS1 IP’s by VPS2 IP’s. Mails where working on the previous
VPS1 cpanel installation so MX records should be correct and I left
them sets to
IN MX 1 smtp.mydomain.foo. with the A records
smtp IN A MY.VPS.2.IP
Virtualmin installation’s script (with default) when all green.
Although it’s my third installation at least because I don’t really
know what to do once it installed.
1.1 What I did
and I think I should do, but please correct my if I’m wrong or missing
1.1.1 DONE Create a new Virtual Server using
◊ 22.214.171.124 Enable the Setup SSL website feature
◊ 126.96.36.199 leave IP address and forwarding to defaults.
1.1.2 DONE Add a user to this server
it already has the admin user but I add the one I want to test the
◊ 188.8.131.52 This is where I choose the email address with a specific domain name
For example email@example.com
◊ 184.108.40.206 I can increase the quota and leave the rest to defaults
1.1.3 DONE Login to usermin with that new user
1.1.4 DONE Tests sending and receiving mails
◊ 220.127.116.11 Sending to firstname.lastname@example.org form email@example.com
No error message but NO MESSAGE back in my mailbox
◊ 18.104.22.168 Sending to firstname.lastname@example.org form email@example.com
No error message and the MESSAGE MAKES IT to gmail
◊ 22.214.171.124 Replying from firstname.lastname@example.org to email@example.com
1.1.5 Look for logs and ask for help
I guess it has something to do with my OVH DNS zone MX field not
pointing to the correct Virtualmin server, or the MDA not knowing
where to drop its mail.
◊ 126.96.36.199 TODO logs are not easy to find
Looking for the logs I thought about creating a master DNS zone but
wait for your reply first
◊ 188.8.131.52.1 in Webmin, Postfix Mail Server, debugging features ??