Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* quickly check if there is new mail in a gmail account
@ 2013-12-21 10:12 Gaute Hope
  0 siblings, 0 replies; 2+ messages in thread
From: Gaute Hope @ 2013-12-21 10:12 UTC (permalink / raw)
  To: sup-talk

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* quickly check if there is new mail in a gmail account
@ 2013-12-13 10:28 Gaute Hope
  0 siblings, 0 replies; 2+ messages in thread
From: Gaute Hope @ 2013-12-13 10:28 UTC (permalink / raw)
  To: sup-talk

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-21 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-21 10:12 quickly check if there is new mail in a gmail account Gaute Hope
  -- strict thread matches above, loose matches on Subject: below --
2013-12-13 10:28 Gaute Hope

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox