Dovecot not starting or restarting

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.4
Webmin version 2.621
Usermin version 2.521
Virtualmin version 8.0.1 GPL
Theme version 26.22
Nginx version 1.24.0
Package updates All installed packages are up to date

says it all - and i cannot seem to find out why

email still seems to be being handle in/out ok (at least usermin) - and no user complaints - yet.

The browser AI actually suggested this and it seemed reasonable so I tried it.

sudo systemctl restart dovecot.service & sudo journalctl --follow --unit dovecot.service
root@main:~# # Run the restart in the background and immediately follow the logs in the foreground
sudo systemctl restart dovecot.service & sudo journalctl --follow --unit dovecot.service
[1] 3293330
-- Journal begins at Fri 2026-01-30 04:43:01 EST. --
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(hermit@gobbelteaguk.org)<3287174><orKjA49KMpStW9Fj>: Server shutting down. in=668 out=37086 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=1070 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(glasspusher@gobbelteaguk.net)<3276878><OTlBpI5K+R9F7/1B>: Server shutting down. in=10593 out=25746 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(bum@gobbelteaguk.net)<3287183><y6GoA49K4LKtW9Fj>: Server shutting down. in=423 out=5241 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(hermit@gobbelteaguk.net)<3287171><aNChA49K7rKtW9Fj>: Server shutting down. in=521 out=1761 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(hermit@gobbelteaguk.org)<3287147><EZSQA49KJJStW9Fj>: Server shutting down. in=709 out=2351 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(glasspusher@gobbelteaguk.net)<3276884><c3RMpI5KemlF7/1B>: Server shutting down. in=754 out=4793 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(ocelot@gobbelteaguk.calm)<2053734><W1hxjGVKP+dANM6w>: Server shutting down. in=123128 out=5101128 deleted=0 expunged=0 trashed=1 hdr_count=38 hdr_bytes=17110 body_count=38 body_bytes=2717291
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(bum@gobbelteaguk.net)<3287162><07SbA49K3rKtW9Fj>: Server shutting down. in=454 out=1671 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(hermit@gobbelteaguk.calm)<3287146><WYuQA49KFJStW9Fj>: Server shutting down. in=1878 out=7497 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=770 body_count=0 body_bytes=0
Feb 11 11:51:07 traiin.tadmin.calm dovecot[3188552]: imap(hermit@gobbelteaguk.calm)<3287172><57GjA49KHJStW9Fj>: Server shutting down. in=1209 out=233715 deleted=0 expunged=0 trashed=0 hdr_count=3 hdr_bytes=2217 body_count=3 body_bytes=202523
Feb 11 11:51:08 traiin.tadmin.calm dovecot[3188552]: log(3188552): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)
Feb 11 11:51:08 traiin.tadmin.calm systemd[1]: dovecot.service: Succeeded.
Feb 11 11:51:08 traiin.tadmin.calm systemd[1]: Stopped Dovecot IMAP/POP3 email server.
Feb 11 11:51:08 traiin.tadmin.calm systemd[1]: dovecot.service: Consumed 5h 18min 10.653s CPU time.
Feb 11 11:51:08 traiin.tadmin.calm systemd[1]: Starting Dovecot IMAP/POP3 email server...
Feb 11 11:51:09 traiin.tadmin.calm dovecot[3293342]: master: Dovecot v2.3.13 (89f716dc2) starting up for imap, pop3 (core dumps disabled)
Feb 11 11:51:09 traiin.tadmin.calm systemd[1]: Started Dovecot IMAP/POP3 email server.
^C
[1]+  Done                    sudo systemctl restart dovecot.service

Before restarting it, look to see why it’s down.

Look at the log (the answer is always “look at the log”). We have a doc for finding logs and other troubleshooting: Troubleshooting Emails | Virtualmin — Open Source Web Hosting Control Panel

1 Like

the logs showed nothing of interest.

in the end it has been simpler to revert to backup prior to the date it stopped.

that gave the opportunity to make a few VS changes - couple of deletions and a new VS)

a re-boot put everything back as it was (there is only a few users and I don’t think anyone noticed :tada:

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