fetchmail-friends
[Top] [All Lists]

[fetchmail]Re: Poll fails after upgrading from 6.2.0 to 6.2.5

2004-04-15 07:01:31
On Thu, Apr 15, 2004 at 07:17:06AM +0200, Zovier wrote:
I upgraded to 1.6.5 recently and now I can't get into one of my
boxes anymore.  I'm not sure what fetchmail is complaining about,
exactly, as everything seems normal up until the error message. 
I don't see anything strange in the POP3 exchange, except maybe
that CAPA isn't done, and I'd expect it to continue with LIST.  I
have another box, which is regular POP3 over SSL instead of APOP,
which can be polled without a problem.  I hope this is enough
information for someone to figure out what the problem is.  If
not, let me know what I can do.  Thanks in advance.

Can you try the following patch (written by Sunil Shetye)?

Index: driver.c
===================================================================
--- driver.c    (revision 110)
+++ driver.c    (revision 111)
@@ -426,8 +426,11 @@
        /* for POP3, we can get the size of one mail only! Unfortunately, this
         * protocol specific test cannot be done elsewhere as the protocol
         * could be "auto". */
-       if (ctl->server.protocol == P_POP3)
+       switch (ctl->server.protocol)
+       {
+           case P_POP3: case P_APOP: case P_RPOP:
            fetchsizelimit = 1;
+       }
 
        /* Time to allocate memory to store the sizes */
        xalloca(msgsizes, int *, sizeof(int) * fetchsizelimit);

-- 
gram

Attachment: signature.asc
Description: Digital signature

<Prev in Thread] Current Thread [Next in Thread>