tvial/docker-mailserver
https://github.com/tomav/docker-mailserver
https://hub.docker.com/r/tvial/docker-mailserver/dockerfile
env-mailserver:
OVERRIDE_HOSTNAME=mail.domain.name
DMS_DEBUG=0ONE_DIR=0POSTMASTER_ADDRESS=admin@domain.namePERMIT_DOCKER=TLS_LEVEL=intermediateSPOOF_PROTECTION=
ENABLE_SRS=0ENABLE_POP3=ENABLE_CLAMAV=0ENABLE_FAIL2BAN=1ENABLE_MANAGESIEVE=POSTSCREEN_ACTION=enforceSMTP_ONLY=SSL_TYPE=VIRUSMAILS_DELETE_DELAY=ENABLE_POSTFIX_VIRTUAL_TRANSPORT=POSTFIX_DAGENT=POSTFIX_MAILBOX_SIZE_LIMIT=POSTFIX_MESSAGE_SIZE_LIMIT=PFLOGSUMM_TRIGGER=PFLOGSUMM_RECIPIENT=PFLOGSUMM_SENDER=LOGWATCH_INTERVAL=LOGWATCH_RECIPIENT=REPORT_RECIPIENT=0REPORT_SENDER=REPORT_INTERVAL=dailyPOSTFIX_INET_PROTOCOLS=ipv4ENABLE_SPAMASSASSIN=0SPAMASSASSIN_SPAM_TO_INBOX=0SA_TAG=2.0SA_TAG2=6.31SA_KILL=6.31SA_SPAM_SUBJECT=***SPAM*****ENABLE_FETCHMAIL=0FETCHMAIL_POLL=300ENABLE_LDAP=LDAP_START_TLS=LDAP_SERVER_HOST=LDAP_SEARCH_BASE=LDAP_BIND_DN=LDAP_BIND_PW=LDAP_QUERY_FILTER_USER=LDAP_QUERY_FILTER_GROUP=LDAP_QUERY_FILTER_ALIAS=LDAP_QUERY_FILTER_DOMAIN=DOVECOT_TLS=DOVECOT_USER_FILTER=DOVECOT_PASS_FILTER=DOVECOT_MAILBOX_FORMAT=maildirENABLE_POSTGREY=0POSTGREY_DELAY=300POSTGREY_MAX_AGE=35POSTGREY_TEXT=Delayed by postgreyPOSTGREY_AUTO_WHITELIST_CLIENTS=5ENABLE_SASLAUTHD=1SASLAUTHD_MECHANISMS=rimapSASLAUTHD_MECH_OPTIONS= EC2.Local.IP.AddrSASLAUTHD_LDAP_SERVER=SASLAUTHD_LDAP_SSL=SASLAUTHD_LDAP_BIND_DN=cn=admin,dc=mydomain,dc=netSASLAUTHD_LDAP_BIND_DN=SASLAUTHD_LDAP_PASSWORD=SASLAUTHD_LDAP_SEARCH_BASE=SASLAUTHD_LDAP_FILTER=SASLAUTHD_LDAP_START_TLS=SASLAUTHD_LDAP_TLS_CHECK_PEER=SASL_PASSWD=stringSRS_SENDER_CLASSES=envelope_senderSRS_EXCLUDE_DOMAINS=SRS_SECRET=
DEFAULT_RELAY_HOST=
#Relay host should be empty, submits email by localhost
RELAY_HOST=
Outlook Client Setting:RELAY_PORT=587RELAY_USER=RELAY_PASSWORD=
Useful docker commands for this container image:
#check log
sudo ./setup.sh debug show-mail-logs
#run command in container
sudo ./setup.sh debug login bash
#restart service
sudo docker-compose down
sudo docker-compose up -d mail
This comment has been removed by a blog administrator.
ReplyDelete