Logging into Gmail with old mail clients

Getting old software/games running on older hardware.

Logging into Gmail with old mail clients

Postby keenmaster486 » 2018-12-30 @ 23:56

I mentioned this in my Thinkpad thread but I think this issue deserves its own thread.

I can't seem to get Outlook Express 5 to log into Gmail, even though official support and some internet research says it should be possible. I'm using IMAP for incoming and SMTP for outgoing. Now, I don't think the issue involves IMAP in particular. The same problem would present itself with POP. The error always has to do with not being able to "establish a secure connection to the server", which I take to mean that SSL is not working on Google's end. I can neither send nor receive mail; both throw the same error. Supposedly this is still up and running as long as you check the box for "access for less secure apps" which I have done. And in the past it has indeed worked for me. But somehow I can't make it work this time no matter what settings I try.

I'm using the official Google support page settings:

Incoming:
imap.gmail.com
SSL required
Port: 993

Outgoing:
smtp.gmail.com
SSL required (but they recommend TLS/STARTTLS): Yes
Port for SSL: 465
Port for TLS/STARTTLS: 587 (but I'm not using this, only SSL)

Username: my full email address
Password: my Google account password

And it is not working. I've reentered all the settings multiple times to make sure I'm not doing something wrong.

I've tried this from my old Thinkpad running Windows 3.1 and Outlook Express 5.0 16-bit, and a virtual machine running Windows 98 and Outlook Express 5.0 32-bit. Both have the exact same results.

I found a guy somewhere on the internet who claims he got it working with both OE 5 and 6, from earlier this year. But he didn't document his process.

I can't figure this out. I'm beginning to think that Google simply disabled SSL permanently without telling anyone, and the "allow access for less secure apps" switch doesn't actually do anything any more.
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby keenmaster486 » 2018-12-31 @ 00:06

Here's a short update:

I tried this in Outlook Express 6.0 in Windows XP just now. And... it logs on with no issues. I put in the exact same settings! I can't even find any additional settings in 6.0 compared to 5.0. It looks identical. Literally no difference. And yet it works in 6 but not in 5. Very frustrating!
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby Zup » 2018-12-31 @ 06:07

Keep on mind that there are a few versions of both TLS and SSL layer, and some of them has been deprecated because of security flaws.

Maybe your Windows 3.x is trying to talk to GMail with a version too old to work.
I have traveled across the universe and through the years to find Her.
Sometimes going all the way is just a start...

I'm selling some stuff!
User avatar
Zup
Oldbie
 
Posts: 1249
Joined: 2003-10-04 @ 12:16

Re: Logging into Gmail with old mail clients

Postby DosFreak » 2018-12-31 @ 06:20

You'll likely need to use a proxy or stunnel or similar.

XP supports TLS 1.0 but can support TLS 1.1 and 1.2 with the POS update. For any previous Windows OS only TLS 1.0 and earlier and the ciphers are likely deprecated.

To more easily troubleshoot these kinds of errors use wireshark or similar tools.
User avatar
DosFreak
l33t++
 
Posts: 10206
Joined: 2002-6-30 @ 16:35
Location: Your Head

Re: Logging into Gmail with old mail clients

Postby yawetaG » 2018-12-31 @ 08:11

Zup wrote:Keep on mind that there are a few versions of both TLS and SSL layer, and some of them has been deprecated because of security flaws.

Maybe your Windows 3.x is trying to talk to GMail with a version too old to work.


It's very likely that this is the problem, especially considering that various companies have discontinued the use of older SSL versions in the last year. On Unix-likes (including Mac OS X; use Homebrew) you can compile and install the latest version of OpenSSL to fix the issue. For Windows and other old systems you might be out of luck if you can't get any of the binary distributions to work.
yawetaG
Oldbie
 
Posts: 1396
Joined: 2016-6-14 @ 14:36
Location: Netherlands

Re: Logging into Gmail with old mail clients

Postby keenmaster486 » 2018-12-31 @ 15:53

Looking in the settings, Windows for Workgroups 3.11 with Internet Explorer 5 + Outlook Express 5 supports both SSL v2 and SSL v3. Studying the history of SSL, I don’t think the SSL 3 standard was changed since 1996 when it was promulgated. I see the corresponding option in XP for TLS 1.0 but that box is unchecked by default and it makes no difference; Outlook Express both 5 and 6 don’t even support TLS.
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby keenmaster486 » 2018-12-31 @ 18:52

An update:

I think it might be 128-bit encryption. IE 5.0 does not support it out-of-box, but there is an update you can get for Windows 3.1 that updates the system files to support it.

If you want it for Windows 98 it seems you have to get IE and OE 5.5. I did so, and that immediately fixed the problem.

I have a hunch that the 128-bit encryption update will also fix Outlook Express 5.0 on Windows 3.1.
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby keenmaster486 » 2019-1-02 @ 03:13

Well, I installed the 128-bit encryption thing on WFW 3.11 with OE 5 and it still doesn’t work. Disabling SSL 2.0 (leaving SSL 3.0 as the only protocol enabled) produces a different error: “server unexpectedly closed connection,” the same error I get when I disable SSL altogether. It’s almost as if OE 5 is trying to use SSL 2.0 instead of 3.0 even though 3.0 is available.

OE 5.5 still works. The question is, what changed under the hood from OE 5 to OE 5.5? I can’t find any differences in the settings.
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby yawetaG » 2019-1-02 @ 10:10

Just an idea: It could also be that the server terminates the connection based on the user agent string. You can test this using a program that can spoof that string.

But yes, Wireshark. Second that.
yawetaG
Oldbie
 
Posts: 1396
Joined: 2016-6-14 @ 14:36
Location: Netherlands

Re: Logging into Gmail with old mail clients

Postby keenmaster486 » 2019-1-02 @ 16:50

tojavu wrote:could be. but why would one want to use such a old emial client. there a re new old looking email clients out there like evolution.

Image

Edit: how would I spoof the user agent string in Windows 3.1?
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby gdjacobs » 2019-1-02 @ 20:26

For really old software that only allows older, insecure versions of SSL, why not setup a local relay device?
http://emailrelay.sourceforge.net/
plus
http://pyropus.ca/software/getmail/

Or if you want a fun time, just build it using postfix.
User avatar
gdjacobs
l33t++
 
Posts: 6322
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Re: Logging into Gmail with old mail clients

Postby bfcastello » 2019-1-13 @ 21:09

gdjacobs wrote:For really old software that only allows older, insecure versions of SSL, why not setup a local relay device?
http://emailrelay.sourceforge.net/
plus
http://pyropus.ca/software/getmail/

Or if you want a fun time, just build it using postfix.


any tutorial on how to do it? I have a raspberry PI 3 serving as a fake ISP for my dosbox WFWG 3.11, connected through Trumpet Winsock. I can get to a few http sites, but not https and at least I can use mIRC (amazing!!!). But emails is impossible. I wanted to use windows mail or outlook express.
"Design isn't just what it looks like and feels like. Design is how it works."
JOBS, Steve.
User avatar
bfcastello
Member
 
Posts: 125
Joined: 2017-9-07 @ 02:39
Location: Catalonia, Spain

Re: Logging into Gmail with old mail clients

Postby keenmaster486 » 2019-1-13 @ 22:23

I don’t think Windows Mail is possible, as it only will connect to MS Exchange Server. Unless you could run MS Exchange Server on a Raspberry Pi.
I flermmed the plootash just like you asked.

http://classictechnology.herokuapp.com
http://keenmaster486.github.io
Vintage desktops: Pentium/MMX 233 (Win95), 286-12 (MS-DOS 5.0)
Vintage laptops: IBM Thinkpad 600E, 560X, 365CD
User avatar
keenmaster486
Oldbie
 
Posts: 1681
Joined: 2016-2-16 @ 02:04
Location: Atroxus

Re: Logging into Gmail with old mail clients

Postby gdjacobs » 2019-1-14 @ 02:58

bfcastello wrote:
gdjacobs wrote:For really old software that only allows older, insecure versions of SSL, why not setup a local relay device?
http://emailrelay.sourceforge.net/
plus
http://pyropus.ca/software/getmail/

Or if you want a fun time, just build it using postfix.


any tutorial on how to do it? I have a raspberry PI 3 serving as a fake ISP for my dosbox WFWG 3.11, connected through Trumpet Winsock. I can get to a few http sites, but not https and at least I can use mIRC (amazing!!!). But emails is impossible. I wanted to use windows mail or outlook express.


Here's half of the solution:
https://unix.stackexchange.com/question ... mtp-server
You'll also need fetmail or getmail (recommended as it's not a buggy mess) to pull messages into your maildir.
User avatar
gdjacobs
l33t++
 
Posts: 6322
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Re: Logging into Gmail with old mail clients

Postby detritus olentus » 2019-1-16 @ 02:20

I've had some luck using a program called Pegasus Mail in windows 98. Their site says 3.1 is supported though I've never tried it.
Image
https://archive.org/details/@detritus_olentus
Where are my other retro New Jersey Folk?
User avatar
detritus olentus
Newbie
 
Posts: 78
Joined: 2018-8-13 @ 20:02
Location: New Jersey

Re: Logging into Gmail with old mail clients

Postby bfcastello » 2019-1-20 @ 00:20

detritus olentus wrote:I've had some luck using a program called Pegasus Mail in windows 98. Their site says 3.1 is supported though I've never tried it.


Doesn't work for Windows 3.11 for Workgroups - because protocols. Same reason for Outlook on it.

I know it does work for W98, though. But I want to use 3.11, I don't have good memories from 95/98 - only 3.11 yeah. Anyway thanks for your suggestion, I tried it, I probably didn't configure it properly, but it just could not work there.
"Design isn't just what it looks like and feels like. Design is how it works."
JOBS, Steve.
User avatar
bfcastello
Member
 
Posts: 125
Joined: 2017-9-07 @ 02:39
Location: Catalonia, Spain

Re: Logging into Gmail with old mail clients

Postby bfcastello » 2019-1-20 @ 00:21

gdjacobs wrote:
bfcastello wrote:
gdjacobs wrote:For really old software that only allows older, insecure versions of SSL, why not setup a local relay device?
http://emailrelay.sourceforge.net/
plus
http://pyropus.ca/software/getmail/

Or if you want a fun time, just build it using postfix.


any tutorial on how to do it? I have a raspberry PI 3 serving as a fake ISP for my dosbox WFWG 3.11, connected through Trumpet Winsock. I can get to a few http sites, but not https and at least I can use mIRC (amazing!!!). But emails is impossible. I wanted to use windows mail or outlook express.


Here's half of the solution:
https://unix.stackexchange.com/question ... mtp-server
You'll also need fetmail or getmail (recommended as it's not a buggy mess) to pull messages into your maildir.


Let's say what if I had already configured them ? How do I set up my outlook account to use them?
"Design isn't just what it looks like and feels like. Design is how it works."
JOBS, Steve.
User avatar
bfcastello
Member
 
Posts: 125
Joined: 2017-9-07 @ 02:39
Location: Catalonia, Spain

Re: Logging into Gmail with old mail clients

Postby gdjacobs » 2019-1-20 @ 03:05

Depends on what choices you make. Potentially clear text SMTP and POP3 settings to your relay server with no encryption at all, but definitely make sure the server is well filtered from your internet connection.
User avatar
gdjacobs
l33t++
 
Posts: 6322
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Re: Logging into Gmail with old mail clients

Postby wiretap » 2019-1-20 @ 03:27

Google also sometimes blocks "less secure" applications. For accessing via retro machines without the proper security measures available, look here for how to allow less secure apps to access your Google account: https://support.google.com/accounts/ans ... 0255?hl=en

I have a dedicated retro Google/Gmail account that I use for accessing via my XP and older machines. All of my modern Google/Gmail account stuff forwards to it. I just turned on "allow less secure apps into your account" and it works from DOS/Windows 3.1 and up. i.e. I can use any mail client with Gmail, via SMTP or POP3/IMAP. I even used Gmail up until last year on a Windows CE Jornada.

Also, I keep this stuff on a separate LAN outside of my normal more secure home LAN, just in case some obscure worm/virus gets through.
User avatar
wiretap
Member
 
Posts: 431
Joined: 2018-5-17 @ 08:26
Location: Michigan, USA

Re: Logging into Gmail with old mail clients

Postby gdjacobs » 2019-1-20 @ 03:56

The problem is with older versions of SSL being deprecated. Disabling OAuth/2FA won't address this.
User avatar
gdjacobs
l33t++
 
Posts: 6322
Joined: 2015-11-03 @ 05:51
Location: The Great White North

Next

Return to Software

Who is online

Users browsing this forum: No registered users and 0 guests