IMAP hibernate feature committed

Timo Sirainen tss at iki.fi
Tue Aug 25 15:28:35 UTC 2015


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 GUIDs

I 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.



More information about the dovecot mailing list