I used the imap sensor to read mail on Gmail A/C, but it showed the following error :

Error establishing secure connection ([TLS10-12] Socket Error # 10060 Connection timed out. [TLS10] Socket Error # 10060 Connection timed out. [SSL30] Socket Error # 10060 Connection timed out. [SSL20] Socket Error # 10060 Connection timed out.)

What's wrong with my setting ?


Article Comments

Can you try to set the sensors transpot level security setting to "Use Transport-Level Security if available" and see if that works? Works within my local installation :)


Mar, 2015 - Permalink

I tried all setting below but still failed !

TRANSPORT-LEVEL SECURITY

IMAP Specific

Use Transport-Level Security if available using StartTLS (default) Use Transport-Level Security if available Enforce Transport-Level Security using StartTLS Enforce Transport-Level Security

Any idea


Mar, 2015 - Permalink

it works after change of google setting :

Access for less secure apps -> turned on

round trip also works OK for Gmail.

But it doesn't work for Yahoo Mail and O365, how to solve it ?


Mar, 2015 - Permalink

Do you get the same error with them?


Mar, 2015 - Permalink

imap round trip for O365 OK but the imap server is "smtp.office365.com", not "imap.office365.com", very strange

But imap for Yahoo still failed, same error.


Mar, 2015 - Permalink

Well it seems to work when you use the following settings:

SMTP

Server: smtp.mail.yahoo.com
Port: 587
Username: your-yahoo-user
Password: your-yahoo-password
Transport level security: Use transport level security if available

Can you try it with these settings? :) Remember to use the correct settings for the IMAP server in the configuration as well.


Mar, 2015 - Permalink

tried but still failed, same error code 10060


Mar, 2015 - Permalink

Anything that blocks the communication between PRTG and yahoo? Are you on the latest version (15.1.14.1610)?


Mar, 2015 - Permalink

Gmail is OK after Access for less secure apps -> turned on in gmail A/C

Any similar setting for Yahoo

Yahoo setting as follows :

smtp device : smtp.mail.yahoo.com imap sensor : port : 993 use transport-level security if available

version of PRTG : 15.1.14.1609


Mar, 2015 - Permalink

No I didn't have to set anything similar within my yahoo test account - in fact, there are no security settings like that in their account setup :(


Mar, 2015 - Permalink

problem solved after change from smtp.mail.yahoo.com to imap.mail.yahoo.com

different setting for gmail and yahoo !!


Mar, 2015 - Permalink

If you have 2-step authentication turned on for Gmail, you'll need to retrieve an "app password". You can find App Passwords in "My Account" --> "Sign in & Security" --> "Signing in to Google"


Feb, 2017 - Permalink