Skip to content

Configuration variables

Jeffrey Boehm edited this page Mar 14, 2023 · 5 revisions

All configuration variables can be found in the .env file in the root folder of docker-mailserver.

Variable Description
MAILNAME Should match your reverse DNS record. WARNING You won't be able to receive mails with this domain. Use something different e.g. mx.yourdomain.com!
POSTMASTER Mail address of the system's administrator
FILTER_MIME Discard mails with suspicious files attached (see Filters)
FILTER_VIRUS Discard mails with virus or malware files attached (see Filters)
ENABLE_IMAP Enable IMAP4 support
ENABLE_POP3 Enable POP3 support
ENABLE_FTS Enable Dovecot's Full Text Search
CONTROLLER_PASSWORD Password for accessing the rspamd web interface
RECIPIENT_DELIMITER Change the recipient delimiter (e.g. + or - (default) for local address extension
MYNETWORKS IPs that are allowed to relay mails through the server (default: 127.0.0.0/8), seperated by space