From: <ad...@be...> - 2007-01-27 11:42:58
|
Bug #10133, was updated on 2007-Jan-27 11:40 Here is a current snapshot of the bug. Project: Community Fetchmail Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: ticho Assigned to : none Summary: fetchmail-6.3.6 SSL/TLS negotation fails on some servers Details: Hello, I'm pushing upstream a bug that was reported in Gentoo Bugzilla as bug #163782. Here is output from fetchmail 6.3.4 and 6.3.6. Note that 6.3.4 works nicely with TLS1. # fetchmail -v --check -N -f /etc/fetchmailrc fetchmail: WARNING: Running as root is discouraged. fetchmail: 6.3.6 querying gye.satnet.net (protocol POP3) at Thu Jan 25 12:23:05 2007: poll started Trying to connect to XXX.XXX.XXX.XXX/110...connected. fetchmail: POP3< +OK Hello there. fetchmail: POP3> CAPA fetchmail: POP3< +OK Here's what I can do: fetchmail: POP3< STLS fetchmail: POP3< TOP fetchmail: POP3< USER fetchmail: POP3< LOGIN-DELAY 10 fetchmail: POP3< PIPELINING fetchmail: POP3< UIDL fetchmail: POP3< IMPLEMENTATION Courier Mail Server fetchmail: POP3< . fetchmail: POP3> STLS fetchmail: POP3< +OK Begin SSL/TLS negotiation now. fetchmail: gye.satnet.net: opportunistic upgrade to TLS failed, trying to continue. fetchmail: POP3> USER <username> fetchmail: Unknown login or authentication error on <username>@gye.satnet.net fetchmail: socket error while fetching from <username>@gye.satnet.net If I force no SSL, it works fine, though. Note that if I use version 6.3.4, I have no problems using SSL mode: # fetchmail -v --check -N -f /etc/fetchmailrc fetchmail: WARNING: Running as root is discouraged. fetchmail: 6.3.4 querying gye.satnet.net (protocol POP3) at Thu Jan 25 12:32:05 2007: poll started fetchmail: POP3< +OK Hello there. fetchmail: POP3> CAPA fetchmail: POP3< +OK Here's what I can do: fetchmail: POP3< STLS fetchmail: POP3< TOP fetchmail: POP3< USER fetchmail: POP3< LOGIN-DELAY 10 fetchmail: POP3< PIPELINING fetchmail: POP3< UIDL fetchmail: POP3< IMPLEMENTATION Courier Mail Server fetchmail: POP3< . fetchmail: POP3> STLS fetchmail: POP3< +OK Begin SSL/TLS negotiation now. fetchmail: Repoll immediately on <username>@gye.satnet.net fetchmail: POP3< +OK Hello there. fetchmail: POP3> CAPA fetchmail: POP3< +OK Here's what I can do: fetchmail: POP3< STLS fetchmail: POP3< TOP fetchmail: POP3< USER fetchmail: POP3< LOGIN-DELAY 10 fetchmail: POP3< PIPELINING fetchmail: POP3< UIDL fetchmail: POP3< IMPLEMENTATION Courier Mail Server fetchmail: POP3< . fetchmail: POP3> USER <username> fetchmail: POP3< +OK Password required. fetchmail: POP3> PASS * fetchmail: POP3< +OK logged in. fetchmail: POP3> STAT fetchmail: POP3< +OK 0 0 fetchmail: No mail for <username> at gye.satnet.net fetchmail: POP3> QUIT I was able to reproduce this myself with different error message from the server: fetchmail: 6.3.6 querying gye.satnet.net (protocol POP3) at So 27. január 2007, 11:40:13 CET: poll started Trying to connect to 200.63.192.22/110...connected. fetchmail: POP3< +OK Hello there. fetchmail: POP3> CAPA fetchmail: POP3< +OK Here's what I can do: fetchmail: POP3< STLS fetchmail: POP3< TOP fetchmail: POP3< USER fetchmail: POP3< LOGIN-DELAY 10 fetchmail: POP3< PIPELINING fetchmail: POP3< UIDL fetchmail: POP3< IMPLEMENTATION Courier Mail Server fetchmail: POP3< . fetchmail: POP3> STLS fetchmail: POP3< +OK Begin SSL/TLS negotiation now. fetchmail: gye.satnet.net: upgrade to TLS failed. fetchmail: Unknown login or authentication error on ti...@gy... fetchmail: socket error while fetching from ti...@gy... fetchmail: 6.3.6 querying gye.satnet.net (protocol POP3) at So 27. január 2007, 11:40:14 CET: poll completed fetchmail: Query status=2 (SOCKET) fetchmail: normal termination, status 2 The .fetchmailrc I used for this test was: poll gye.satnet.net proto pop3 user ticho pass "asd" is ticho sslproto TLS1 fetchall keep For detailed info, follow this link: http://developer.berlios.de/bugs/?func=detailbug&bug_id=10133&group_id=1824 |