IMAP hibernate feature committed
Thomas Leuxner
tlx at leuxner.net
Tue Aug 25 07:45:34 UTC 2015
> http://hg.dovecot.org/dovecot-2.2/rev/64c73e6bd397
==> /var/log/dovecot/dovecot.log <==
Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied
Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: Couldn't hibernate imap client: Couldn't export state: Virtual mailboxes have no GUIDs
Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied
$ l /var/run/dovecot/
total 8
srw------- 1 root root 0 Aug 24 18:22 anvil
srw------- 1 root root 0 Aug 24 18:22 anvil-auth-penalty
srw------- 1 dovecot root 0 Aug 25 09:17 auth-client
srw------- 1 dovecot root 0 Aug 25 09:17 auth-login
srw------- 1 root root 0 Aug 25 09:17 auth-master
-rw------- 1 root root 32 Aug 7 12:03 auth-token-secret.dat
srw-rw-rw- 1 dovecot root 0 Aug 25 09:17 auth-userdb
srw------- 1 doveauth root 0 Aug 25 09:17 auth-worker
srw------- 1 root root 0 Aug 25 09:17 config
srw------- 1 root root 0 Aug 25 09:17 dict
srw------- 1 root root 0 Aug 25 09:17 director-admin
srw------- 1 root root 0 Aug 25 09:17 director-userdb
srw-rw-rw- 1 root root 0 Aug 25 09:17 dns-client
srw------- 1 root root 0 Aug 25 09:17 doveadm-server
lrwxrwxrwx 1 root root 25 Aug 24 18:22 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root root 40 Aug 7 12:03 empty
srw------- 1 root root 0 Aug 25 09:17 imap-hibernate
srw------- 1 root root 0 Aug 25 09:17 imap-master
srw-rw-rw- 1 root root 0 Aug 25 09:17 imap-urlauth
srw------- 1 dovecot root 0 Aug 25 09:17 imap-urlauth-worker
srw-rw-rw- 1 root root 0 Aug 25 09:17 indexer
srw------- 1 dovecot root 0 Aug 25 09:17 indexer-worker
srw------- 1 root root 0 Aug 25 09:17 ipc
srw-rw-rw- 1 root root 0 Aug 25 09:17 lmtp
srw------- 1 root root 0 Aug 25 09:17 log-errors
drwxr-x--- 2 root dovenull 120 Aug 25 09:17 login
-rw------- 1 root root 6 Aug 24 18:22 master.pid
srw------- 1 root root 0 Aug 25 09:17 replication-notify
prw------- 1 root root 0 Aug 25 09:17 replication-notify-fifo
srw------- 1 dovecot root 0 Aug 25 09:17 replicator
srw-rw-rw- 1 root root 0 Aug 25 09:17 ssl-params
srw------- 1 root root 0 Aug 25 09:17 stats
prw------- 1 vmail root 0 Aug 25 09:43 stats-mail
drwxr-x--- 2 root dovenull 80 Aug 25 09:17 token-login
The socket is created as ‚root‘ per default. Does it need to run under another user to mitigate the permissions issue?
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150825/c609433a/attachment.sig>
More information about the dovecot
mailing list