You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.9 KiB
ReStructuredText
72 lines
2.9 KiB
ReStructuredText
7 years ago
|
Mailu configuration settings
|
||
|
============================
|
||
|
|
||
|
Common configuration
|
||
|
--------------------
|
||
|
|
||
7 years ago
|
The ``SECRET_KEY`` **must** be changed for every setup and set to a 16 bytes
|
||
7 years ago
|
randomly generated value. It is intended to secure authentication cookies
|
||
|
among other critical uses.
|
||
|
|
||
7 years ago
|
The ``DOMAIN`` holds the main e-mail domain for the server. This email domain
|
||
7 years ago
|
is used for bounce emails, for generating the postmaster email and other
|
||
|
technical addresses.
|
||
|
|
||
7 years ago
|
The ``HOSTNAMES`` are all public hostnames for the mail server. Mailu supports
|
||
7 years ago
|
a mail server with multiple hostnames. The first declared hostname is the main
|
||
|
hostname and will be exposed over SMTP, IMAP, etc.
|
||
|
|
||
7 years ago
|
The ``POSTMASTER`` is the local part of the postmaster email address. It is
|
||
7 years ago
|
recommended to setup a generic value and later configure a mail alias for that
|
||
|
address.
|
||
|
|
||
7 years ago
|
The ``AUTH_RATELIMIT`` holds a security setting for fighting attackers that
|
||
7 years ago
|
try to guess user passwords. The value is the limit of requests that a single
|
||
|
IP address can perform against IMAP, POP and SMTP authentication endpoints.
|
||
|
|
||
|
Mail settings
|
||
|
-------------
|
||
|
|
||
7 years ago
|
The ``MESSAGE_SIZE_LIMIT`` is the maximum size of a single email. It should not
|
||
7 years ago
|
be too low to avoid dropping legitimate emails and should not be too high to
|
||
|
avoid filling the disks with large junk emails.
|
||
|
|
||
7 years ago
|
The ``RELAYNETS`` are network addresses for which mail is relayed for free with
|
||
7 years ago
|
no authentication required. This should be used with great care. It is
|
||
|
recommended to include your Docker internal network addresses if other Docker
|
||
|
containers use Mailu as their mail relay.
|
||
|
|
||
7 years ago
|
The ``RELAYHOST`` is an optional address of a mail server relaying all outgoing
|
||
7 years ago
|
mail.
|
||
|
|
||
7 years ago
|
The ``FETCHMAIL_DELAY`` is a delay (in seconds) for the fetchmail service to
|
||
7 years ago
|
go and fetch new email if available. Do not use too short delays if you do not
|
||
|
want to be blacklisted by external services, but not too long delays if you
|
||
|
want to receive your email in time.
|
||
|
|
||
7 years ago
|
The ``RECIPIENT_DELIMITED`` is a character used to delimit localpart from a
|
||
|
custom address part. For instance, if set to ``+``, users can use addresses
|
||
|
like ``localpart+custom@domain.tld`` to deliver mail to ``localpart@domain.tld``.
|
||
7 years ago
|
This is useful to provide external parties with different email addresses and
|
||
|
later classify incoming mail based on the custom part.
|
||
|
|
||
7 years ago
|
The ``DMAR_RUA`` and ``DMARC_RUF`` are DMARC protocol specific values. They hold
|
||
7 years ago
|
the localpart for DMARC rua and ruf email addresses.
|
||
|
|
||
|
Web settings
|
||
|
------------
|
||
|
|
||
7 years ago
|
The ``WEB_ADMIN`` contains the path to the main admin interface, while
|
||
|
``WEB_WEBMAIL`` contains the path to the Web email client.
|
||
7 years ago
|
|
||
7 years ago
|
Both ``SITENAME`` and ``WEBSITE`` are customization options for the panel menu
|
||
|
in the admin interface, while ``SITENAME`` is a customization option for
|
||
7 years ago
|
every Web interface.
|
||
|
|
||
|
Advanced settings
|
||
|
-----------------
|
||
|
|
||
7 years ago
|
The ``PASSWORD_SCHEME`` is the password encryption scheme. You should use the
|
||
7 years ago
|
default value, unless you are importing password from a separate system and
|
||
|
want to keep using the old password encryption scheme.
|