In the MAIL section, the user needs to click the “Add Mail Domain” button.

In the “Domain” field, enter the domain name. It is recommended to check the “DKIM Support” and “Anti-spam” options, but they can be skipped if necessary. After making changes, the user saves by clicking the appropriate button.

In the MAIL section, click on “Add Mail Account” next to the added domain.

In the “Account” field, enter the mailbox address, and in the “Password” field, enter the corresponding user data. A new password can be generated. By the way, this combination will not be visible later, so it is worth remembering it or storing it securely. If necessary, a new password can be created by accessing the mailbox settings.
To enter a new alias or enable mail forwarding, simply click on “Additional Options”. When ready, save by clicking the appropriate button.

Management of email boxes occurs in MAIL after clicking on the name of the mail domain.

For the mail to work correctly, the user's domain must be connected to the server by creating DNS records MX/A/TXT/SPF/DKIM in the control panel. If an error is made, emails will be sent to the “Spam” folder instead of “Inbox” or will arrive with errors. Therefore, the user must pay attention to the correctness of the settings.

Important! Since 2022, the domain must necessarily contain DNS records of type PTR, DKIM, SPF. Otherwise, mail servers like Microsoft, Gmail, Yahoo, and others will mark incoming emails as spam and partially or completely block delivery. When there are difficulties with sending mail, analyzing the log at /var/log/exim4/mainlog will help. It is necessary to pay attention to the response of the servers when sending an email from the user's server.
Here is an example of a response from Gmail if there is no SPF DNS record on the domain: “This message does not pass authentication checks (SPF and DKIM both do not pass). SPF check for * does not pass with ip *. To best protect our users from spam, the message has been blocked. Please visit https://support.google.com/mail/answer/81126#authentication.”
The error message indicates that the delivery of the email was blocked by the Gmail mail server due to non-compliance with Google's conditions.
Sending will not occur until the error is corrected. DNS records must be created in the control panel where the domain is parked.
To see the list of DNS records responsible for the operation of the domain's mail, simply click the appropriate button in the MAIL section.

It is necessary to copy the list and create https://controlpanel.host/dns/ in the domain control panel. After creating the necessary DNS records, the user should wait about an hour for the records to synchronize on the internet. After that, checking the operation of the domain mail is allowed.

The procedure for checking domain mail is as follows:
- Go to the MAIL section.
- Click “Open Web Mail” next to the mail domain.

- A login form will appear in front of the user if the DNS records were added correctly and there was enough time for synchronization. To log into the mail, it is sufficient to enter the mailbox name and the previously created password, then click the appropriate button.

Here is an example of an email that was sent and received using the server's domain mail.
