Mail Configuration Reference: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This page has a breakdown of the configuration options and files used when handling email for a domain. | This page has a breakdown of the configuration options and files used when handling email for a domain. | ||
= Accepting Email = | =Accepting Email= | ||
To accept email for a domain, the <code>/srv/'''''example.com'''''/mailboxes/</code> directory, <code>/srv/'''''example.com'''''/config/default_forward</code> or <code>/srv/'''''example.com'''''/config/aliases</code> must be present. | To accept email for a domain, the <code>/srv/'''''example.com'''''/mailboxes/</code> directory, <code>/srv/'''''example.com'''''/config/default_forward</code> or <code>/srv/'''''example.com'''''/config/aliases</code> must be present. | ||
== Port Configuration == | ==Port Configuration== | ||
Mail is configured to use the default ports, with [[STARTTLS]] enabled on legacy ports. | Mail is configured to use the default ports, with [[STARTTLS]] enabled on legacy ports. | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 75: | Line 75: | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} | ||
See also [[Configuration Reference|''Configuration Reference'']] for other configuration files.< | <section end=config /><blockquote>See also [[Configuration Reference|''Configuration Reference'']] for other configuration files.</blockquote> | ||
[[Category:Reference]] | [[Category:Reference]] | ||
[[Category:Mail]] | [[Category:Mail]] |
Revision as of 10:21, 15 July 2019
This page has a breakdown of the configuration options and files used when handling email for a domain.
Accepting Email
To accept email for a domain, the /srv/example.com/mailboxes/
directory, /srv/example.com/config/default_forward
or /srv/example.com/config/aliases
must be present.
Port Configuration
Mail is configured to use the default ports, with STARTTLS enabled on legacy ports.
Service | Port | Encryption | TLS Enabled by |
---|---|---|---|
SMTP | 25, 587 | TLS | Using STARTTLS |
SMTP | 465 | TLS | On connection |
POP3 | 110 | TLS | Using STARTTLS |
POP3 | 995 | TLS | On connection |
IMAP | 143 | TLS | Using STARTTLS |
IMAP | 993 | TLS | On connection |
Sieve | 4190 | TLS | On connection |
Configuration Reference
File or Directory | Used For |
---|---|
.../config/ip
|
Contains a list of IP addresses which mail will be sent from for the domain. Defaults to the primary IPs (IPv4 and IPv6) of your server. |
.../config/spf
|
Existence of this file will add SPF Records to the automatically generated DNS files. Any content will be used as the SPF record. |
.../config/dkim
|
Enables DKIM record generation and along with dkim.key , will enable signing of outgoing mails. The DKIM 'selector' defaults to the short hostname of your server, otherwise any content in this file will be used as the selector in outgoing mails and automatically generated DNS.
|
.../config/dkim.key
|
This key is used to sign outgoing DKIM mails. Required to be able to sign mails, along with the dkim file.
|
.../config/dmarc
|
This file will create a DMARC record in generated DNS files. If the file is not empty, the content will be used as the new DMARC record. |
See also Configuration Reference for other configuration files.