↓ Skip to main content

mail

2026

Mail Server: Extra Settings

Part 2.5
·11 mins
Requirements 2 Mail Server Setup must be done. Assumptions The example alias forwards abuse@xenonly.com to the info@xenonly.com account. Commands are run on the server with root rights (sudo).

Moving the Mail Server

Part 2.4
·5 mins
Requirements 2 Mail Server Setup must be done on the new server. You must have root access to the old server. Assumptions The old server was also set up with iRedMail (MariaDB + /var/vmail). There is no valuable data on the new server yet; the vmail database of the new installation can be overwritten. Commands are run with root rights (sudo). The server each command runs on is written before it.

Mail Server: Using a Mail Client

Part 2.3
·2 mins
Requirements 2 Mail Server Setup and 2.1 Setting Up SSL for the Mail Server must be done. Assumptions The mail server’s name is mail.xenonly.com and the example user is info@xenonly.com. The settings in this part are made in the mail client on a personal computer or phone, not on the server.

Adding a New Domain to the Mail Server

Part 2.2
·5 mins
Requirements 2 Mail Server Setup must be done. Assumptions The main mail server is mail.xenonly.com; the example domain we add is example.com. You can edit the DNS records of example.com. The mail records it needs are explained in this part. iRedAdmin is reached at https://xenonly.com/iredadmin before 3 NGINX Configuration, and at https://iredadmin.xenonly.com after it (only over the VPN after 7.2 Putting Services Behind the VPN). Commands are run on the server with root rights (sudo).

Setting Up SSL for the Mail Server

Part 2.1
·3 mins
Requirements 2 Mail Server Setup must be done. Assumptions The A and AAAA records of mail.xenonly.com point to the server. Port 80 (HTTP) of the server is reachable from the internet (Firewalld is still off). Commands are run on the server with root rights (sudo).

Mail Server Setup

Part 2
·9 mins
Requirements 1 Post-Install Configuration must be done. iRedMail must be installed on a freshly installed server; this part installs the first service on the server. Assumptions The name of the mail server (hostname) is set to mail.xenonly.com and the first mail domain is xenonly.com. A and AAAA records exist for xenonly.com and mail.xenonly.com. The other records mail needs (MX, SPF, DKIM, DMARC, PTR) are added in this part. Commands are run on the server with root rights (sudo). The DNS checks with dig are done from a personal computer.