[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quickly check if there is new mail in a gmail account



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

Attachment: signature.asc
Description: PGP signature