Dear HTF friends, I have been fighting with this problem for about 2 days now and i am still unable to solve it. If anyone has some advice it will be greatly appreciated. Setup : Multi server setup, ubuntu 16.0.4, nginx, ISPConfig 3.1.13p1 Problem : I recently added a new site (server2.hosting.com) and mailbox (mail.hosting.com) to one of my servers but somehow i am unable to connect to the imap/smtp mailbox for that domain. Other (older) domains work properly with TLS/Starttls but i can't seem to connect to the mail server's (mail.hosting.com) inbox for this specific one unless i disable all encryption else i get "please check your email and password and try again" from windows mail mobile. I checked the mail log and the only thing i could find is the connection session starts and an immediate logout right after.
We need more info to help you with that. If the same client settings work with a different mailbox on the same server then I guess it is a DNS problem. Maybe you are connecting to a domain which is not listed in the servers SSL certificate. What are the settings of the client that work compared to the one that don't work? Only the username/password?
Which SMTP and IMAP server name did you use, if you did not use the hostname of the server, then try to use the server hostname.
I tired both the site's hostname and the mail server's hostname mail1.webserver.com It's the same error i get when i try to connect my panel.webserver.com to the mail1.webserver.com server. It gives me the following : Code: Jan 13 12:27:52 mail1 postfix/smtpd[31177]: warning: unknown[46.38.144.57]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 Jan 13 12:27:52 mail1 postfix/smtpd[31177]: disconnect from unknown[46.38.144.57] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Jan 13 12:27:54 mail1 postfix/smtps/smtpd[31386]: SSL_accept error from panel.webserver.com[1.2.3.4]: -1 Jan 13 12:27:54 mail1 postfix/smtps/smtpd[31386]: warning: TLS library problem: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:640: Jan 13 12:27:54 mail1 postfix/smtps/smtpd[31386]: lost connection after CONNECT from panel.webserver.com[1.2.3.4] Jan 13 12:27:54 mail1 postfix/smtps/smtpd[31386]: disconnect from panel.webserver.com[1.2.3.4] commands=0/0 Jan 13 12:27:56 mail1 postfix/smtpd[29605]: warning: unknown[46.38.144.117]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 Jan 13 12:27:57 mail1 postfix/smtpd[31174]: warning: hostname ip-38-40.ZervDNS does not resolve to address 92.118.38.40: Name or service not known
The message is a bit cryptic, but means that the server and client could not agree on a secured connection. Possible problems that come to my mind right now: Client does not support any of the offered cipher suites Server certificate is not valid for the domain name the client connects to Client does not support required TLS version (for example, client can only do TLSv1.1 and server requires TLS1.2) Since you do not give more information, you can use one of the usual internet pages to check your mail server encryption settings like https://en.internet.nl/ Test IMAP certificate with: Code: IMAP via SSL: openssl s_client -showcerts -connect mail.example.com:993 -servername mail.example.com SMTP via TLS/StartTLS, Port 25 and 587 openssl s_client -starttls smtp -showcerts -connect mail.example.com:25 -servername mail.example.com
Well i get connected when i try both of them. Except for port 25. So it looks as if the certs are ok, they are self signed though.
So the certs are 'not' ok (untrusted) and it depends on your client, if they are accepted or not. As you have not said anything about the client you use (or I missed it), nor present some logs from the client, it is hard to say.