Miscellaneous first checks
Affected Component(s)
smtpd / sasl
What happened and when does this occur?
Without any updates to the container, user credentials, or vps, I cannot send mail anymore.
I can still connect to the smtp ports (both 465 and 587), it's just that it will get rejected. IMAP receiving of email also still works.
What did you expect to happen?
I expect the SMTP server to accept my login and allow me to send emails.
Also, it seems to complain about SASL, but that's disabled for my server.
How do we replicate the issue?
Uhm, I find this a bit hard to say right now, but I would like to help debug and figure out what's going on
DMS version
v11.3.1
What operating system is DMS running on?
Linux
Which operating system version?
Alpine 3.16.4
What instruction set architecture is DMS running on?
AMD64 / x86_64
What container orchestration tool are you using?
Docker
docker-compose.yml
` mailserver:
image: docker.io/mailserver/docker-mailserver:11.3.1
restart: unless-stopped
stop_grace_period: 1m
hostname: mail.XXX.cloud
ports:
- "25:25" # SMTP (explicit TLS => STARTTLS)
- "143:143" # IMAP4 (explicit TLS => STARTTLS)
- "465:465" # ESMTP (implicit TLS)
- "587:587" # ESMTP (explicit TLS => STARTTLS)
- "993:993" # IMAP4 (implicit TLS)
- "4190:4190" # user seive
volumes:
- ./data/dms/data:/var/mail
- ./data/dms/state:/var/mail-state
- ./logs/dms:/var/log/mail
# borrow traefik log
- ./data/traefik/acme.json:/etc/letsencrypt/acme.json:ro
- /etc/localtime:/etc/localtime:ro
mem_limit: 3.6G
cpus: 1.9
environment:
- LOG_LEVEL=info
- SUPERVISOR_LOGLEVEL=info
- TZ=Europe/Amsterdam
- POSTFIX_INET_PROTOCOLS=all
- DOVECOT_INET_PROTOCOLS=all
- ENABLE_SASLAUTHD=0
# save all into single dir
- ONE_DIR=1
# security/filtering stuff
# filter stuff
- SPOOF_PROTECTION=1
- ENABLE_CLAMAV=1
- ENABLE_AMAVIS=1
- ENABLE_POP3=0
# show warnings from amavis filter
- AMAVIS_LOGLEVEL=0
# disable the dns blocklist for now
- ENABLE_DNSBL=0
# block attackers
- ENABLE_FAIL2BAN=1
- FAIL2BAN_BLOCKTYPE=drop
# check valid connections with all tests
- POSTSCREEN_ACTION=enforce
# enalbe spam checker
- ENABLE_SPAMASSASSIN=1
- SPAMASSASSIN_SPAM_TO_INBOX=1
- ENABLE_SPAMASSASSIN_KAM=1
- "SA_SPAM_SUBJECT=[SPAM] "
- ENABLE_MANAGESIEVE=1
# we'll borrow traefik cretificates
- SSL_TYPE=letsencrypt
- SSL_DOMAIN=mail.XXX.cloud
# limits
# 50 mb
- POSTFIX_MESSAGE_SIZE_LIMIT=52428800
cap_add:
- NET_ADMIN
- SYS_PTRACE
labels:
- "traefik.enable=false"
Relevant log output
I've looked through the logs (docker-compose logs --follow) and noticed this coming up when I tried to send an email (both with thunderbird and with android gmail client).
mailserver_1 | Feb 23 19:40:38 mail postfix/submission/smtpd[1455]: warning: hostname XXXXX.connected.by.freedominter.net does not resolve to address 2a10:3781:XXX::1: Name or service not known
mailserver_1 | Feb 23 19:40:38 mail postfix/submission/smtpd[1455]: connect from unknown[2a10:3781:XXX:1]
mailserver_1 | Feb 23 19:40:38 mail postfix/submission/smtpd[1455]: Anonymous TLS connection established from unknown[2a10:3781:XXX::1]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
mailserver_1 | Feb 23 19:40:38 mail postfix/submission/smtpd[1455]: warning: SASL: Connect to private/auth failed: Permission denied
mailserver_1 | Feb 23 19:40:38 mail postfix/submission/smtpd[1455]: fatal: no SASL authentication mechanisms
mailserver_1 | Feb 23 19:40:39 mail postfix/master[1399]: warning: process /usr/lib/postfix/sbin/smtpd pid 1455 exit status 1
mailserver_1 | Feb 23 19:40:39 mail postfix/master[1399]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
I've also tried it over ipv4, the same happens.
Other relevant information
No response
What level of experience do you have with Docker and mail servers?
Code of conduct
Improvements to this form?
No response
Miscellaneous first checks
Affected Component(s)
smtpd / sasl
What happened and when does this occur?
Without any updates to the container, user credentials, or vps, I cannot send mail anymore.
I can still connect to the smtp ports (both 465 and 587), it's just that it will get rejected. IMAP receiving of email also still works.
What did you expect to happen?
I expect the SMTP server to accept my login and allow me to send emails.
Also, it seems to complain about SASL, but that's disabled for my server.
How do we replicate the issue?
Uhm, I find this a bit hard to say right now, but I would like to help debug and figure out what's going on
DMS version
v11.3.1
What operating system is DMS running on?
Linux
Which operating system version?
Alpine 3.16.4
What instruction set architecture is DMS running on?
AMD64 / x86_64
What container orchestration tool are you using?
Docker
docker-compose.yml
Relevant log output
I've looked through the logs (
docker-compose logs --follow) and noticed this coming up when I tried to send an email (both with thunderbird and with android gmail client).I've also tried it over ipv4, the same happens.
Other relevant information
No response
What level of experience do you have with Docker and mail servers?
Code of conduct
Improvements to this form?
No response