🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Can't receive emails, can't open mailbox, plus a mb-settings suggestion

    Technical Help
    2
    6
    835
    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.
    • O
      oliiix last edited by

      Hello Everyone,

      I just thought of trying uvdesk, but seems there's no chance of receiving emails.
      When i issue the following command:

      php bin/console uvdesk:refresh-mailbox vmb@mydomain.ch
      

      I get the following output:

      1. Processing uvdesk mailbox configuration.
      2. Opening imap stream...
      
      In RefreshMailboxCommand.php line 93:
       Warning: imap_open(): Couldn't open stream serverdomain.ch
      
      uvdesk:refresh-mailbox [-t|--timestamp TIMESTAMP] [--] [<emails>...]
      
      Fatal error: Uncaught ErrorException: Notice: Unknown: Can't open mailbox serverdomain.ch: no such mailbox (errflg=2) in Unknown:0
      Stack trace:
      #0 [internal function]: Symfony\Component\ErrorHandler\ErrorHandler->handleError(8, 'Unknown: Can't ...', 'Unknown', 0, NULL)
      #1 {main}
       thrown in Unknown on line 0
      

      It says in the below section "cannot open mailbox serverdomain.ch"... What does that mean? serverdomain.ch is the servers domain name, not a mailbox, this error message is either wrong, or serverdomain.ch is being taken as mailbox which of course doesn't work. Above in red it says couldn't open stream serverdomain.ch so that makes more sense.

      Regarding the Mailbox Suggestion I mention in the title: If I edit the mailbox and do not enter a password, please save the data without the password and do not force me to enter the password everytime I wanna update mailbox settings, that makes no sense. When I enter a password into the password field, I want the password to be updated, if I leave the password field empty, I do not want it to be updated, only the rest of the information should be updated then. It's annoying having to open the password manager everytime just because I wanted to update the mailbox settings 😉 Especially when debugging this becomes tiring.

      Mailparse (v3.1.4 ) is installed, curl (v7.61.1) is active as well as mbstring (v1.3.2 )..

      Any ideas what could be happening?

      Thanks and have a great day!
      Cheers,
      Oli

      1 Reply Last reply Reply Quote 0
      • Komal Sharma
        Komal Sharma UVdesk Staff mod last edited by

        @oliiix

        It says in the below section "cannot open mailbox serverdomain.ch"... What does that mean? serverdomain.ch is the servers domain name, not a mailbox, this error message is either wrong, or serverdomain.ch is being taken as mailbox which of course doesn't work.

        Let us know, which uvdesk version you are using. Also, share a screenshots of the configuration of swiftmailer, mailbox and email settings.

        O 1 Reply Last reply Reply Quote 0
        • O
          oliiix @Komal Sharma last edited by

          @Komal-Sharma Thanks a lot for your reply.

          uvdesk version from bottom of backend: V -1.1.0

          Regarding below data, serverdomain.ch is the replacement for my actual server address. This resolves perfectly, it is the server i'm running uvdesk on. I have also tried localhost as well as the specific cpanel accounts domain, but both result in the same error message.
          Also vmb@mydomain.ch is a replacement for the address I'm actually using 😉 This email has also already an email in it's inbox.

          To be sure it's not password related, I have replaced the password already once, but it didn't help.

          [SWIFTMAILER]
          Note: SMTP seems to work, I was successfully able to reset my password for logging in and it did send me an email. Maybe it was sent via php sendmail, i actually didn't check that.
          Mailer ID: VOH VMB
          Transport Type: SMTP
          Enable Delivery: Checked
          Server: serverdomain.ch
          Email: vmb@mydomain.ch
          Password: PasswordOfCourse
          Port: 465
          Encryption Mode: SSL
          Sender Address AND Delivery Address: both empty

          [MAILBOX]
          ID: VOH_VMB
          Name: VOH VMB
          Enable Mailbox: Checked
          Permanently delete from inbox: Checked
          Transport: IMAP
          Host: serverdomain.ch
          Username/Email: vmb@mydomain.ch
          Password: Password
          Swift Mailer ID: VOH VMB

          [EMAIL SETTINGS]
          Email ID: vmb@mydomain.ch
          Name: SIB Help Portal
          Swiftmailer ID: VOH VMB

          Thanks very much 😄

          Komal Sharma 1 Reply Last reply Reply Quote 0
          • Komal Sharma
            Komal Sharma UVdesk Staff mod @oliiix last edited by

            @oliiix

            [MAILBOX]
            ID: VOH_VMB
            Name: VOH VMB
            Enable Mailbox: Checked
            Permanently delete from inbox: Checked
            Transport: IMAP
            Host: serverdomain.ch
            Username/Email: vmb@mydomain.ch
            Password: Password
            Swift Mailer ID: VOH VMB

            Once you check with the below cases:

            This Issue generally comes due to:

            1. Your credentials are not correct in the mailbox setup to check once again created the app password.

            2. Not sufficient permission provided for reading emails.

            3. Some authentication failures due to any certificate check.

            Once you will tried with your hostname should be like this in the mailbox setup:

            {your-host-name:993/imap/ssl}INBOX
            

            5ba4cca1-3fa3-43a3-a76b-b08aeaffc1f0-image.png

            In the uvdesk_mailbox.yaml file hostname should be shown like this:

            host: '{your-host-name:993/imap/ssl}INBOX'
            

            3ab74c2c-5b4d-4866-b935-5b3f627d37c8-image.png

            After that you have cleared the cache of your project follow the below command:

            $ php bin/console c:c
            

            Now run the mailbox refresh command:

            $ php bin/console uvdesk:refresh-mailbox your-mailbox-id
            
            O 1 Reply Last reply Reply Quote 0
            • Topic has been marked as solved  peopleinside peopleinside 
            • O
              oliiix @Komal Sharma last edited by

              @Komal-Sharma Thanks a lot!! Fixing the host-string did the trick 🙂
              Have a great day!!

              1 Reply Last reply Reply Quote 0
              • Komal Sharma
                Komal Sharma UVdesk Staff mod last edited by

                @oliiix

                Thanks a lot!! Fixing the host-string did the trick
                Have a great day!!

                We are glad to know that your issue has been resolved now.
                If would request you take a spare minute of yours and leave your valuable feedback with us if you liked our product & support.

                and leave your positive reviews here:
                https://reviews.capterra.com/new/158346
                https://www.trustpilot.com/review/uvdesk.com

                It helps a lot to catch more customers like you and keeps us motivated and helps us to do better for this UVdesk opensource project.

                Looking forward to seeking 5-star reviews from your side.

                Awaiting your response.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post