Swarm cluster, 1 manager 2 workers. Persistent storage via GlusterFS.
docker images hardware/mailserver --digests --filter "dangling=false"
REPOSITORY TAG DIGEST IMAGE ID CREATED SIZE
hardware/mailserver <none> sha256:0af0d6bb7d5de589cb1cf47811f844d7ed43827a3298197fdd4cafee8d2c8ed5 1d08ae0bb068 3 weeks ago 380MB
Description
I observed the last few days that my mailserver is working as it should for around 5 minutes after the service is deployed. After around 3-5 minutes postfix stops delivering emails and continues to does so until I restart the whole service and remove the mail/postfix folder before. Postfix stop / start does NOT help. I tried starting the mailserver without clamav, started it with debug information but I can not find the reason why it stops working suddenly. It worked for 4 weeks straight without an issue before.
Steps to reproduce
start hardware/mailserver stack
send test email to address
check if mail gets delivered into mailbox
Expected results
Emails get delivered to mailbox the whole time
Actual results
Emails only get delivered for like 3-5 minutes after service start
Debugging information
2019-05-18T11:23:43.333269+00:00 496d456e1f74 dovecot: imap-login: Login: user=<user@domain.tld>, method=PLAIN, rip=10.255.0.2, lip=10.255.0.82, mpid=886, TLS, session=<dttWuyeJAK8K/wAC>,
2019-05-18T11:13:05.600782+00:00 496d456e1f74 postfix/smtpd[858]: NOQUEUE: reject: RCPT from unknown[10.255.0.2]: 554 5.7.1 Service unavailable; Sender address [send@srv2.profunsendsnow.site] blocked using dbl.spamhaus.org; https://www.spamhaus.org/query/domain/profunsendsnow.site; from=<send@srv2.profunsendsnow.site> to=<user@domain.tld> proto=ESMTP helo=<srv2.profunsendsnow.site>,
2019-05-18T11:13:05.638170+00:00 496d456e1f74 postfix/smtpd[858]: disconnect from unknown[10.255.0.2] ehlo=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=3/5,
2019-05-18T11:13:43.359045+00:00 496d456e1f74 dovecot: imap-login: Login: user=<user@domain.tld>, method=PLAIN, rip=10.255.0.2, lip=10.255.0.82, mpid=856, TLS, session=<vY2TlyeJkq0K/wAC>,
2019-05-18T11:13:43.559746+00:00 496d456e1f74 dovecot: imap(user@domain.tld): Logged out in=89 out=939,
2019-05-18T11:14:43.294313+00:00 496d456e1f74 dovecot: imap-login: Login: user=<user@domain.tld>, method=PLAIN, rip=10.255.0.2, lip=10.255.0.82, mpid=846, TLS, session=<iaMmmyeJsq0K/wAC>,
2019-05-18T11:14:43.537688+00:00 496d456e1f74 dovecot: imap(user@domain.tld): Logged out in=334 out=1389,
<<<<< i sent an email here. did not get delivered. and yes, it worked like a charm 3 minutes before this >>>>>
2019-05-18T11:15:43.427309+00:00 496d456e1f74 dovecot: imap-login: Login: user=<user@domain.tld>, method=PLAIN, rip=10.255.0.2, lip=10.255.0.82, mpid=865, TLS, session=<b3i7nieJ0q0K/wAC>,
2019-05-18T11:15:43.574375+00:00 496d456e1f74 dovecot: imap(user@domain.tld): Logged out in=89 out=939,
2019-05-18T11:16:43.351158+00:00 496d456e1f74 dovecot: imap-login: Login: user=<user@domain.tld>, method=PLAIN, rip=10.255.0.2, lip=10.255.0.82, mpid=834, TLS, session=<rINOoieJ/q0K/wAC>,
2019-05-18T11:16:43.443713+00:00 496d456e1f74 dovecot: imap(user@domain.tld): Logged out in=55 out=871
Classification
Please delete options that are not relevant.
Reproducibility
Please delete options that are not relevant.
Docker information
Description
I observed the last few days that my mailserver is working as it should for around 5 minutes after the service is deployed. After around 3-5 minutes postfix stops delivering emails and continues to does so until I restart the whole service and remove the mail/postfix folder before. Postfix stop / start does NOT help. I tried starting the mailserver without clamav, started it with debug information but I can not find the reason why it stops working suddenly. It worked for 4 weeks straight without an issue before.
Steps to reproduce
Expected results
Emails get delivered to mailbox the whole time
Actual results
Emails only get delivered for like 3-5 minutes after service start
Debugging information
Configuration (docker-compose.yml, traefik.toml...etc)