I’m new to Virtualmin and having trouble setting up email accounts for my domain on Ubuntu 20.04 with Virtualmin 6.16. I’ve followed the basic setup instructions but can’t seem to get emails to send or receive. Specifically, I’m unsure about the DNS settings and the correct configuration for SMTP and IMAP.
If you setup everything correctly the client like Thunderbird/Outlook should autoconfig.
port settings has nothing to do with DNS but the hostname, Virtualmin will add the dns records mail.domain.com and smtp.domain.com.
Else you need to add those record if using external DNS.