Bug#637478: [pkg-fetchmail-maint] Bug#637478: fetchmail: 28 minute IDLE timeout, should be configurable

2011-08-21 Thread Matthias Andree
Am 22.08.2011 00:22, schrieb Anders Kaseorg:
 On 08/12/2011 03:19 AM, Matthias Andree wrote:
 The IMAP standard (RFC-3501) has clear requirements with respect to how
 long servers need to tolerate connections left idle by clients,
 
 As much as the proxy’s behavior sucks, the proxy is under no obligation
 to support the IMAP standard.

Well, I believe in freedom of religion, but I'm not interested in
compensating for your IT dept's disinterest in standards or their
deploying underfeatured proxies.

Set a low daemon interval instead.  Most commercial ISPs permit
intervals as low as 60 seconds for IMAP, so check what is permitted for
your site.

And consider if you really need near-real-time mail access and get
distracted from other work.  Mail isn't meant as real-time or
full-duplex medium.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#637478: [pkg-fetchmail-maint] Bug#637478: fetchmail: 28 minute IDLE timeout should be configurable

2011-08-12 Thread Matthias Andree
Am 12.08.2011 00:13, schrieb Anders Kaseorg:
 Package: fetchmail
 Version: 6.3.18-2
 
 I’m running fetchmail through a proxy server that drops any connections 
 left idle for more than a little over 2 minutes.  In order to be able to 
 use IMAP IDLE, I need to reduce this hardcoded timeout value in 
 imap_idle():
 
 if (has_idle) {
 /* special timeout to terminate the IDLE and re-issue it
  * at least every 28 minutes:
  * (the server may have an inactivity timeout) */
 mytimeout = idle_timeout = 1680; /* 28 min */
 
 It would be nice to have that as a configuration option.
 
 In the unlikely event that this is helpful to someone else, here’s the 
 i386 binary patch I’m using now (28 m = 0x690 s, 2 m = 0x78 s):
 perl -0777 -pe 's/(\xc7\x05.{4})\x90\x06\x00\x00/$1\x78\x00\x00\x00/g' -i 
 /usr/bin/fetchmail

Anders,

The IMAP standard (RFC-3501) has clear requirements with respect to how
long servers need to tolerate connections left idle by clients, and if
the connection gets dropped so soon, IDLE support gets pointless.

Please file a bug or support request against the proxy that drops the
connection so soon in the IDLE phase.

Best regards,
Matthias



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org