Issues with Configuring Email Accounts in Virtualmin

Hey everyone,

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.

Here are the settings I’ve used:

SMTP Port: 587 (also tried 25 and 465)
IMAP Port: 143 (also tried 993)

Has anyone experienced this and can offer some guidance? I couldn’t find the specific help documents on this.

Does anyone know where I can find detailed setup guides for email configurations in Virtualmin?

Idioms
Thanks for your assistance.
Elena, UK

Webmin/Virtualmin has a logging section where you can check the logfile. Where you can get a hint as what the problem might be.

You login to mail with user@yourdomain.tld and the password.

I use 587 and 993 as the ports. You can use yourdomain.tld as the mailserver, or mail.yourdomain.tld if you have a DNS A record for mail.

You should also enable letsencrypt SSL certficate and then select postfix to use it.

On a new system it should work out of the box mostly.

1 Like

You can find client settings here


you should see

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.

1 Like

Yes, email client settings are a feature added to newer versions of Virtualmin. Not sure if this was there in 6.16, which OP is using.

I didn’t notice that, time for a update :slight_smile:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.