FastPanel: mail on your domain

In the examples 203.0.113.10 is your server address and my-site.com is your domain. The server address, panel login and password are in the VPS activation e-mail.

Create a mailbox

  1. "Management" → "Mail" → "New mailbox".
  2. Login: the part before @ (for info@my-site.com — info). Password.
  3. Quota in MB (0 — unlimited).
  4. Aliases and forwarding — optional. After entering an address click "Add". Then "Save".
Mailboxes of the domain
Mailboxes of the domain
Mail: domains
Mail: domains

Webmail

The "Open Roundcube" button in the "Mail" section. Login — the full mailbox address.

Mail client

Settings
Incoming (IMAP)server 203.0.113.10 or mail.my-site.com, port 993, SSL
Outgoing (SMTP)same server, port 465 (SSL) or 587 (STARTTLS)
Loginfull mailbox address

Keep mail out of spam

Three DNS records are needed. The panel creates DKIM; check and add SPF and DMARC:

TypeNameValue
TXT@v=spf1 a mx ip4:203.0.113.10 ~all
TXTdkim._domainkeykey from "Management" → "DNS domains" → domain
TXT_dmarcv=DMARC1; p=none; rua=mailto:admin@my-site.com
MX@mail.my-site.com (priority 10)

If your DNS is with us (step 2), add records via "Manage domains on VPS" → "Log in to panel". Ask support for the reverse record (PTR) of the IP.

Anti-spam

The SpamAssassin filter on the server is enabled by support. Then enable "Reject spam" in the mailbox settings.

Mail on Google Workspace or Microsoft 365

"Management" → "DNS domains" → domain → "More" → "Delegate mail". Mail on the server is turned off for the domain and MX records change.