Create a mail domain
A mail domain is a set of mailboxes associated with a single domain name. Every mailbox has its email address in the format "
Perform the following steps to add a mail domain in ISPmanager:
- Go to Domains→ Mail domains → Add.
- Enter the Name of the mail domain that you want to add.
- Select the Owner of this mail domain.
- Select an IP address to send emails. Select "receive automatically" to assign a free IP address to the newly created mail domain. Details
- Select the Default action that is needed when an e-mail is received stating that a mailbox does not exist:
- Reply error — the sender will be notified that the mailbox does not exist (recommended);
- Ignore and drop — if the mailbox does not exist, the user will not receive delivery failure reports. The mail server will not accept mail and will delete it;
- Redirect to domain — if the mailbox does not exist, the user will be prompted for an alternative mail domain specified in the field Redirect to; Note.The redirect won't be applied if you enter an email alias in the field Redirect to.
- Redirect to domain — the mail server will try to find the mailbox on the mail domain specified in the field Redirect to.
Details - Enable additional options. They are available only if the corresponding module is installed. Please refer to the article Install a mail server for more details.
- Enable Greylisting — Greylisting is a method of defending e-mail users against spam that temporarily rejects any email from a sender it does not recognize. Select this check box to enable Greylisting for the domain's mailboxes. Otherwise the mail domain is added into /
/postgrey_whitelist_clients ; - Enable SpamAssassin — mail filter for spam protection. Select this check box to enable SpamAssassin for the domain's mailboxes. Otherwise the mail domain is added into /
/local.cf ; - Enable virus scanning — ClamAV is an open source antivirus engine for checking files attached to email messages;
- Enable DKIM for domain — an email validation system designed to detect email spoofing by providing a mechanism to allow receiving mail exchangers to check that incoming mail from a domain is authorized by that domain's administrators. Enter the DKIM-selector; set the DKIM key length. The TXT-record will be created for the mail domain of this domain after you have enabled the option. Please refer to the article Resource records. The record name is "dkim._domainkey.
."; the value is "v=DKIM1; k=rsa; s=email; p= ". Details
- Enable Greylisting — Greylisting is a method of defending e-mail users against spam that temporarily rejects any email from a sender it does not recognize. Select this check box to enable Greylisting for the domain's mailboxes. Otherwise the mail domain is added into /
- Select the check box Enable DMARC for the domain. This is a mechanism helps protect incoming email from spam, spoofing, and phishing. Enable the option to create a TXT-record for the domain name of the mail domain. Read more in Resource records. The value of this record is generated based on the template. You can edit the template in Domains → Domain names → Settings → DMARC record. Read more in Set up a DNS-server.
- Select the checkbox Secure connection (SSL) if you want to use a secure connection through the SSL protocol. :
- Enter an Alias for certificate. The default value is "mail.
". - Select an SSL-certificate that will be used for this mail domain. "New self-signed" is a free untrusted certificate. If you use it for a public website the connection will be considered insecure. "New Let's Encrypt certificate" is a free trusted certificate that you can use if you have set up the integration with Let's Encrypt. Learn more under Integration with Let’s Encrypt. For more information about certificates please refer to SSL certificates.
- Enter an Email address of the contact person.
- Enter an Alias for certificate. The default value is "mail.
- Click on Ok.
Note.
A domain name will be automatically created for the mail domain. Learn more under Create a domain name.