From: David G. <da...@dg...> - 2005-03-23 13:20:26
|
many moons ago (8 Nov 04) Matthias Andree wrote: >David Greaves <da...@dg...> writes: > > > >>Summary : fetchmail hangs during pop3 pull after a mail with a null >>char. >> >> > >Can you try the tarball from >http://home.pages.de/~mandree/tmp/fetchmail-6.2.6.tar.bz2 and see if the >problem persists? There have been several bugfixes since 6.2.5, the >noteworthy documented at http://decoy.wox.org/svn/fetchmail/trunk/NEWS - >just to make sure we aren't chasing a bug that's already fixed? > >NOTE the tarball there isn't the final 6.2.6 release tarball but a >preliminary snapshot and may see further changes before being released >as 6.2.6. > >Thanks in advance. > > Hi again Matthias :) This was the reason I was upgrading to 6.2.5.991 I've included my original message in case you don't have a copy to hand. I have a message in my pop queue with a null char in it (which is what triggers this). There's a log below. I can work around the problem if I "expunge 1" - but that's nasty. As I said in my original message, I think it was sink.c calling smtp_ok - have you any suggestions as to where/how to debug this? David log: # /usr/bin/fetchmail -N -v -v --nosyslog -f /etc/fetchmailrc fetchmail: starting fetchmail 6.2.5.991 daemon fetchmail: 6.2.5.991 querying pop3.ukfsn.org (protocol POP3) at Wed 23 Mar 2005 11:57:08 AM GMT: poll started fetchmail: POP3< +OK <ce2...@po...> fetchmail: POP3> CAPA fetchmail: POP3< +OK Capability list follows fetchmail: POP3< PIPELINING fetchmail: POP3< TOP fetchmail: POP3< USER fetchmail: POP3< UIDL fetchmail: POP3< STLS fetchmail: POP3< . fetchmail: POP3> USER dgreaves fetchmail: POP3< +OK Tell me your password. fetchmail: POP3> PASS * fetchmail: POP3< +OK Welcome aboard! You have 22 messages. fetchmail: selecting or re-polling default folder fetchmail: POP3> STAT fetchmail: POP3< +OK 22 105420 22 messages for dgreaves at pop3.ukfsn.org (105420 octets). fetchmail: POP3> LIST 1 fetchmail: POP3< +OK 1 3982 fetchmail: POP3> RETR 1 fetchmail: POP3< +OK Message follows <snip some good pop'ing> fetchmail: LMTP< 250 2.1.5 Ok flushed fetchmail: POP3> DELE 2 fetchmail: POP3< +OK Done. fetchmail: POP3> LIST 3 fetchmail: POP3< +OK 3 2852 fetchmail: POP3> RETR 3 fetchmail: POP3< +OK Message follows reading message dgr...@po...:3 of 22 (2852 octets) About to rewrite Return-Path: <ca...@ab...> Rewritten version is Return-Path: <ca...@ab...> About to rewrite From: Susan M.Taylor <ca...@ab...> Rewritten version is From: Susan M.Taylor <ca...@ab...> About to rewrite To: 64....@dg... Rewritten version is To: 64....@dg... fetchmail: forwarding to /var/imap/socket/lmtp fetchmail: LMTP> MAIL FROM:<ca...@ab...> SIZE=2852 fetchmail: LMTP< 250 2.1.0 ok fetchmail: LMTP> RCPT TO:<da...@dg...> fetchmail: LMTP< 250 2.1.5 ok fetchmail: LMTP> DATA fetchmail: LMTP< 354 go ahead #******************************************.**************************fetchmail: message dgr...@po...:3 was not the expected length (2947 actual != 2852 expected) fetchmail: LMTP>. (EOM) fetchmail: LMTP< 554 5.6.0 Message contains NUL characters fetchmail: SMTP< 220 willow.dgreaves.com ESMTP Exim 4.20 Wed, 23 Mar 2005 11:57:11 +0000 fetchmail: SMTP> HELO localhost fetchmail: SMTP< 250 willow.dgreaves.com Hello [IbwiAqeOpcFJkOALoy6jCLP6WNxrOhWp] at localhost.localdomain [127.0.0.1] fetchmail: SMTP> MAIL FROM:<> fetchmail: SMTP< 250 OK fetchmail: SMTP> RCPT TO:<da...@dg...> fetchmail: SMTP< 250 Accepted fetchmail: SMTP> DATA fetchmail: SMTP< 354 Enter message, ending with "." on a line by itself fetchmail: SMTP: (bounce-message body) fetchmail: SMTP>. (EOM) fetchmail: SMTP< 250 OK id=1DE4U3-0008M5-Lv fetchmail: SMTP> QUIT fetchmail: SMTP< 221 willow.dgreaves.com closing connection flushed fetchmail: POP3> DELE 3 fetchmail: POP3< +OK Done. fetchmail: POP3> LIST 4 fetchmail: POP3< +OK 4 3583 fetchmail: POP3> RETR 4 fetchmail: POP3< +OK Message follows reading message dgr...@po...:4 of 22 (3583 octets) About to rewrite Return-Path: <co...@gu...> Rewritten version is Return-Path: <co...@gu...> About to rewrite From: Colin Guthrie <co...@gu...> Rewritten version is From: Colin Guthrie <co...@gu...> About to rewrite To: David Greaves <da...@dg...> Rewritten version is To: David Greaves <da...@dg...> fetchmail: forwarding to /var/imap/socket/lmtp fetchmail: SMTP> MAIL FROM:<co...@gu...> BODY=7BIT SIZE=3583 fetchmail: SMTP< 250 2.1.0 ok fetchmail: SMTP> RCPT TO:<da...@dg...> fetchmail: SMTP< 250 2.1.5 ok fetchmail: SMTP> DATA fetchmail: SMTP< 354 go ahead #******************************.******************************fetchmail: message dgr...@po...:4 was not the expected length (3678 actual != 3583 expected) fetchmail: SMTP>. (EOM) fetchmail: SMTP< 250 2.1.5 Ok <at this point fetchmail hangs...> fetchmail: smtp listener protocol error not flushed fetchmail: POP3> LIST 5 <and the server go bored of waiting> fetchmail: POP3< -ERR Client has been idle for too long. fetchmail: Client has been idle for too long. fetchmail: POP3> QUIT fetchmail: client/server protocol error while fetching from pop3.ukfsn.org |