Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186097 - net-mail/fetchmail-6.3.8 Invalid SSL protocol '' specified, using default (SSLv23).
Summary: net-mail/fetchmail-6.3.8 Invalid SSL protocol '' specified, using default (SS...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-21 13:56 UTC by Weedy
Modified: 2007-12-03 07:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch and ebuild patch (bah,1.67 KB, patch)
2007-12-03 07:18 UTC, Weedy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Weedy 2007-07-21 13:56:17 UTC
sslproto in .fetchmailrc OR --sslproto "ssl3"/--sslproto "SSl3"

  True name of server is pophm.sympatico.ca.
  Protocol is POP3.
  All available authentication methods will be tried.
  SSL encrypted sessions enabled.
  SSL protocol: SSL23.
OR
  True name of server is pophm.sympatico.ca.
  Protocol is POP3.
  All available authentication methods will be tried.
  SSL encrypted sessions enabled.
  SSL protocol: ssl23.


fetchmail: POP3< +OK BAYC1-PAPOP17 POP3 Server ready
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR invalid command
fetchmail: invalid command
fetchmail: Repoll immediately on XXXXX@pop.bc.hotmail.com
Trying to connect to 65.54.191.188/995...connected.
Invalid SSL protocol '' specified, using default (SSLv23).

so i checked the code:
	if(myproto) {
		if(!strcasecmp("ssl2",myproto)) {
			_ctx[sock] = SSL_CTX_new(SSLv2_client_method());
		} else if(!strcasecmp("ssl3",myproto)) {
			_ctx[sock] = SSL_CTX_new(SSLv3_client_method());
		} else if(!strcasecmp("tls1",myproto)) {
			_ctx[sock] = SSL_CTX_new(TLSv1_client_method());
		} else if (!strcasecmp("ssl23",myproto)) {
			myproto = NULL;
		} else {
			fprintf(stderr,GT_("Invalid SSL protocol '%s' specified, using default (SSLv23).\n"), myproto);
			myproto = NULL;
		}
	}

So as far as I can tell "Invalid SSL protocol '' specified, using default (SSLv23)." can't be shut up, google shows me this bug should have been fixed in 6.3.7 https://bugzilla.novell.com/show_bug.cgi?id=247233 any ideas??

Reproducible: Always
Comment 1 Weedy 2007-07-21 13:58:01 UTC
oops first line should be:
sslproto in .fetchmailrc OR --sslproto "ssl23"/--sslproto "SSl23"
Comment 2 Weedy 2007-08-07 05:20:38 UTC
glad to see some progress.
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2007-09-13 14:56:33 UTC
Sorry, but shouldn't this be addressed towards upstream developers? As a packager, I can hardly do something with it...
Comment 4 Weedy 2007-12-03 07:18:08 UTC
Created attachment 137596 [details, diff]
patch and ebuild patch

Just thought I would check on this bug. Heres the fix, I can't remmeber where it came from but it's pretty tiny. Saves me hundreds of useless emails a day :D