Dovecot service issue - "unknown" state

ubuntu 22.04 lts
virtualmin 7.5

  • dovecot service does not start on boot (it is set to start on boot)
  • in bootup and shutdown, the running state is “unknown”
  • startup and state for dovecot.socket is “no/no”
  • i can start dovecot manually and access mail (imap)

today is the 10th and there’s no messages in /var/webmin/miniserv.error for today, but on the 9th i see…
Error: Systemd service dovecot.socket does not exist

logs for today follow…

/var/log/mail.log (partial) ``` Jan 10 11:21:20 host dovecot: imap-login: Login: user=<[redacted]>, method=PLAIN, rip=45.15.18.66, lip=45.42.246.86, mpid=2697, TLS, session= Jan 10 11:20:50 host dovecot: master: Dovecot v2.3.16 (7e2e900c1a) starting up for imap, pop3, pop3 (core dumps disabled) Jan 10 11:19:57 host postfix/error[1572]: 195BBFD989: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=17231, delays=17231/0.19/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/error[1571]: 9F2D6FD9D8: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=910, delays=910/0.19/0/0.02, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/error[1570]: 964A1FD9C5: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=2207, delays=2207/0.18/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/smtp[1564]: 90936FD9D7: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=910, delays=910/0.05/0.1/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/smtp[1561]: 82333FD9D3: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=905, delays=905/0.03/0.12/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/smtp[1562]: AAD92FD9D4: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=910, delays=910/0.04/0.11/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/smtp[1559]: 83884FD9D6: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=910, delays=910/0.03/0.13/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/smtp[1563]: 91987FD9C8: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=2202, delays=2202/0.04/0.11/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:19:57 host postfix/smtp[1562]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:19:57 host postfix/smtp[1561]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:19:57 host postfix/smtp[1564]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:19:57 host postfix/smtp[1559]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:19:57 host postfix/smtp[1563]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:19:57 host postfix/smtp[1564]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:19:57 host postfix/smtp[1564]: warning: DNSSEC validation may be unavailable Jan 10 11:19:57 host postfix/smtp[1563]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:19:57 host postfix/smtp[1563]: warning: DNSSEC validation may be unavailable Jan 10 11:19:57 host postfix/smtp[1562]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:19:57 host postfix/smtp[1562]: warning: DNSSEC validation may be unavailable Jan 10 11:19:57 host postfix/smtp[1559]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:19:57 host postfix/smtp[1559]: warning: DNSSEC validation may be unavailable Jan 10 11:19:57 host postfix/smtp[1561]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:19:57 host postfix/smtp[1561]: warning: DNSSEC validation may be unavailable ```
journalctl --lines 100 -x (partial) ``` Jan 10 11:21:58 host.12bytes.org kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=113.133.176.52 DST=45.42.246.86 LEN=60 TOS=0x00 PREC=0x00 TTL=43 ID=18077 DF PROTO=TCP SPT=54290 DPT=6379 WINDOW=29200 RES=0x00 SYN URGP=0 Jan 10 11:21:25 host.12bytes.org kernel: Firewall: *ICMP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=157.185.158.52 DST=45.42.246.86 LEN=61 TOS=0x00 PREC=0x00 TTL=56 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=25251 SEQ=22956 Jan 10 11:21:25 host.12bytes.org kernel: Firewall: *ICMP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=157.185.158.52 DST=45.42.246.86 LEN=61 TOS=0x00 PREC=0x00 TTL=56 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=25251 SEQ=22956 Jan 10 11:21:25 host.12bytes.org kernel: Firewall: *ICMP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=157.185.158.52 DST=45.42.246.86 LEN=61 TOS=0x00 PREC=0x00 TTL=56 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=25251 SEQ=22956 Jan 10 11:21:25 host.12bytes.org kernel: Firewall: *ICMP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=157.185.158.52 DST=45.42.246.86 LEN=61 TOS=0x00 PREC=0x00 TTL=56 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=25251 SEQ=22956 Jan 10 11:21:25 host.12bytes.org kernel: Firewall: *ICMP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=157.185.158.52 DST=45.42.246.86 LEN=61 TOS=0x00 PREC=0x00 TTL=56 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=25251 SEQ=22956 Jan 10 11:21:20 host.12bytes.org dovecot[2468]: imap-login: Login: user=<[redacted]>, method=PLAIN, rip=45.15.18.66, lip=45.42.246.86, mpid=2697, TLS, session= ░░ The job identifier is 289. ░░ ░░ A start job for unit dovecot.service has finished successfully. ░░ ░░ Support: http://www.ubuntu.com/support ░░ Defined-By: systemd ░░ Subject: A start job for unit dovecot.service has finished successfully Jan 10 11:20:50 host.12bytes.org systemd[1]: Started Dovecot IMAP/POP3 email server. Jan 10 11:20:50 host.12bytes.org dovecot[2466]: master: Dovecot v2.3.16 (7e2e900c1a) starting up for imap, pop3, pop3 (core dumps disabled) ░░ The job identifier is 289. ░░ ░░ A start job for unit dovecot.service has begun execution. ░░ ░░ Support: http://www.ubuntu.com/support ░░ Defined-By: systemd ░░ Subject: A start job for unit dovecot.service has begun execution Jan 10 11:20:50 host.12bytes.org systemd[1]: Starting Dovecot IMAP/POP3 email server... ░░ The unit systemd-fsckd.service has successfully entered the 'dead' state. ░░ ░░ Support: http://www.ubuntu.com/support ░░ Defined-By: systemd ░░ Subject: Unit succeeded ```
journalctl --lines 100 -p debug..info (partial) ``` Jan 10 11:21:20 host.12bytes.org dovecot[2468]: imap-login: Login: user=<[redacted]>, method=PLAIN, rip=45.15.18.66, lip=45.42.246.86, mpid=2697, TLS, session= Jan 10 11:20:50 host.12bytes.org systemd[1]: Started Dovecot IMAP/POP3 email server. Jan 10 11:20:50 host.12bytes.org dovecot[2466]: master: Dovecot v2.3.16 (7e2e900c1a) starting up for imap, pop3, pop3 (core dumps disabled) Jan 10 11:20:50 host.12bytes.org systemd[1]: Starting Dovecot IMAP/POP3 email server... ```
/var/log/syslog (partial) ``` Jan 10 11:30:03 host postfix/pickup[1555]: 84398FD9E6: uid=0 from= Jan 10 11:30:03 host postfix/cleanup[4883]: 84398FD9E6: message-id=<20230110163003.84398FD9E6@host.12bytes.org> Jan 10 11:30:03 host opendkim[614]: 84398FD9E6: DKIM-Signature field added (s=202300, d=12bytes.org) Jan 10 11:30:03 host postfix/qmgr[1556]: 84398FD9E6: from=, size=700, nrcpt=1 (queue active) Jan 10 11:30:03 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:03 host postfix/pickup[1555]: 92CC5FD9E4: uid=0 from= Jan 10 11:30:03 host postfix/cleanup[4883]: 92CC5FD9E4: message-id=<20230110163003.92CC5FD9E4@host.12bytes.org> Jan 10 11:30:03 host opendkim[614]: 92CC5FD9E4: DKIM-Signature field added (s=202300, d=12bytes.org) Jan 10 11:30:03 host postfix/local[4885]: warning: database /etc/aliases.db is older than source file /etc/aliases Jan 10 11:30:03 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:03 host postfix/local[4885]: 84398FD9E6: to=, orig_to=, relay=local, delay=0.09, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Jan 10 11:30:03 host postfix/cleanup[4886]: 96924FD9E7: message-id=<20230110163003.84398FD9E6@host.12bytes.org> Jan 10 11:30:03 host postfix/local[4885]: 84398FD9E6: to=, orig_to=, relay=local, delay=0.1, delays=0.07/0/0/0.02, dsn=2.0.0, status=sent (forwarded as 96924FD9E7) Jan 10 11:30:03 host postfix/qmgr[1556]: 96924FD9E7: from=, size=1374, nrcpt=1 (queue active) Jan 10 11:30:03 host postfix/qmgr[1556]: 84398FD9E6: removed Jan 10 11:30:03 host postfix/smtp[4887]: warning: DNSSEC validation may be unavailable Jan 10 11:30:03 host postfix/smtp[4887]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:30:03 host postfix/qmgr[1556]: 92CC5FD9E4: from=, size=700, nrcpt=1 (queue active) Jan 10 11:30:03 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:03 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:03 host postfix/local[4885]: 92CC5FD9E4: to=, orig_to=, relay=local, delay=0.13, delays=0.12/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Jan 10 11:30:03 host postfix/cleanup[4886]: A16F9FD9E5: message-id=<20230110163003.92CC5FD9E4@host.12bytes.org> Jan 10 11:30:03 host postfix/local[4885]: 92CC5FD9E4: to=, orig_to=, relay=local, delay=0.14, delays=0.12/0/0/0.02, dsn=2.0.0, status=sent (forwarded as A16F9FD9E5) Jan 10 11:30:03 host postfix/qmgr[1556]: A16F9FD9E5: from=, size=1374, nrcpt=1 (queue active) Jan 10 11:30:03 host postfix/qmgr[1556]: 92CC5FD9E4: removed Jan 10 11:30:03 host postfix/smtp[4888]: warning: DNSSEC validation may be unavailable Jan 10 11:30:03 host postfix/smtp[4888]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated Jan 10 11:30:03 host postfix/smtp[4888]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:30:03 host postfix/smtp[4887]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:30:03 host kernel: [ 609.884337] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55525 DF PROTO=TCP SPT=45288 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 Jan 10 11:30:03 host kernel: [ 609.884337] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=54267 DF PROTO=TCP SPT=45286 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 Jan 10 11:30:03 host postfix/smtp[4887]: 96924FD9E7: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=0.12, delays=0.01/0.01/0.11/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:30:03 host postfix/smtp[4888]: A16F9FD9E5: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=0.08, delays=0.01/0.01/0.06/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:30:04 host systemd[1]: Started Session 9 of User root. Jan 10 11:30:08 host systemd[1]: Started Session 10 of User root. Jan 10 11:30:08 host postfix/pickup[1555]: 85A79FD9E9: uid=0 from= Jan 10 11:30:08 host postfix/cleanup[4883]: 85A79FD9E9: message-id=<20230110163008.85A79FD9E9@host.12bytes.org> Jan 10 11:30:08 host opendkim[614]: 85A79FD9E9: DKIM-Signature field added (s=202300, d=12bytes.org) Jan 10 11:30:08 host postfix/qmgr[1556]: 85A79FD9E9: from=, size=700, nrcpt=1 (queue active) Jan 10 11:30:08 host postfix/pickup[1555]: 932DAFD9E6: uid=0 from= Jan 10 11:30:08 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:08 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:08 host postfix/cleanup[4886]: 932DAFD9E6: message-id=<20230110163008.932DAFD9E6@host.12bytes.org> Jan 10 11:30:08 host opendkim[614]: 932DAFD9E6: DKIM-Signature field added (s=202300, d=12bytes.org) Jan 10 11:30:08 host postfix/local[4885]: 85A79FD9E9: to=, orig_to=, relay=local, delay=0.08, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Jan 10 11:30:08 host postfix/cleanup[4883]: 957C7FD9EA: message-id=<20230110163008.85A79FD9E9@host.12bytes.org> Jan 10 11:30:08 host postfix/local[4885]: 85A79FD9E9: to=, orig_to=, relay=local, delay=0.09, delays=0.07/0/0/0.02, dsn=2.0.0, status=sent (forwarded as 957C7FD9EA) Jan 10 11:30:08 host postfix/qmgr[1556]: 957C7FD9EA: from=, size=1374, nrcpt=1 (queue active) Jan 10 11:30:08 host postfix/qmgr[1556]: 85A79FD9E9: removed Jan 10 11:30:08 host postfix/smtp[4887]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:30:08 host kernel: [ 614.766925] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=32313 DF PROTO=TCP SPT=50386 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 Jan 10 11:30:08 host postfix/smtp[4887]: 957C7FD9EA: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:30:08 host postfix/qmgr[1556]: 932DAFD9E6: from=, size=700, nrcpt=1 (queue active) Jan 10 11:30:08 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:08 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:08 host postfix/local[4885]: 932DAFD9E6: to=, orig_to=, relay=local, delay=0.13, delays=0.13/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Jan 10 11:30:08 host postfix/cleanup[4883]: A2726FD9E8: message-id=<20230110163008.932DAFD9E6@host.12bytes.org> Jan 10 11:30:08 host postfix/local[4885]: 932DAFD9E6: to=, orig_to=, relay=local, delay=0.14, delays=0.13/0/0/0.02, dsn=2.0.0, status=sent (forwarded as A2726FD9E8) Jan 10 11:30:08 host postfix/qmgr[1556]: A2726FD9E8: from=, size=1374, nrcpt=1 (queue active) Jan 10 11:30:08 host postfix/qmgr[1556]: 932DAFD9E6: removed Jan 10 11:30:08 host postfix/smtp[4888]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:30:08 host kernel: [ 614.820046] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=42285 DF PROTO=TCP SPT=50390 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 Jan 10 11:30:08 host postfix/smtp[4888]: A2726FD9E8: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) Jan 10 11:30:13 host kernel: [ 619.445605] Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=52:54:00:27:7b:03:e4:1d:2d:e4:24:f0:08:00 SRC=36.41.66.61 DST=45.42.246.86 LEN=60 TOS=0x00 PREC=0x00 TTL=48 ID=6206 DF PROTO=TCP SPT=33630 DPT=6379 WINDOW=29200 RES=0x00 SYN URGP=0 Jan 10 11:30:52 host systemd[1]: Started Session 11 of User root. Jan 10 11:30:53 host postfix/pickup[1555]: 8642CFD9EB: uid=0 from= Jan 10 11:30:53 host postfix/cleanup[4886]: 8642CFD9EB: message-id=<20230110163053.8642CFD9EB@host.12bytes.org> Jan 10 11:30:53 host opendkim[614]: 8642CFD9EB: DKIM-Signature field added (s=202300, d=12bytes.org) Jan 10 11:30:53 host postfix/qmgr[1556]: 8642CFD9EB: from=, size=700, nrcpt=1 (queue active) Jan 10 11:30:53 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:53 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains Jan 10 11:30:53 host postfix/local[4885]: 8642CFD9EB: to=, orig_to=, relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir) Jan 10 11:30:53 host postfix/cleanup[4883]: 96737FD9E6: message-id=<20230110163053.8642CFD9EB@host.12bytes.org> Jan 10 11:30:53 host postfix/local[4885]: 8642CFD9EB: to=, orig_to=, relay=local, delay=0.08, delays=0.06/0/0/0.02, dsn=2.0.0, status=sent (forwarded as 96737FD9E6) Jan 10 11:30:53 host postfix/qmgr[1556]: 96737FD9E6: from=, size=1374, nrcpt=1 (queue active) Jan 10 11:30:53 host postfix/qmgr[1556]: 8642CFD9EB: removed Jan 10 11:30:53 host postfix/smtp[4887]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused Jan 10 11:30:53 host kernel: [ 659.770493] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=3957 DF PROTO=TCP SPT=42060 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 Jan 10 11:30:53 host postfix/smtp[4887]: 96737FD9E6: to=<[redacted]@rbox.me>, orig_to=, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused) ```

log lines which jump out at me…

/var/log/mail.log

Jan 10 12:14:57 host postfix/smtp[10991]: warning: DNSSEC validation may be unavailable

Jan 10 12:14:57 host postfix/smtp[10991]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated

Jan 10 12:14:57 host postfix/smtp[10991]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused

journalctl --lines 100 -x

Jan 10 12:24:57 host.12bytes.org postfix/smtp[11802]: 746DEFD9F7: to=<[redacted]@rbox.me>, orig_to=<root>, relay=none, delay=503, delays=503/0.01/0.01/0, dsn=4.4.1, status=deferred (connect to mx.runbox.com[185.226.149.25]:25: Connection refused)

Jan 10 12:24:57 host.12bytes.org kernel: Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=20253 DF PROTO=TCP SPT=52826 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 

Jan 10 12:24:57 host.12bytes.org postfix/smtp[11802]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused

Jan 10 12:24:57 host.12bytes.org postfix/smtp[11802]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated

Jan 10 12:24:57 host.12bytes.org postfix/smtp[11802]: warning: DNSSEC validation may be unavailable

/var/log/syslog

Jan 10 11:30:53 host postfix/trivial-rewrite[4884]: warning: do not list domain 12bytes.org in BOTH mydestination and virtual_alias_domains

Jan 10 11:30:53 host postfix/smtp[4887]: connect to mx.runbox.com[185.226.149.25]:25: Connection refused

Jan 10 11:30:53 host kernel: [  659.770493] Firewall: *TCP_OUT Blocked* IN= OUT=eth0 SRC=45.42.246.86 DST=185.226.149.25 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=3957 DF PROTO=TCP SPT=42060 DPT=25 WINDOW=65280 RES=0x00 SYN URGP=0 UID=114 GID=123 

so lots of DNSSEC and ‘connection refused’ stuff, which seems odd since i can receive mail at my runbox address when dovecot is running … also i would guess that these errors have nothing to do with dovecot not working properly/not starting on boot

other notes…

since DNS is done at the registrar, i disabled all the named* services - dunno if that was the right way to disable DNS or whether that plays into this problem or not, but i read a post by Joe indicating that named has nothing to do with dovecot

i’m lost…

Ubuntu 22 can be a little quirky at times as far as the bootup on startup goes.
Make sure your settings are as follows in the Bootup and Shutdown section.

In Webmin
System > Bootup and Shutdown >

dovecot yes yes
dovecot.service yes yes

dovecot.socket no no

You don’t need dovecot.socket because dovecot itself should be listening on the ports.
But you will see the Failed report in systemd and that is OK…

hi again

there is no dovecot.services, with or without the ‘s’, listed in bootup/shutdown module

is this a sys-d unit?

when i start dovecot, i see: Starting dovecot (via systemctl): dovecot.service.

so i reinstalled dovecot: apt reinstall dovecot-imapd dovecot-pop3d … to no avail - behavior is the same

If you can start dovecot with sudo systemctl start dovecot.service

Than enable it to startup on bootup

sudo systemctl enable dovecot.service

Edit:
Yes it should be dovecot.service without the “s” I will edit that above for reference.

i started dovecot.service but it didn’t show in bootup/shutdown, so i…

# systemctl enable dovecot.service
Synchronizing state of dovecot.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable dovecot
Created symlink /etc/systemd/system/multi-user.target.wants/dovecot.service → /lib/systemd/system/dovecot.service.

and then i rebooted the server - dovecot.service still does not show up in bootup/shutdown, but at least dovect starts on boot as it should

never mind - i’m going to rebuild the server with a different OS

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.