#989584 dovecot-core: systemd unit does not wait for remote-fs.target

Package:
dovecot-core
Source:
dovecot
Description:
secure POP3/IMAP server - core files
Submitter:
Hamish Moffatt
Date:
2024-09-03 01:45:03 UTC
Severity:
normal
#989584#5
Date:
2021-06-08 00:20:03 UTC
From:
To:
The systemd unit does not specify that dovecot should be started after
remote-fs.target (in after= clause). This is in contrast to the init.d
script, which does specify it should wait for $remote_fs.

Most other similar packages (exim4, apache, greylistd) do wait on
remote-fs.target.

I have checked the package in buster and it is also affected.


Hamish

#989584#10
Date:
2021-06-08 00:54:39 UTC
From:
To:
The effect of this of course that is dovecot doesn't start if its
configuration depends on files on a remote file system.

#989584#15
Date:
2024-09-03 01:02:25 UTC
From:
To:
Dear Maintainer,
We have home directories mounted via Autofs from an NFS directory on another
machine.  After a reboot, mailboxes in ~/Mail are not accessible, because
dovecot starts before autofs.  The systemd unit should wait until all
the filesystems dovecot relies on are available.

Peter C