fetchmail-friends
[Top] [All Lists]

Re: Now with 5.9.6.. Was: [fetchmail]fetchmail <= 5.9.5 crashing

2001-12-21 22:06:55
Quoting from A Guy Called Tyketto's mail on Thu, Dec 20, 2001 at 04:44:32PM 
-0800:
        Subject says it all. for just about every version of fetchmail from 
5.8.17 - 5.9.5, I've been having random crashes when grabbing mail from my 
provider via IMAP. See below for logging. After the 'Bad Bogus' line, 
fetchmail dies, the lockfile still existing, and I've had to restart 
fetchmail 
for it to continue grabbing mail. This only happens with IMAP. I don't get 
this problem with POP3.

        Any thoughts on this? 

                                                        BL.

my .rc:

-- snip --
poll mail.wizard.com protocol IMAP:
        dns, aka mail.wizard.com snark.wizard.com wizard.com
        user tyketto is bradl here 
        password *********;
        fetchall forcecr smtpaddress localhost
        antispam 571 550 501 554
-- snip --

Maybe, this patch should help...

===================================================================
diff -Naur fetchmail-5.9.6.orig/imap.c fetchmail-5.9.6/imap.c
--- fetchmail-5.9.6.orig/imap.c Thu Nov  8 22:00:01 2001
+++ fetchmail-5.9.6/imap.c      Sat Dec 22 10:35:33 2001
@@ -576,6 +576,7 @@
 
     *newp = unseen;
     expunged = 0;
+    deletions = 0;
 
     return(PS_SUCCESS);
 }
===================================================================

Sunil Shetye.