Re: [Dovecot] Dovecot-imap, tls, gnus

2008-01-11 Thread Richard G Riley
Timo Sirainen [EMAIL PROTECTED] writes:

 On Thu, 2008-01-10 at 17:21 +0100, Richard G Riley wrote:
 I have a connection to my dovecot server from gnus:
 
 ,
 | (add-to-list 'gnus-secondary-select-methods
 | '(nnimap hermes
 |  (nnimap-stream starttls)
 |  (nnimap-address hermes)
 |  (nnimap-authinfo-file ~/.authinfo)))
 `
 
 If I enter a group and read my mail then wander off and come back after
 a few minutes I can not navigate out of the group because my nnimap
 session has ended. What config parameter do I need to change in Dovecot
 to keep it open for the life of the client? (I am assuming its a dovecot
 issue here since it didn't happen with courier-imap).

 What Dovecot version?

Debian etch incumbent : 1.0.rc15

(dovecot --version).


Re: [Dovecot] Dovecot-imap, tls, gnus

2008-01-11 Thread Timo Sirainen
On Fri, 2008-01-11 at 12:24 +0100, Richard G Riley wrote:
 Timo Sirainen [EMAIL PROTECTED] writes:
 
  On Thu, 2008-01-10 at 17:21 +0100, Richard G Riley wrote:
  I have a connection to my dovecot server from gnus:
  
  ,
  | (add-to-list 'gnus-secondary-select-methods
  |   '(nnimap hermes
  |(nnimap-stream starttls)
  |(nnimap-address hermes)
  |(nnimap-authinfo-file ~/.authinfo)))
  `
  
  If I enter a group and read my mail then wander off and come back after
  a few minutes I can not navigate out of the group because my nnimap
  session has ended. What config parameter do I need to change in Dovecot
  to keep it open for the life of the client? (I am assuming its a dovecot
  issue here since it didn't happen with courier-imap).

Well, normally Dovecot disconnects connections after they haven't sent
anything for 30 minutes. This isn't configurable. And usually clients do
something at least once every 30 minutes, so they should never get
disconnected.

Check from Dovecot's logs what the disconnection reason is, or if there
are any error messages.

  What Dovecot version?
 
 Debian etch incumbent : 1.0.rc15

It's possible this has already been fixed. rc15 is over a year old
already.


signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Dovecot-imap, tls, gnus

2008-01-11 Thread Richard G Riley

Greg Troxel [EMAIL PROTECTED] writes:

   [dovecot closing connections to gnus, making gnus fail to exit group]

 I use gnus and I think that the closed connection happens to me once in
 a while.  gnus just reopens it - I'm running the head of Gnus CVS.  So
 this feels like a gnus bug.

I don't think so - in that its not a bug that it doesn't poll IMAP. It
seems to me that dovecot drops the connection through lack of
activity. I add this to my .gnus.el and all is now good.

(require 'gnus-demon)
(setq gnus-use-demon t)
(gnus-demon-add-handler 'gnus-group-get-new-news 10 0)
(gnus-demon-init)

Nicer would be for gnus to simply redo the TLS if it can't
connect when entering or leaving a group ... that way no need for
relatively expensive automatic polling.



Re: [Dovecot] Dovecot-imap, tls, gnus

2008-01-10 Thread Timo Sirainen
On Thu, 2008-01-10 at 17:21 +0100, Richard G Riley wrote:
 I have a connection to my dovecot server from gnus:
 
 ,
 | (add-to-list 'gnus-secondary-select-methods
 |  '(nnimap hermes
 |   (nnimap-stream starttls)
 |   (nnimap-address hermes)
 |   (nnimap-authinfo-file ~/.authinfo)))
 `
 
 If I enter a group and read my mail then wander off and come back after
 a few minutes I can not navigate out of the group because my nnimap
 session has ended. What config parameter do I need to change in Dovecot
 to keep it open for the life of the client? (I am assuming its a dovecot
 issue here since it didn't happen with courier-imap).

What Dovecot version?



signature.asc
Description: This is a digitally signed message part