mail done

This commit is contained in:
bee
2026-05-25 11:09:11 +02:00
parent 366a8cc197
commit 9729b28681
10 changed files with 123 additions and 71 deletions
+14 -11
View File
@@ -44,7 +44,7 @@ ACCOUNT_PROVISIONER=
# empty => postmaster@domain.com
# => Specify the postmaster address
POSTMASTER_ADDRESS=
POSTMASTER_ADDRESS=postmaster@secretbee.buzz
# Check for updates on container start and then once a day
# If an update is available, a mail is sent to POSTMASTER_ADDRESS
@@ -92,7 +92,7 @@ TLS_LEVEL=
#
# **0** => (not recommended) Mail address spoofing allowed. Any logged in user may create email messages with a forged sender address (see also https://en.wikipedia.org/wiki/Email_spoofing).
# 1 => Mail spoofing denied. Each user may only send with their own or their alias addresses. Addresses with extension delimiters(http://www.postfix.org/postconf.5.html#recipient_delimiter) are not able to send messages.
SPOOF_PROTECTION=
SPOOF_PROTECTION=1
# Enables the Sender Rewriting Scheme. SRS is needed if your mail server acts as forwarder. See [postsrsd](https://github.com/roehling/postsrsd/blob/main/README.rst) for further explanation.
# - **0** => Disabled
@@ -195,7 +195,7 @@ RSPAMD_NEURAL=0
# Amavis content filter (used for ClamAV & SpamAssassin)
# 0 => Disabled
# 1 => Enabled
ENABLE_AMAVIS=1
ENABLE_AMAVIS=0
# -1/-2/-3 => Only show errors
# **0** => Show warnings
@@ -207,13 +207,13 @@ AMAVIS_LOGLEVEL=0
# Note: Emails will be rejected, if they don't pass the block list checks!
# **0** => DNS block lists are disabled
# 1 => DNS block lists are enabled
ENABLE_DNSBL=0
ENABLE_DNSBL=1
# If you enable Fail2Ban, don't forget to add the following lines to your `compose.yaml`:
# cap_add:
# - NET_ADMIN
# Otherwise, `nftables` won't be able to ban IPs.
ENABLE_FAIL2BAN=1
ENABLE_FAIL2BAN=0
# Fail2Ban blocktype
# drop => drop packet (send NO reply)
@@ -267,7 +267,7 @@ POSTFIX_DAGENT=
# Set the mailbox size limit for all users. If set to zero, the size will be unlimited (default). Size is in bytes.
#
# empty => 0
POSTFIX_MAILBOX_SIZE_LIMIT=
POSTFIX_MAILBOX_SIZE_LIMIT=10737418240
# See https://docker-mailserver.github.io/docker-mailserver/latest/config/account-management/overview/#quotas
# 0 => Dovecot quota is disabled
@@ -630,7 +630,8 @@ SRS_SECRET=
#
# Set a default host to relay all mail through (optionally include a port)
# Example: [mail.example.com]:587
DEFAULT_RELAY_HOST=[email-smtp.eu-north-1.amazonaws.com]:587
#DEFAULT_RELAY_HOST=[email-smtp.eu-north-1.amazonaws.com]:587
DEFAULT_RELAY_HOST=[mail-eu.smtp2go.com]:2525
# -----------------------------------------------
# --- Multi-Domain Relay Section ----------------
@@ -641,11 +642,13 @@ DEFAULT_RELAY_HOST=[email-smtp.eu-north-1.amazonaws.com]:587
#
# Set a default host to relay mail through
# Example: mail.example.com
RELAY_HOST=email-smtp.eu-north-1.amazonaws.com
#RELAY_HOST=email-smtp.eu-north-1.amazonaws.com
RELAY_HOST=
# empty => 25
# default port to relay mail
RELAY_PORT=587
#RELAY_PORT=587
RELAY_PORT=
# -----------------------------------------------
# --- Relay Host Credentials Section ------------
@@ -654,7 +657,7 @@ RELAY_PORT=587
# Configure a relay user and password to use with RELAY_HOST / DEFAULT_RELAY_HOST
# empty => no default
RELAY_USER=AKIAWBJK5JQUGAW3SR4N
RELAY_USER={{ relay_user_smtp2go }}
# empty => no default
RELAY_PASSWORD={{ relay_password }}
RELAY_PASSWORD={{ relay_password_smtp2go }}