From: Sunil S. <sh...@bo...> - 2005-09-02 14:01:38
|
Quoting from Martin Schlienger's mail on Wed, Aug 31, 2005 at 07:52:52PM +0200: > I'm running fetchmail 6.2.5 version of fetchmail from Debian Etch > package. I noticed that the daemon fails retrieving IMAP mails after a > certain time. I launch fetchmail as daemon with the init.d script > provided by debian. To analyse the problem, I added -v option, and here > is the full log illustrating the problem. It is quite long but quite > clear too. Yes, there is an initialization bug. Could you try this patch? Index: fetchmail/transact.c =================================================================== --- fetchmail/transact.c (revision 4284) +++ fetchmail/transact.c (working copy) @@ -1382,6 +1382,7 @@ void init_transact(const struct method *proto) /* initialize state for the send and receive functions */ { + suppress_tags = FALSE; tagnum = 0; tag[0] = '\0'; /* nuke any tag hanging out from previous query */ protocol = (struct method *)proto; =================================================================== -- Sunil Shetye. |