* Thomas Leuxner <tlx at leuxner.net> 2015.08.25 09:45:> > 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'chmod 666' mitigates the permission issue on the socket. However it seems to have other issues then: ==> /var/log/dovecot/dovecot.log <=Aug 25 09:56:49 nihlus dovecot: imap-hibernate: Error: Failed to parse client input: Invalid peer_ip value: Aug 25 09:56:49 nihlus dovecot: imap(tlx at leuxner.net): Error: /var/run/dovecot/imap-hibernate returned failure: Failed to parse client input: Invalid peer_ip value: Aug 25 09:56:49 nihlus dovecot: imap: Error: Aug 25 09:56:49 nihlus dovecot: imap-hibernate: Error: Failed to parse client input: Invalid peer_ip value: Aug 25 09:56:49 nihlus dovecot: imap(tlx at leuxner.net): Error: /var/run/dovecot/imap-hibernate returned failure: Failed to parse client input: Invalid peer_ip value: Aug 25 09:56:49 nihlus dovecot: imap: Error: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150825/e4fc0fc3/attachment.sig>
On 25 Aug 2015, at 11:01, Thomas Leuxner <tlx at leuxner.net> wrote:> > * Thomas Leuxner <tlx at leuxner.net> 2015.08.25 09:45: > >>> 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 GUIDsI guess virtual mailboxes should be fixed somehow. The lack of GUIDs for them has caused some other issues too .. So I guess they'll just need to be generated a GUID.>> Aug 25 09:42:07 nihlus dovecot: imap(tlx at leuxner.net): Error: net_connect_unix(/var/run/dovecot/imap-hibernate) failed: Permission denied > > 'chmod 666' mitigates the permission issue on the socket. However it seems to have other issues then:You can also change the unix_listener { user, group, mode } as needed for different services (imap, imap-hibernate). http://wiki2.dovecot.org/Services has some more info.> ==> /var/log/dovecot/dovecot.log <=> Aug 25 09:56:49 nihlus dovecot: imap-hibernate: Error: Failed to parse client input: Invalid peer_ip value: > Aug 25 09:56:49 nihlus dovecot: imap(tlx at leuxner.net): Error: /var/run/dovecot/imap-hibernate returned failure: Failed to parse client input: Invalid peer_ip value: > Aug 25 09:56:49 nihlus dovecot: imap: Error:Looks like it was broken for TLS connections. Fixed now.
* Timo Sirainen <tss at iki.fi> 2015.08.25 17:28:> >> ==> /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 GUIDsThose are completely gone with the latest two commits. I was expecting the permission error to fire up. It seems a bit too quite. If it works would it spawn a hibernate-process? It looks so from the service section, but I don't see any "hibernate" processes active.> > 'chmod 666' mitigates the permission issue on the socket. However it seems to have other issues then: > > You can also change the unix_listener { user, group, mode } as needed for different services (imap, imap-hibernate). http://wiki2.dovecot.org/Services has some more info.$ doveconf -a | grep -A 20 'service imap-hibernate' service imap-hibernate { [?] unix_listener imap-hibernate { group = mode = 0600 user = } user = $default_internal_user The question is what user it should be - or what user it should match in case several users come into play. With the standard setting $default_internal_user as above it does not work out of the box (at least with my config). Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150825/3d2bc444/attachment.sig>