[sup-talk] quickly check if there is new mail in a gmail account

4 views
Skip to first unread message

Gaute Hope

unread,
Dec 21, 2013, 5:12:43 AM12/21/13
to sup-talk
hi suppers,

gmails imap service is throttled and it takes a long time for
offlineimap to run through and check if there are new messages.
therefore this solution might be of interest to more suppers:

http://cpbl.wordpress.com/2011/11/16/how-to-alpine-maildir-offlineimap/

where curl is used to quickly check if there has been a change since the
last check.

a cleaned up script is available here:
https://gist.github.com/gauteh/7942217

use the return status to determine whether it is necessary to run
offlineimap.


cheers, gaute
signature.asc
Reply all
Reply to author
Forward
0 new messages