I can't get imap-hibernate to fire up. The process is not starting, and there are no clues in the logs. I tried several users/groups, but nothing happens (although I see plenty of IDLE imap-connections). Even mode 0666 didn't work. I'm on Slackware (no FreeBSD), built from source with ./configure --with-mysql My systems runs with a virtual user, and imap-processes are run under vmail vmail 21840 0.0 0.0 14076 2596 ? S 01:11 0:00 dovecot/imap vmail 21842 0.0 0.0 14108 2568 ? S 01:11 0:00 dovecot/imap I see the socket in var/run/dovecot with OK-permissions: srw-rw---- 1 vmail dovecot 0 Mar 14 01:11 imap-hibernate Added in my config: mail_debug = yes verbose_proctitle=yes service imap { unix_listener imap-master { user = $default_internal_user } } service imap { extra_groups = $default_internal_group } service imap-hibernate { unix_listener imap-hibernate { user = vmail mode = 0660 group = $default_internal_group } } Can someone give me a clue where it's going wrong? Or an option so I can debug?
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> Hi! </div> <div> <br> </div> <div> Did you follow https://doc.dovecot.org/configuration_manual/hibernation/ ? Especially you need the imap_hibernation_timeout. </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 14/03/2020 02:38 Webservice < <a href="mailto:info@webservice.be">info@webservice.be</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> I can't get imap-hibernate to fire up. </div> <div> <br> </div> <div> The process is not starting, and there are no clues in the logs. </div> <div> I tried several users/groups, but nothing happens (although I see plenty </div> <div> of IDLE imap-connections). </div> <div> Even mode 0666 didn't work. </div> <div> <br> </div> <div> <br> </div> <div> I'm on Slackware (no FreeBSD), built from source with </div> <div> ./configure --with-mysql </div> <div> My systems runs with a virtual user, and imap-processes are run under vmail </div> <div> <br> </div> <div> vmail 21840 0.0 0.0 14076 2596 ? S 01:11 0:00 dovecot/imap </div> <div> vmail 21842 0.0 0.0 14108 2568 ? S 01:11 0:00 dovecot/imap </div> <div> <br> </div> <div> I see the socket in var/run/dovecot with OK-permissions: </div> <div> srw-rw---- 1 vmail dovecot 0 Mar 14 01:11 imap-hibernate </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> Added in my config: </div> <div> <br> </div> <div> <br> </div> <div> mail_debug = yes </div> <div> verbose_proctitle=yes </div> <div> service imap { </div> <div> unix_listener imap-master { </div> <div> user = $default_internal_user </div> <div> } </div> <div> } </div> <div> service imap { </div> <div> extra_groups = $default_internal_group </div> <div> } </div> <div> service imap-hibernate { </div> <div> unix_listener imap-hibernate { </div> <div> user = vmail </div> <div> mode = 0660 </div> <div> group = $default_internal_group </div> <div> } </div> <div> } </div> <div> <br> </div> <div> <br> </div> <div> <br> </div> <div> Can someone give me a clue where it's going wrong? </div> <div> Or an option so I can debug? </div> </blockquote> <div> <br> </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>
Aki That was indeed the case! I was stupidly mistaken that this had a positive default value. Sorry for wasting everybody's time. Op 14/03/20 om 08:44 schreef Aki Tuomi:> Hi! > > Did you follow https://doc.dovecot.org/configuration_manual/hibernation/ > ? Especially you need the imap_hibernation_timeout. > > Aki >> On 14/03/2020 02:38 Webservice < info at webservice.be >> <mailto:info at webservice.be>> wrote: >> >> >> I can't get imap-hibernate to fire up. >> >> The process is not starting, and there are no clues in the logs. >> I tried several users/groups, but nothing happens (although I see plenty >> of IDLE imap-connections). >> Even mode 0666 didn't work. >> >> >> I'm on Slackware (no FreeBSD), built from source with >> ./configure --with-mysql >> My systems runs with a virtual user, and imap-processes are run under >> vmail >> >> vmail 21840 0.0 0.0 14076 2596 ? S 01:11 0:00 dovecot/imap >> vmail 21842 0.0 0.0 14108 2568 ? S 01:11 0:00 dovecot/imap >> >> I see the socket in var/run/dovecot with OK-permissions: >> srw-rw---- 1 vmail dovecot 0 Mar 14 01:11 imap-hibernate>> >> >> >> Added in my config: >> >> >> mail_debug = yes >> verbose_proctitle=yes >> service imap { >> unix_listener imap-master { >> user = $default_internal_user >> } >> } >> service imap { >> extra_groups = $default_internal_group >> } >> service imap-hibernate { >> unix_listener imap-hibernate { >> user = vmail >> mode = 0660 >> group = $default_internal_group >> } >> } >> >> >> >> Can someone give me a clue where it's going wrong? >> Or an option so I can debug? > > --- > Aki Tuomi >
Apparently Analagous Threads
- imap-hibernate won't start
- imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
- imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
- imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value
- imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value