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.

- "Mail" → "Mail domains" → "Create a mail domain".
- "Name": the domain, for example
example.com. - Keep "Enable DKIM for domain" and "Enable DMARC for domain".
- Click "Create".


| Setting | What it does |
|---|---|
| Greylisting | delays the first email from an unknown sender; stops part of the spam |
| SpamAssassin | spam check for incoming mail |
| Virus check | checks attachments |
| Mail to a missing mailbox | delete 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.
- "Mail" → "Mail domains" → three dots on the domain → "Edit".
- Tick "Secure connection (SSL)".
- "Alias for certificate":
mail.example.com. - "SSL certificate": "New Let’s Encrypt certificate".
- "Email": your address for certificate notices.
- Click "Save".


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.