pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [rhialto%falu.nl@localhost: Re: Dovecot-2.3 is no longer supported]



The imap-hibernate indeed doesn't seem to work, even though the command
appears to build with kqueue instead of inotify.

It took more work than I expected to try it out:

- in dovecot.conf: imap_hibernate_timeout = 10 secs
- in mutt:         :set imap_idle=yes

Result in /var/log/maillog:

Feb  8 21:53:53 murthe dovecot: imap(rhialto)<2781><GQhrOFVK2P8AAAAAAAAAAAAAAAAAAAAB>: Error: kevent(-1) for notify remove failed: Bad file descriptor
Feb  8 21:53:53 murthe dovecot: imap(rhialto)<2781><GQhrOFVK2P8AAAAAAAAAAAAAAAAAAAAB>: Error: close(-1) for notify remove failed: Bad file descriptor
Feb  8 21:53:53 murthe dovecot: imap(rhialto)<2781><GQhrOFVK2P8AAAAAAAAAAAAAAAAAAAAB>: Error: Couldn't hibernate imap client: fd_send(/var/run/dovecot/imap-hibernate) failed: Bad file descriptor

So it would make sense to not force the build the imap-hibernate
executable. 

Is there some way to make a PLIST variable from a configure result, so
that the PLIST doesn't have to second-guess the results from configure,
whether it builds it or not?

Also, adding this to the default config (conditionally, again)

service imap-hibernate {
  executable = ""
}                                                                               

is meant to turn off the default hibernate service.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert                            <rhialto/at/falu.nl>
\X/ There is no AI. There is just someone else's work.           --I. Rose

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index