From: Jef D. <jef...@ho...> - 2017-03-07 13:33:47
|
Hi, I have a fetchmailrc to poll a single imap server, with the "idle" option enabled for instant notifications. This works really great, except that once in a while, the server appears to get confused. It still responds to the idle command as it should: fetchmail: IMAP> A0117 IDLE fetchmail: IMAP< + idling fetchmail: IMAP> DONE fetchmail: IMAP< A0117 OK IDLE completed fetchmail: IMAP> A0118 IDLE fetchmail: IMAP< + idling fetchmail: IMAP> DONE fetchmail: IMAP< A0118 OK IDLE completed But for some reason it doesn't notice new mail has arrived. This is probably a server side bug, for which I'm trying to find a workaround. I tried to send SIGUSR1 to wakeup the fetchmail daemon. But that doesn't seem to have any effect. It looks like fetchmail ignores the signal while it's waiting on idle. Is that intentional? I would expect it to end the idle, and start a new poll. How can I force fetchmail to start over, other than restarting the daemon completely? Jef |