title: imap_open : couldn't open stream to my mail server
body: <blockquote>
    <p>Notice: Unknown: Connection failed to mail.domain.com,143: Connection
    timed out (errflg=2) in Unknown on line 0</p>
  </blockquote>
  
  <pre><code>imap_open("{mail.domain.com:143/novalidate-cert}INBOX", 'login', 'password')
  </code></pre>
  
  <p>The port 143 is open, I'm not behind a firewall, my server uses self-signed certificates. </p>
  
  <p>I really don't understand why I can not connect to my mail server</p>
  
  <p>I searched everywhere but I found no answer.. </p>