Bug#338007: [pkg-fetchmail-maint] Bug#338007: fetchmail: certain messages cause "client/server synchronization error while fetching ..."

Nathaniel W. Turner nate at houseofnate.net
Wed Nov 9 15:02:51 UTC 2005


On Monday 07 November 2005 08:27 pm, Matthias Andree wrote:
> Does the problem also affect 6.2.9-rc7?

Yes, I see the same problem with 6.2.9-rc7.  The results of running fetchmail 
6.2.9-rc7 against the same test messages are attached to this message.

Cheers,
nate

-- 
Nathaniel W. Turner
http://www.houseofnate.net/
Tel: +1 508 579 1948 (mobile)
-------------- next part --------------
09:40:28 nturner at codeine(fetchmail-6.2.9-rc7)$ sudo -u fetchmail -H ./bin/fetchmail -vv -f /etc/fetchmailrc
fetchmail: 6.2.9-rc7 querying mail63.csoft.net (protocol IMAP) at Wed 09 Nov 2005 09:45:16 AM EST: poll started
fetchmail: mail63.csoft.net key fingerprint: BE:6E:98:B9:4F:CC:0E:1F:E6:D1:E0:48:67:20:BA:9A
fetchmail: Server certificate verification error: self signed certificate
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "canprev" *
fetchmail: IMAP< A0002 OK LOGIN Ok.
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
fetchmail: IMAP< * 2 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1050373950] Ok
fetchmail: IMAP< * OK [MYRIGHTS "acdilrsw"] ACL
fetchmail: IMAP< A0003 OK [READ-WRITE] Ok
fetchmail: 2 messages waiting after first poll
fetchmail: IMAP> A0004 EXPUNGE
fetchmail: IMAP< A0004 OK EXPUNGE completed
fetchmail: 2 messages waiting after expunge
2 messages for canprev at mail63.csoft.net.
fetchmail: IMAP> A0005 FETCH 1:2 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 429)
fetchmail: IMAP< * 2 FETCH (RFC822.SIZE 22123)
fetchmail: IMAP< A0005 OK FETCH completed.
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {429}
reading message canprev at mail63.csoft.net:1 of 2 (429 header octets)
About to rewrite To: <nturner at cancerprev.org>
Rewritten version is To: <nturner at cancerprev.org>

About to rewrite From: <user at example.com>
Rewritten version is From: <user at example.com>

fetchmail: passed through nturner at cancerprev.org matching cancerprev.org
fetchmail: SMTP< 220 codeine.cancerprev.org ESMTP
fetchmail: SMTP> EHLO codeine.cancerprev.org
fetchmail: SMTP< 250-codeine.cancerprev.org Ok.
fetchmail: SMTP< 250-STARTTLS
fetchmail: SMTP< 250-XVERP=Courier
fetchmail: SMTP< 250-XEXDATA
fetchmail: SMTP< 250-XSECURITY=NONE,STARTTLS
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250 DSN
fetchmail: forwarding to mail.cancerprev.org
fetchmail: SMTP> MAIL FROM:<user at example.com> SIZE=429
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> RCPT TO:<nturner at cancerprev.org>
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Ok.
#
fetchmail: IMAP< This is the message body. The preceding blank line ends with \r\n, as do
fetchmail: IMAP< all the other lines in this message.
fetchmail: IMAP< This line contains the word OK somewhere in it.
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP<
fetchmail: IMAP< This message will cause fetchmail to choke.
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed.
fetchmail: IMAP> A0008 LOGOUT
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {213}
fetchmail: IMAP< This is the message body. The preceding blank line ends with \r\n, as do
fetchmail: IMAP< all the other lines in this message.
fetchmail: IMAP< This line contains the word OK somewhere in it.
fetchmail: IMAP<
fetchmail: IMAP< This message will cause fetchmail to choke.
fetchmail: IMAP< )
fetchmail: IMAP< A0007 OK FETCH completed.
fetchmail: IMAP< * BYE Courier-IMAP server shutting down
fetchmail: IMAP< A0008 OK LOGOUT completed
fetchmail: client/server synchronization error while fetching from mail63.csoft.net
fetchmail: 6.2.9-rc7 querying mail63.csoft.net (protocol IMAP) at Wed 09 Nov 2005 09:45:21 AM EST: poll completed
fetchmail: Query status=7 (ERROR)
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 7
fetchmail: Deleting fetchids file.
-------------- next part --------------
09:49:25 nturner at codeine(fetchmail-6.2.9-rc7)$ sudo -u fetchmail -H ./bin/fetchmail -vv -f /etc/fetchmailrc
fetchmail: 6.2.9-rc7 querying mail63.csoft.net (protocol IMAP) at Wed 09 Nov 2005 09:49:29 AM EST: poll started
fetchmail: mail63.csoft.net key fingerprint: BE:6E:98:B9:4F:CC:0E:1F:E6:D1:E0:48:67:20:BA:9A
fetchmail: Server certificate verification error: self signed certificate
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "canprev" *
fetchmail: IMAP< A0002 OK LOGIN Ok.
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1050373950] Ok
fetchmail: IMAP< * OK [MYRIGHTS "acdilrsw"] ACL
fetchmail: IMAP< A0003 OK [READ-WRITE] Ok
fetchmail: 1 message waiting after first poll
fetchmail: IMAP> A0004 EXPUNGE
fetchmail: IMAP< A0004 OK EXPUNGE completed
fetchmail: 1 message waiting after expunge
1 message for canprev at mail63.csoft.net.
fetchmail: IMAP> A0005 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 461)
fetchmail: IMAP< A0005 OK FETCH completed.
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {461}
reading message canprev at mail63.csoft.net:1 of 1 (461 header octets)
About to rewrite To: <nturner at cancerprev.org>
Rewritten version is To: <nturner at cancerprev.org>

About to rewrite From: <user at example.com>
Rewritten version is From: <user at example.com>

fetchmail: passed through nturner at cancerprev.org matching cancerprev.org
fetchmail: SMTP< 220 codeine.cancerprev.org ESMTP
fetchmail: SMTP> EHLO codeine.cancerprev.org
fetchmail: SMTP< 250-codeine.cancerprev.org Ok.
fetchmail: SMTP< 250-STARTTLS
fetchmail: SMTP< 250-XVERP=Courier
fetchmail: SMTP< 250-XEXDATA
fetchmail: SMTP< 250-XSECURITY=NONE,STARTTLS
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250 DSN
fetchmail: forwarding to mail.cancerprev.org
fetchmail: SMTP> MAIL FROM:<user at example.com> SIZE=461
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> RCPT TO:<nturner at cancerprev.org>
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Ok.
#
fetchmail: IMAP< This is the message body. The preceding blank line ends with \r\n, as do
fetchmail: IMAP< all the other lines in this message.
fetchmail: IMAP<
fetchmail: IMAP< This message will not cause fetchmail to choke, because the message body
fetchmail: IMAP< does not contain an O followed immediately by a K.
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed.
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {245}
 (245 body octets) *****
fetchmail: IMAP< )
fetchmail: IMAP< A0007 OK FETCH completed.
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok. 43720C7B.00006990
 flushed
fetchmail: IMAP> A0008 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Seen \Deleted \Recent))
fetchmail: IMAP< A0008 OK STORE completed.
fetchmail: IMAP> A0009 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< A0009 OK EXPUNGE completed
fetchmail: selecting or re-polling default folder
fetchmail: 0 messages waiting after re-poll
fetchmail: IMAP> A0010 LOGOUT
fetchmail: IMAP< * BYE Courier-IMAP server shutting down
fetchmail: IMAP< A0010 OK LOGOUT completed
fetchmail: 6.2.9-rc7 querying mail63.csoft.net (protocol IMAP) at Wed 09 Nov 2005 09:49:31 AM EST: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye.
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.
-------------- next part --------------
09:51:55 nturner at codeine(fetchmail-6.2.9-rc7)$ sudo -u fetchmail -H ./bin/fetchmail -vv -f /etc/fetchmailrc
fetchmail: 6.2.9-rc7 querying mail63.csoft.net (protocol IMAP) at Wed 09 Nov 2005 09:51:56 AM EST: poll started
fetchmail: mail63.csoft.net key fingerprint: BE:6E:98:B9:4F:CC:0E:1F:E6:D1:E0:48:67:20:BA:9A
fetchmail: Server certificate verification error: self signed certificate
fetchmail: IMAP< * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
fetchmail: IMAP> A0001 CAPABILITY
fetchmail: IMAP< * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE AUTH=PLAIN ACL ACL2=UNION XCOURIEROUTBOX=INBOX.Outbox
fetchmail: IMAP< A0001 OK CAPABILITY completed
fetchmail: Protocol identified as IMAP4 rev 1
fetchmail: IMAP> A0002 LOGIN "canprev" *
fetchmail: IMAP< A0002 OK LOGIN Ok.
fetchmail: selecting or re-polling default folder
fetchmail: IMAP> A0003 SELECT "INBOX"
fetchmail: IMAP< * FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
fetchmail: IMAP< * OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
fetchmail: IMAP< * 1 EXISTS
fetchmail: IMAP< * 1 RECENT
fetchmail: IMAP< * OK [UIDVALIDITY 1050373950] Ok
fetchmail: IMAP< * OK [MYRIGHTS "acdilrsw"] ACL
fetchmail: IMAP< A0003 OK [READ-WRITE] Ok
fetchmail: 1 message waiting after first poll
fetchmail: IMAP> A0004 EXPUNGE
fetchmail: IMAP< A0004 OK EXPUNGE completed
fetchmail: 1 message waiting after expunge
1 message for canprev at mail63.csoft.net.
fetchmail: IMAP> A0005 FETCH 1 RFC822.SIZE
fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 446)
fetchmail: IMAP< A0005 OK FETCH completed.
fetchmail: IMAP> A0006 FETCH 1 RFC822.HEADER
fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {215}
reading message canprev at mail63.csoft.net:1 of 1 (215 header octets)
About to rewrite To: <nturner at cancerprev.org>
Rewritten version is To: <nturner at cancerprev.org>

About to rewrite From: <user at example.com>
Rewritten version is From: <user at example.com>

fetchmail: passed through nturner at cancerprev.org matching cancerprev.org
fetchmail: SMTP< 220 codeine.cancerprev.org ESMTP
fetchmail: SMTP> EHLO codeine.cancerprev.org
fetchmail: SMTP< 250-codeine.cancerprev.org Ok.
fetchmail: SMTP< 250-STARTTLS
fetchmail: SMTP< 250-XVERP=Courier
fetchmail: SMTP< 250-XEXDATA
fetchmail: SMTP< 250-XSECURITY=NONE,STARTTLS
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250-SIZE
fetchmail: SMTP< 250 DSN
fetchmail: forwarding to mail.cancerprev.org
fetchmail: SMTP> MAIL FROM:<user at example.com> SIZE=446
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> RCPT TO:<nturner at cancerprev.org>
fetchmail: SMTP< 250 Ok.
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 Ok.
#
fetchmail: IMAP< )
fetchmail: IMAP< A0006 OK FETCH completed.
fetchmail: IMAP> A0007 FETCH 1 BODY.PEEK[TEXT]
fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {231}
 (231 body octets) *****
fetchmail: IMAP< )
fetchmail: IMAP< A0007 OK FETCH completed.
fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 Ok. 43720D0D.000069A8
 flushed
fetchmail: IMAP> A0008 STORE 1 +FLAGS (\Seen \Deleted)
fetchmail: IMAP< * 1 FETCH (FLAGS (\Seen \Deleted \Recent))
fetchmail: IMAP< A0008 OK STORE completed.
fetchmail: IMAP> A0009 EXPUNGE
fetchmail: IMAP< * 1 EXPUNGE
fetchmail: IMAP< * 0 EXISTS
fetchmail: IMAP< * 0 RECENT
fetchmail: IMAP< A0009 OK EXPUNGE completed
fetchmail: selecting or re-polling default folder
fetchmail: 0 messages waiting after re-poll
fetchmail: IMAP> A0010 LOGOUT
fetchmail: IMAP< * BYE Courier-IMAP server shutting down
fetchmail: IMAP< A0010 OK LOGOUT completed
fetchmail: 6.2.9-rc7 querying mail63.csoft.net (protocol IMAP) at Wed 09 Nov 2005 09:51:57 AM EST: poll completed
fetchmail: not swapping UID lists, no UIDs seen this query
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 Bye.
fetchmail: Deleting fetchids file.
fetchmail: normal termination, status 0
fetchmail: Deleting fetchids file.


More information about the pkg-fetchmail-maint mailing list