This tutorial will be showing you how to set up multiple mail domains (virtual hosting) on CentOS/RHEL server with PostfixAdmin, which is an open-source web-based interface to configure and manage a Postfix based email server for many domains and users.
Prerequisites
To follow this tutorial, it’s required that
- You have configured PostfixAdmin with one mail domain.
- You have followed part 4 to set up SPF and DKIM.
- You have installed Roundcube Webmail.
Once the above requirements are met, follow the instructions below.
What You Need to Do
If you want to host multiple mail domains, then you need to
- Add a new mail domain and user in PostfixAdmin web-based panel.
- Create MX, A and SPF record for the new mail domain.
- Set up DKIM signing for the new domain.
- Create DMARC Record for the new domain.
- Set up RoundCube Webmail, Postfix and Dovecot for multiple domains
Read full tutorial here: https://www.linuxbabe.com/redhat/host-multiple-mail-domains-in-postfixadmin-centos-rh