
17 Oct
2012
17 Oct
'12
1:14 p.m.
On 17/10/2012 20:13, Russell Coker wrote:
If there is no good reason not to kill them then is there a way of making Dovecot or Perdition kill a session after it's been IDLE for a couple of days?
This, from the wiki, looks promising: imap_idle_notify_interval = 120 How many seconds to wait between "OK Still here" notifications when client is IDLEing. -- http://wiki.dovecot.org/MainConfig Given your context, I'd increase it from 120 to something like 1800, but should probably do the trick regardless. If the client has died, then after <n> seconds the activity will cause TCP to throw a hissy fit and zap the connection shortly afterwards.