IMAP/POP3 and SMTP Authentication

Virtualmin automates the configuration of Dovecot for IMAP/POP3 services and configures Cyrus saslauthd for SMTP authentication, facilitating compatibility with various email clients. POP3/IMAP username details Usernames for accessing email services can be located within Virtualmin’s virtual server environment. On the Edit Users page, click the Show Email Client Settings button to reveal detailed login credentials including the username. Username conventions Virtualmin has updated its approach, moving away from the practice of utilizing system login names with a period separator. Now, by default, it adopts just the first part of the domain name for virtual server owner logins. The settings for username format are customizable and can be adjusted by navigating to System Settings ⇾ Virtualmin Configuration, selecting the Defaults for new domains section, and setting the desired format in the Domain name style in username field.

Virtualmin automates the configuration of Dovecot for IMAP/POP3 services and configures Cyrus saslauthd for SMTP authentication, facilitating compatibility with various email clients.

POP3/IMAP username details#

Usernames for accessing email services can be located within Virtualmin’s virtual server environment. On the Edit Users page, click the Show Email Client Settings button to reveal detailed login credentials including the username.

Username conventions#

Virtualmin has updated its approach, moving away from the practice of utilizing system login names with a period separator. Now, by default, it adopts just the first part of the domain name for virtual server owner logins. The settings for username format are customizable and can be adjusted by navigating to System Settings ⇾ Virtualmin Configuration, selecting the Defaults for new domains section, and setting the desired format in the Domain name style in username field.

Support for full email-style usernames, i.e. [email protected] is a standard feature in Virtualmin. Unlike before, Postfix now handles @ in email addresses without the need for creating auxiliary usernames. Although, the settings for username format are customizable and can be adjusted by navigating to System Settings ⇾ Server Templates, selecting the Mail for domain section, and setting the desired format in the Format for usernames that include domain field.

Automatic configuration of saslauthd#

Previously, enabling SMTP authentication for email-style usernames required manual configuration:

  • On EL systems, this was done by adding the -r flag to FLAGS= in /etc/sysconfig/saslauthd.
  • On Debian and derivatives, you would add the -r flag to PARAMS= in /etc/default/saslauthd.

These configurations ensured that saslauthd could interpret [email protected] formatted usernames.

Current automated setup#

Now, the virtualmin-config-system automates this setup process, without manual intervention. This is part of Virtualmin’s commitment to ease of use and efficiency.

Confirming your configuration#

After setting up your email clients, verify access using the provided credentials. SMTP authentication should work seamlessly with your [email protected] usernames in all modern setups.


Source: https://www.virtualmin.com/docs/server-components/pop-and-imap/

  • virtualmin, domain, email, mail, imap, smtp, pop3, dovecot, postfix, ssl, user, log, update, debian, cli, fix, authentication
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...