getmailrc: socket error ([SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:727))

Bug #1907714 reported by Bill Yikes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
getmail (Ubuntu)
New
Undecided
Unassigned

Bug Description

In attempt to retrieve messages from onionmail.info using Getmail 5.13, this output results:

getmailrc: socket error ([SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:727))

The CLI command is "torsocks getmail" and this is the relevant stanza in getmailrc:

[retriever]
type=SimplePOP3SSLRetriever
server=ndo2plzaruzxk6sb.onion
port=110
username=bill
password=dogsname

When searching around, this error seems to be triggered in other Python apps as well.

Revision history for this message
Bill Yikes (yik3s) wrote :

I should also mention that I'm using a debian-based OS but not Ubuntu. I'm posting this report here because there seems to be no upstream bug tracker and Charles Cazabon has concealed the email address for use on the getmail project well.

Revision history for this message
Bill Yikes (yik3s) wrote :

And in case anyone finds "port=110" suspicious, well, it's not a typo. The mail server strangely expects port 110 to be used and also mandates use of SSL (which is not theoretically necessary on Tor but that's their deal). It works in fetchmail.

Revision history for this message
Bill Yikes (yik3s) wrote :

I noticed that cURL gives a "wrong ssl version" type of error when the scheme of an URL is "smtps://"; fixed by removing the 2nd "s", giving "smtp://" (even though it's still an SSL connection). It's bizarre.

Perhaps it's a long shot, but if getmail is in some way internally forming an URL scheme of "pop3s://", it might be worth a look particularly if cURL libs are used.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.