🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.
  • Recent
  • Dark Theme
  • Login

UVdesk

  • Dark Theme
  • Login
  • Search
  • Recent

Solved IMAP Issue : Warning: imap_open(): Couldn't open stream

Technical Help
2
13
3.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • peopleinside
    peopleinside EX helping member @Christophe last edited by 23 Nov 2020, 10:26

    Hi @Christophe, I think port 993 is secure

    💬 You can also ask help on GitHub Discussions
    🔴 I am no more active on Uvdesk
    🔴 Forum support is inactive!

    1 Reply Last reply Reply Quote 0
    • C
      Christophe last edited by 23 Nov 2020, 10:37

      Unfortunately, I got it wrong: {mail.xxx.com:993/notls}INBOX is not working (probably a clear cache issue makes me think it was working but it is not.)

      Need to go back with unsecured port to make it working again : {mail.xxx.com:143/notls}INBOX

      This still not working with IMAP/SSL conectivity.

      Any idea ?

      (It's works fine with outgoing message, using a secured SMTP 465 port ...)

      peopleinside 1 Reply Last reply 23 Nov 2020, 10:42 Reply Quote 0
      • peopleinside
        peopleinside EX helping member @Christophe last edited by 23 Nov 2020, 10:42

        @Christophe I think you cannot use a secure port 993 without TLS/SSL or will be an insecure port.
        I do not suggest to use email that doesn't support secure connection as you will have security issues.

        Port 465 should be also secure, I don't think can work without TLS/SSL

        💬 You can also ask help on GitHub Discussions
        🔴 I am no more active on Uvdesk
        🔴 Forum support is inactive!

        1 Reply Last reply Reply Quote 0
        • C
          Christophe last edited by 23 Nov 2020, 10:47

          You're totally right. I'd really like to configure it as a secure way but I can't find the exact string to use for Host field with SSL connectivity :

          {mail.xxx.com:993/ssl}INBOX seems to not working.

          Anyway, thank you for your support.

          peopleinside 1 Reply Last reply 23 Nov 2020, 11:27 Reply Quote 0
          • peopleinside
            peopleinside EX helping member @Christophe last edited by 23 Nov 2020, 11:27

            @Christophe Let me check my istall.
            You can try {domain.ext:993/imap/ssl}INBOX

            💬 You can also ask help on GitHub Discussions
            🔴 I am no more active on Uvdesk
            🔴 Forum support is inactive!

            1 Reply Last reply Reply Quote 0
            • C
              Christophe last edited by 23 Nov 2020, 14:37

              I tried with the same structure but without success.

              I need to find a way to put the refresh php query on a debug mode. Maybe the issue will be more easy to understand.

              peopleinside 1 Reply Last reply 23 Nov 2020, 15:51 Reply Quote 0
              • peopleinside
                peopleinside EX helping member @Christophe last edited by 23 Nov 2020, 15:51

                @Christophe I'M using this settings and works, if this doesn't works maybe you can have a mail server issue.
                Don't know sorry.

                💬 You can also ask help on GitHub Discussions
                🔴 I am no more active on Uvdesk
                🔴 Forum support is inactive!

                1 Reply Last reply Reply Quote 0
                • C
                  Christophe last edited by 23 Nov 2020, 20:27

                  Once again, thank you Marco for your support.

                  I found a valid host string to fetch the mailbox. Thanks to an extra string (/novalidate-cert) the connection is up and messages are well fetched. I'm not an expert but it seems to me that is it a secure way to access the mailbox.

                  {mail.xxxx.com:993/imap/ssl/novalidate-cert}INBOX

                  peopleinside 1 Reply Last reply 23 Nov 2020, 20:30 Reply Quote 0
                  • peopleinside
                    peopleinside EX helping member @Christophe last edited by 23 Nov 2020, 20:30

                    @Christophe maybe your certificate is not trusted and this solve the issue. Your connection is now secure seems by a self-signed certificate that is less secure respect to have a valid certificate but better that not having an SSL/TLS connection.

                    In my case I don't need this as I use let's encrypt certificate who is recognized.

                    I'm happy to read you resolved.
                    Maybe you can contact the control panel or the software that manage the email and suggest to support a valid certificate recognized so you don't need to bypass the certificate validation.

                    💬 You can also ask help on GitHub Discussions
                    🔴 I am no more active on Uvdesk
                    🔴 Forum support is inactive!

                    1 Reply Last reply Reply Quote 0
                    • C
                      Christophe last edited by 23 Nov 2020, 20:35

                      Good point!

                      I also installed a Let's encrypt certificate, but before installing UVdesk on my website.
                      I probably need to renew it. I'll do it and see if that fixes this problem.

                      peopleinside 1 Reply Last reply 23 Nov 2020, 20:39 Reply Quote 0
                      • peopleinside
                        peopleinside EX helping member @Christophe last edited by 23 Nov 2020, 20:39

                        @Christophe umh I think email certificate is managed by your control panel. Don't now but if your certificate is expired maybe you have issue, if still be valid should be not a problem if you installed after the certificate release the uvdesk 🙂

                        💬 You can also ask help on GitHub Discussions
                        🔴 I am no more active on Uvdesk
                        🔴 Forum support is inactive!

                        1 Reply Last reply Reply Quote 0
                        10 out of 13
                        • First post
                          10/13
                          Last post