[Bug 67504] IMAP IDLE support for KMail

Alexander Wiedenbruch <[email protected]>
Newsgroups gmane.comp.kde.devel.kmail
Message-ID <[email protected]>
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=67504         




------- Additional Comments From wirr01 gmail com  2007-07-15 12:56 -------
Created an attachment (id=21154)
 --> (http://bugs.kde.org/attachment.cgi?id=21154&action=view)
Work-around to get IDLE support in KMail

Here is a work-around to get IDLE support into KMail.

This patch will establish a connection to all folders in your mailbox and goes
into IDLE state. When a new mail arrives KMail will show that a new mail was
received just as you are used to it.

Additional Notes:
1) DO NOT MAKE ME RESPONSIBLE WHEN YOU LOSE YOUR MAIL
2) This patch is against KDE 3.5 branch
3) As this patch opens a connection for every folder, the server might not
allow so many connections as you have folders. So (if you are unsure) before
you enable this patch exclude some folders from getting checked for new mail or
watch the debug output.
4) If you change the configuration (see 2) you will need to restart KMail.
5) If the patch works for you, it should be save to disable the mail check
interval

Unfortunately I could only test this with my ISPs IMAP server which uses an own
implementation, meaning that there is a chance that this patch doesn't work
with your server.

I know it's a stupid patch (and I am not proud of it) but comments are of
course welcome!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.