[Dovecot] wake up getamail on imap request
Timo Sirainen
tss at iki.fi
Wed Aug 18 16:00:09 EEST 2010
On Wed, 2010-08-18 at 14:28 +0200, Peter Dungel wrote:
> The only issue I'm still facing is, that I don't like to run getmail as a
> cronjob that connects to my online mailboxes every minute or so, I'd rather
> want it to do so every thirty minutes and whenever I request so by fetching
> my mails at my mailclient (e.g. outlook), I've font the Fetchmail Wakeup
> plugin, but according to the description this only works for version 1.1.x
> and 1.2.x but I'm running 1.0.13.
You could create a plugin that triggers getmail every time IMAP's STATUS
command is sent. Or probably best to do it on mailbox_opened hook (in
v2.0).
More information about the dovecot
mailing list