Bug 273681

Summary: kmail doesn't use imap push/idle
Product: [Frameworks and Libraries] Akonadi Reporter: simon
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED FIXED    
Severity: normal CC: bugzilla, kdepim-bugs, mboquien, meyerm, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description simon 2011-05-20 00:25:31 UTC
Version:           Git (master) (using Devel) 
OS:                Linux

hi,

i couldn't kmail get to work in disconncted imap push mode - my android (k9mail) receives the mail instant and kmail only on the 5minute interval check.

Reproducible: Always




OS: Linux (x86_64) release 2.6.38.6-zen-01981-ga3c54ec
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Alex Wright 2011-07-11 15:58:04 UTC
Confirmed in kmail 2.1.96, akonadi 1.5.80

This would be a really useful feature to reduce server load!
Comment 2 Médéric Boquien 2011-07-11 17:16:30 UTC
Isn't it server dependent? I receive email within 10 seconds on all my IMAP servers except for one that does not seem to support push mode. Latest 4.6 release, so maybe a regression?
Comment 3 meyerm 2011-07-11 17:24:06 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 meyerm 2011-07-11 18:38:27 UTC
Could you try to deactivate the interval checking? So basically tell KMail to not try to fetch mail on its own? Perhaps IMAP_IDLE is not used when interval checking is enabled.
Comment 5 simon 2011-07-11 19:41:45 UTC
i rebuild kmail and now disabling the interval check really seems to work, hopefully it stays this way.

For usability there should really be some server capabilities checking and promt the user that push (idle) is available and select it by default