2026-11-29
Direct SMTP
- Open Mail. Choose in Hosting account the account that owns the domain.
- In Direct SMTP type the domain and press Set up direct mail. The panel creates a DKIM key and lists the rows: MX, SPF, DKIM and DMARC.
- Check the rows in the zone the panel holds for the domain (DNS Zone Editor), or in Cloudflare when the panel has its token.
- Create a mailbox with a password that you choose. The panel does not choose one for you.
Good to know
The MX row points to the host set in AIHOSTINGPANEL_PANEL_HOST. When that variable is not set, the MX row points to the vendor's default host and not to your server. Set the variable to your mail host before you publish the MX row.
Port 25 must be open at your provider's network firewall as well as on the server, so check the inbound rule there. Port 587 answers with the Postfix banner.
Resend
- Open Mail, choose the hosting account, paste the Resend API key into the Resend key field and press Save key. The key is a secret: the owner pastes it, and the panel stores it sealed.
- Add the domain in the Resend dashboard. Resend shows the DKIM TXT record and the send records to add at your DNS provider.
- The panel needs the Resend key before it can create the domain for mail.
