20 Apr
2007
20 Apr
'07
2:03 a.m.
Justin McAleer wrote:
In a plugin, what would trigger a check for new messages? I haven't explored the plugin capabilities yet, so I don't know what the potential is. I fear checking after every imap command may be a worse problem than some users not getting the messages. That does make me wonder if dovecot processes should have a maximum life setting though...
Correct me if I'm wrong, but don't most IMAP clients issue an IDLE command when not doing anything, which expires in at most 30 minutes?
Couldn't you hook into the IDLE command to check for a MOTD?
-- Curtis Maloney cmaloney@cardgate.net