Email
Install Email from the App Store to host mailboxes for your domains: Postfix and Dovecot, Rspamd for spam, DKIM signing, and Roundcube webmail.
Set up the mail server
- Pick a Mail host name, such as
mail.example.com, and add an A record for it pointing to the server. - Ask your provider to set the server's reverse DNS (PTR) to that host name. Without it, mail lands in spam.
- On the Email page, set the host name and press Get certificate for it (Let's Encrypt, used by webmail, IMAP, POP3 and SMTP).
- Optionally Install webmail (Roundcube) on the mail host name.
Email for a domain
Open a site, then its Email tab, and press Turn on email. Then:
- Add the DNS records the panel shows (MX, SPF, DKIM, DMARC) at your DNS provider. Check now marks each one OK, Missing or Different.
- New mailbox: an address and a password (at least 10 characters), with an optional quota.
- Forwarding: send mail for an address to one or more other addresses, here or elsewhere. A catch-all forward takes every address that does not exist.
Connect mail apps (Outlook, Thunderbird, phone) with the full address as user name, IMAP on port 993 and SMTP on 587. The tab shows the exact settings.
Spam and limits
- Spam score: from the first number a message goes to Junk, from the second it is refused. Lower is stricter.
- Sending limit per mailbox per hour stops a hacked mailbox from sending spam in bulk.
Port 25 is blocked?
Many cloud providers (Hetzner, AWS, Google Cloud, DigitalOcean) block outgoing port 25. Mail between your own domains and from mail apps still works, but mail to Gmail or Outlook cannot leave. Ask the provider to open port 25, or use an SMTP relay.
SMTP relay
Install SMTP relay from the App Store, then enter your provider's SMTP server (such as smtp-relay.brevo.com, smtp.mailgun.org, email-smtp.<region>.amazonaws.com), Port (usually 587), User name and Password or API key. Test the login and turn on, then Send test. All outgoing mail (mailboxes and the sites' PHP mail()) then goes through the provider.