tags 301964 +patch thanks Here's a patch that works for me. It causes fetchmail to try to close the socket _twice_ (once as mailserver_socket and once as mailserver_socket_temp), but at least it works.
-- Lionel
diff --recursive -u fetchmail-6.2.5/debian/changelog fetchmail-6.2.5.lio/debian/changelog --- fetchmail-6.2.5/debian/changelog 2005-03-29 15:29:36.689770402 +0200 +++ fetchmail-6.2.5.lio/debian/changelog 2005-03-29 14:58:08.288320222 +0200 @@ -1,3 +1,9 @@ +fetchmail (6.2.5-13) unstable; urgency=low + + * Tentative fix for #301964 + + -- Lionel Elie Mamane <[EMAIL PROTECTED]> Tue, 29 Mar 2005 14:58:08 +0200 + fetchmail (6.2.5-12) unstable; urgency=medium * Provide fetchmail-ssl package to facilitate upgrades from woody. diff --recursive -u fetchmail-6.2.5/driver.c fetchmail-6.2.5.lio/driver.c --- fetchmail-6.2.5/driver.c 2005-03-29 15:29:36.677772335 +0200 +++ fetchmail-6.2.5.lio/driver.c 2005-03-29 15:28:09.704785673 +0200 @@ -1128,7 +1128,7 @@ { report(stderr, GT_("SSL connection failed.\n")); err = PS_AUTHFAIL; - goto closeUp; + goto cleanUpNoLogout; } /* Fetchmail didn't hang on SSLOpen, @@ -1490,6 +1490,7 @@ (ctl->server.base_protocol->logout_cmd)(mailserver_socket, ctl); } + cleanUpNoLogout: /* try to clean up all streams */ release_sink(ctl); smtp_close(ctl, 0); Only in fetchmail-6.2.5/po: ca.gmo Only in fetchmail-6.2.5/po: cs.gmo Only in fetchmail-6.2.5/po: da.gmo Only in fetchmail-6.2.5/po: de.gmo Only in fetchmail-6.2.5/po: el.gmo Only in fetchmail-6.2.5/po: es.gmo diff --recursive -u fetchmail-6.2.5/po/fetchmail.pot fetchmail-6.2.5.lio/po/fetchmail.pot --- fetchmail-6.2.5/po/fetchmail.pot 2005-03-29 15:29:36.708767341 +0200 +++ fetchmail-6.2.5.lio/po/fetchmail.pot 2005-03-29 15:14:40.083693073 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2004-11-28 19:18-0600\n" +"POT-Creation-Date: 2005-03-29 15:14+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n" "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n" @@ -400,76 +400,76 @@ msgid "bogus message count!" msgstr "" -#: driver.c:1513 +#: driver.c:1514 msgid "socket" msgstr "" -#: driver.c:1516 +#: driver.c:1517 msgid "missing or bad RFC822 header" msgstr "" -#: driver.c:1519 +#: driver.c:1520 msgid "MDA" msgstr "" -#: driver.c:1522 +#: driver.c:1523 msgid "client/server synchronization" msgstr "" -#: driver.c:1525 +#: driver.c:1526 msgid "client/server protocol" msgstr "" -#: driver.c:1528 +#: driver.c:1529 msgid "lock busy on server" msgstr "" -#: driver.c:1531 +#: driver.c:1532 msgid "SMTP transaction" msgstr "" -#: driver.c:1534 +#: driver.c:1535 msgid "DNS lookup" msgstr "" -#: driver.c:1537 +#: driver.c:1538 msgid "undefined error\n" msgstr "" -#: driver.c:1548 +#: driver.c:1549 #, c-format msgid "%s error while delivering to SMTP host %s\n" msgstr "" -#: driver.c:1550 +#: driver.c:1551 #, c-format msgid "%s error while fetching from %s\n" msgstr "" -#: driver.c:1558 +#: driver.c:1559 #, c-format msgid "post-connection command failed with status %d\n" msgstr "" -#: driver.c:1579 +#: driver.c:1580 msgid "Kerberos V4 support not linked.\n" msgstr "" -#: driver.c:1587 +#: driver.c:1588 msgid "Kerberos V5 support not linked.\n" msgstr "" -#: driver.c:1598 +#: driver.c:1599 #, c-format msgid "Option --flush is not supported with %s\n" msgstr "" -#: driver.c:1604 +#: driver.c:1605 #, c-format msgid "Option --all is not supported with %s\n" msgstr "" -#: driver.c:1612 +#: driver.c:1613 #, c-format msgid "Option --limit is not supported with %s\n" msgstr "" Only in fetchmail-6.2.5/po: fr.gmo Only in fetchmail-6.2.5/po: gl.gmo Only in fetchmail-6.2.5/po: ja.gmo Only in fetchmail-6.2.5/po: pl.gmo Only in fetchmail-6.2.5/po: pt_BR.gmo Only in fetchmail-6.2.5/po: sk.gmo Only in fetchmail-6.2.5/po: tr.gmo