View Single Post
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#14
Originally Posted by peterleinchen View Post
I am pretty sure.

Else it may be a certificate problem, which I could exclude in my case.
Try
openssl s_client -connect imap.domain.net:993
or
openssl s_client -connect imap.domain.net:993 -ssl3
(should or better may fail)
openssl s_client -connect imap.domain.net:993 -tls1
(should work)
So, when I execute openssl s_client -connect imap.domain.net:993 -ssl3, I get :

Code:
CONNECTED(00000003)
17589:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s3_pkt.c:1099:SSL alert number 40
17589:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:536:
And when I execute openssl s_client -connect imap.domain.net:993 -tls1, I get a bunch of things and at the end I have a message that says :

Code:
OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE NAMESPACE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
So, if I understand correctly it is exactly what you said.

But now how to use my account in modest? Should I put "Normal (TLS)". Will it be secured that way? In the configuration page of my hosting provider I have some settings :


Code:
SSL / TLS (Recommended)
User name : adress@domain.net
Password : your password
Server in : hosting24.hostway.net

    IMAP Port: 993
    POP3 Port: 995

Server out : hosting24.hostway.net

    SMTP Port: 465

The authentication is required for IMAP, POP3 and SMTP.
Code:
Non-SSL Settings (Not recommended)
User name : adress@domain.net
Password : your password
Server in : mail.domain.net

    IMAP Port: 143
    POP3 Port: 110

Server out : mail.domain.net

    SMTP Port: 587

The authentication is required for IMAP, POP3 and SMTP.
And for what I understand it will not be secured if I use IMAP on port 143 as it will not use SSL / TLS, and in modest settings if I put "Normale (TLS)", it will use port 143, and port 25 for SMTP (which is not available for my provider : 465 or 587).

How to configure modest knowing those informations to have a secure connection to my mail accounts?
 

The Following User Says Thank You to Malakai For This Useful Post: