How to create a mail domain in ISPmanager

Create a mail domain first. Without it a mailbox cannot be created; the panel offers this step itself.

The "Mail" section
The "Mail" section
  1. "Mail" → "Mail domains" → "Create a mail domain".
  2. "Name": the domain, for example example.com.
  3. Keep "Enable DKIM for domain" and "Enable DMARC for domain".
  4. Click "Create".
New mail domain
New mail domain
Mail domains
Mail domains
SettingWhat it does
Greylistingdelays the first email from an unknown sender; stops part of the spam
SpamAssassinspam check for incoming mail
Virus checkchecks attachments
Mail to a missing mailboxdelete or forward to an address

SSL certificate for email

A certificate lets mail apps and phones connect without insecure connection warnings. It is issued for mail.example.com, the name used as the IMAP and SMTP server.

mail.example.com must point to the hosting. If the hosting serves the domain DNS, the record already exists. Otherwise add an A record mail with the IP from the mail domain "IP address" field.

  1. "Mail" → "Mail domains" → three dots on the domain → "Edit".
  2. Tick "Secure connection (SSL)".
  3. "Alias for certificate": mail.example.com.
  4. "SSL certificate": "New Let’s Encrypt certificate".
  5. "Email": your address for certificate notices.
  6. Click "Save".
Choosing a certificate for the mail domain
Choosing a certificate for the mail domain
Let's Encrypt certificate for mail.example.com
Let's Encrypt certificate for mail.example.com

In a few minutes the certificate is issued and attached to the mail service. It renews automatically. If you already bought a certificate for this name, choose it in "SSL certificate".

Gmail rejects emails: 550-5.7.26

"Gmail requires all senders to authenticate with either SPF or DKIM" means the domain has no SPF or DKIM. Enable DKIM in the mail domain and add an SPF record: SPF, DKIM and DMARC. Send site emails from an address on this domain, such as info@example.com, not the default address.

Next: create a mailbox, SPF, DKIM, DMARC.

Questions and answers
Mail domain → "Edit" → "Secure connection (SSL)". Alias: mail.your-domain, certificate: "New Let’s Encrypt certificate", enter the Email and save.
Enable DKIM and add an SPF record for the domain. See "SPF, DKIM and DMARC for email".
A mail domain is needed first. The panel offers to create it.
Yes. Without them emails land in spam more often. Both are on by default.
Choose in the mail domain settings: delete it or forward it to a mailbox.