<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Thanks</p>

<p dir="auto">This is what I get - not sure what to make of it.. Is that what you would expect to see ?</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">Alexandres-MacBook-Pro:~ alex$ openssl s_client -connect exchange.synergix.ch:993
CONNECTED(00000003)
depth=1 /C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/C=CH/L=Nyon/O=Synergix SA/CN=*.synergix.ch
   i:/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA
 1 s:/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA
   i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert Global Root CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFJjCCBA6gAwIBAgIQAm/dd9nzeFUo3yByzEGh8jANBgkqhkiG9w0BAQsFADBN
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5E
aWdpQ2VydCBTSEEyIFNlY3VyZSBTZXJ2ZXIgQ0EwHhcNMTUwNjAzMDAwMDAwWhcN
MTcwNjA3MTIwMDAwWjBKMQswCQYDVQQGEwJDSDENMAsGA1UEBxMETnlvbjEUMBIG
A1UEChMLU3luZXJnaXggU0ExFjAUBgNVBAMMDSouc3luZXJnaXguY2gwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDETb2/bdMKZBRvukNeZqUtVSxIVjIw
WCqF4mgSmiaL+/w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C/xf/I2WAAL2ubTGErxpyDJH
jyxX11KyTcASKKpmJ1Ot2iCqSNYHLuK3Tw1cWSeHHU+FwLtu3jqxRUwlLybgGpDV
CflViDSCZR3SW1JnlZ24uiDWfPC92NYxq462bqIm3v4SewiDmjTP4nAW++naC6hl
LSN4JbaMs+jnN5+sc5F+2SOb4TgZXVmFI+X3S9WSgrzJs0T0hmcw2AKel9R0AvrF
zfzeTI8Zf1Cu/PQmxHPHSuzUY+WJyTY5Fna3enoywKeWveaHYS7QGh0/FVaoX2rb
mgKr9/BZj9N04wSsrwsFlavIadNr8VXIehQ=
-----END CERTIFICATE-----
subject=/C=CH/L=Nyon/O=Synergix SA/CN=*.synergix.ch
issuer=/C=US/O=DigiCert Inc/CN=DigiCert SHA2 Secure Server CA
---
No client certificate CA names sent
---
SSL handshake has read 2660 bytes and written 456 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : AES256-SHA
    Session-ID: 0B140000893F021BF560ECF775F9E2CABB70DF2970BE69AA35BD17A0E76477A7
    Session-ID-ctx:
    Master-Key: 82CA1D947145D429099FF9BE654C7F23077BFBA076F2E7AD91CE43E1BAB2D898943D5B0AB92AC4C875026174C8B7426C
    Key-Arg   : None
    Start Time: 1490797612
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---
* OK The Microsoft Exchange IMAP4 service is ready.
</code></pre>

<p dir="auto">On 25 Mar 2017, at 10:53, Benny Kjær Nielsen wrote:</p>

<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">On 25 Mar 2017, at 6:42, Alexandre Takacs wrote:</p>

<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">And for good measure I have installed and tested using the latest Thunderbird and it doesn't work either - so it seems to be an issue with the server settings. That being said if anyone here has experience in the mattes I'm definitely happy to listen !</p>
</blockquote>

<p dir="auto">If someone tells you that they don't support email client X then it might be useful if you can show them that it doesn't even work without using an email client. You can use the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">openssl</code> command for that like this:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">openssl s_client -connect imap.example.com:993
</code></pre>

<p dir="auto">Some times you need the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">-crlf</code> argument.</p>

<p dir="auto">When it has connected then you login like this:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">0 LOGIN username password
</code></pre>

<p dir="auto">(You can use double quotes for the values if needed.)</p>

<p dir="auto">-- <br>
Benny</p>

<hr style="background:#333; background-image:linear-gradient(to right, #ccc, #333, #ccc); border:0; height:1px" height="1">

<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com" style="color:#777">mailmate@lists.freron.com</a><br>
<a href="https://lists.freron.com/listinfo/mailmate" style="color:#777">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>

<p dir="auto">A. Takacs<br>
Augicom SA<br>
+41 (22) 301 16 00</p>
</div>
</div>
</body>
</html>