To install the mail service on your aaPanel, follow the steps below.
Mail service installation
From the left side menu of aaPanel, select the “App Store” option, and the installable aaPanel Add-ons page will appear.
Select “Mail Server” plugin from the list and select the “Install” operation on this plugin. This action will initiate the download of the necessary services.
After this operation is completed, the "Settings" option will be available in the list on the "App Store" page for the "Mail Server" plugin. Selecting this option opens the form with the field "Domain name".
Please enter the FQDN with an A record in the DNS domain zone, which points to the IP address of your server. The default FQDN will be the name of the mail server with which the aaPanel will be installed and configured.
We recommend that you use the following form: mail.yourdomain.tld
Adding domains to email service
After the installation of the mail service is completed, you will be presented with a “Mail Server”. Select “Add domain”.
A form will appear before you to enter the domain name for which you want to activate the mail service. The value of the "Domain" field should be in the form yourdomain.tld
When you confirm the domain will appear in the domain list on the “Mail Server” page. The domain list will indicate if there are any necessary records that are missing from the DNS zone, that might make it not possible for the mail service to function.
Selecting “Add record” on the domain will display a list of the exact values of the records you are supposed add to the DNS zone.
Adding an email address
Once the DNS records are verified, a "User manager" option will be available to add the domain. Selecting this option opens a page where you can add (and later modify or remove) email accounts within the selected domain.
On the “User manager” page, in the form obtained by selecting the option “Add user”, it is necessary to enter the data for the email account that you want to create.
The value for the "User type" field should be "General user", and the other fields: "Name", "Email Address", "Email password" and "MailBox space" (minimum 1 GB) should be completed according to needs and requirements .
By validating the information entered in this form, it creates with the desired email account on the domain and thus the mail service becomes active for the added domain.
The POP, IMAP and SMTP parameters that you may need when configuring email clients are given at the bottom of the User manager page for the selected domain.
Authentication on email clients is done through the username (full email address) and the password for the email account.