-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Monday, January 11 at 05:58 PM, quoth Jostein Berntsen: > He replied with this link: > > http://piiis.blogspot.com/2007/08/stop-annoying-imap-error-message-in.html > > Can this help in any way?
Whoever wrote that blog posting doesn't *quite* understand how IMAP works, but what they're essentially advocating is putting Outlook into a "nearly offline" mode. What happens with the configuration they're creating is that Outlook doesn't check with the mail server for so long that it assumes the connection has expired and simply opens a new connection every time it has to do something. That's not helpful. > I have tried to regulate the timeout value to higher, with no > result. The Imap_keepalive is set to standard value. A higher $timeout won't help, in part because the $timeout setting doesn't do what you think it does. And even if it did, the point is that your server's administrator has apparently decided not to support persistent IMAP connections. In other words, connections to your IMAP server are apparently not allowed to last longer than a minute or two. If anything, you want a *lower* timeout value so that the server thinks you're busy using it. But if (as it appears) he's set an absolute limit on the length of your connections, then it doesn't really matter how often you remind the server that you're still there: it will simply disconnect you after a certain time period, NO MATTER WHAT. The link your admin sent you is essentially a way of configuring Outlook to more effectively hide the fact that the server violated the IMAP spec and disconnected it. This only works because clients like Outlook (or Thunderbird or Apple Mail) often simply open a new connection to the server without bothering you. Mutt, however, does not (generally) do things without telling you, and so when its connection to the mail server dies (for ANY REASON), it will let you know about it. I could give a dissertation about the apparent basic misunderstanding of the IMAP protocol in this blog post your admin sent, but I don't think it would help anything. I'll repeat: the IMAP protocol is DESIGNED to be used for LONG TERM CONNECTIONS. A well-administered IMAP server (and a well-configured IMAP client) should allow you to remain connected for as long as you want (even years at a time). If you cannot remain connected for as long as you want (assuming your client has a reasonably low (e.g. five or ten minute) timeout), then something on the server is broken---either the server configuration or the server software. Heck, IMAP even has the IDLE command, which allows clients to tell the server "let me know when new mail arrives", thereby avoiding periodic checks and saving tons of bandwidth. ~Kyle - -- Men at some time are masters of their fates: The fault, dear Brutus, is not in our stars, But in ourselves, that we are underlings. -- Shakespeare, in Julius Caesar -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJLS2sDAAoJECuveozR/AWeJ2IP/2I1s+uNUPzHokxudxZHY5qC Hr0lKyXD/6ZKfSdd0NBjTZvbXv5A08iuXiLlx49xOYvWEAfXTehFS2CU/h0Wsy08 RxqbIsJaJwzZtMpkAp/hXPB9QDDRikyITujSfeRMgO6pTyknD/cWP/o78N8ZwQ4R 8WEHAn0aHS/BLEQ84up7wcvTitsx/lx/mMLyiBgN63SKyjxU2wq7AojcjNzZnZP1 3yGcQwcLbtIr9MhP/hklaIOEAbkqqaciOTK1YMZSAjIlyx9CewrD/rCkDWpSsLLi e7rYlevND6qIaibGAo1Sl/zwa7a811YN4vRxpczZSgv2vPSJH0+H/7+cQPHABzIR opoj24aOGaeJxMsOqJOr5OSj7HAqVz+9ZyCa6/aHjimsMeF1ERJL0Sf2aZEPgTKN EHFLZc2q/EeeDqQO+kfyxrdmEKhDtSBrI+ykalh5fjLL5q82CNvWgKodTM99yiC9 kQKPpJeHm8v5pYZ0f/2bmVFreoXFpHYOPg2mh1HiG5XYLpjS1keWmgiJy7/muHCL FI030oZgdmD5gYTtOfZdON3CfSCbO9Gk6817MNMz36De7bsNuBMfyfrAeHteX+TG vK8UuTNljguuV2gvdv5F8q6lq6CCbST9v3jjAGOtjBxsNhDXnMdMg/gYJJXXvjsC wAStX1ygr7HkxvAJrhsz =lvBd -----END PGP SIGNATURE-----