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 following format "<mailbox name>@<domain name>. E.g.: "mail@example.com".
Perform the following steps to add a mail domain in ispmanager:
- Go to Mail → Mail domains → Create mail domain.
- Enter the Name of the mail domain you want to add.
- Select the Owner of this mail domain.
- Select an IP address to send emails from or 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 the email and will delete it;
- Redirect to email address — if the mailbox does not exist, the user will be prompted for an alternative mail domain specified in the Redirect to field; NoteThe redirect won't be applied if you enter an email alias in the Redirect to field.
- Redirect to domain — the mail server will try to find the mailbox on the mail domain specified in the Redirect to field.
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 to /<postfix directory>/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 to /<spamassassin directory>/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.<mail domain name>."; the value is "v=DKIM1; k=rsa; s=email; p=<an open DKIM key>". Details
- Select the Enable DMARC for the domain checkbox. This 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 Domain names (DNS) → Default settings → DMARC record. Read more in Install and configure a DNS-server.
- Select the Secure connection (SSL) checkbox if you want to use a secure connection through the SSL protocol:
- Enter an Alias for certificate. The default value is "mail.<mail domain name>".
- 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.
- Click Ok.
Note
A domain name will be automatically created for the mail domain. Learn more under Create a domain name.