šŸ”“ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Mailbox Not Found - cPanel Email IMAP

    Technical Help
    3
    16
    1994
    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.
    • W
      WisTex last edited by

      I am getting the error:

      [accountname@servername ~]$ php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox test
      
       1. Processing uvdesk mailbox configuration.
      
       Mailbox for email test not found.
      

      Mailbox settings:

      test:
                  name: Test Mailbox
                  enabled: true
                  deleted: false
      
                  # [SMTP] Outgoing mail server
                  # Swiftmailer smtp mailer to use for sending emails through on behalf of this mailbox
                  smtp_server: 
                      mailer_id: test@example.com
      
                  # [IMAP] Incoming mail server
                  # IMAP configurations to use for fetching emails from mailbox
                  imap_server:
                      host: '{example.com:993/imap/ssl}INBOX'
                      username: test@example.com
                      password: nottherealpassword
      

      This was generated from input from the form at example.com/public/en/member/settings/mailbox/update/test

      I have obviously substituted example.com for the real domain.

      Why am I getting this error? The mailbox exists. It is set up in cPanel and I am able to log into it.

      I tried changing the hostname to example.com and that does not work either.

      What are the correct settings?

      peopleinside 1 Reply Last reply Reply Quote 0
      • vipin
        vipin developer UVdesk Staff @WisTex last edited by vipin

        @wistex

        If i am not wrong, you was pass the wrong email address
        test@example.com => support@example.info

        06989382-90b4-45be-9263-08e24ea5669a-image.png

        73b64b80-a7c5-4447-9ebf-35e6b1975692-image.png

        As i can see in the above settings, your email address is support@example.info & you are trying with test@example.com.

        Run the below command:
        php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox support@example.info

        W 1 Reply Last reply Reply Quote 0
        • peopleinside
          peopleinside EX helping member @WisTex last edited by

          @wistex said in Mailbox Not Found - cPanel Email IMAP:

          php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox test

          Hi, maybe the ommand should be:

          php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox test@example.com
          

          intead of:

          php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox test
          

          because test is not an email address.

          šŸ’¬ You can also ask help on GitHub Discussions
          šŸ”“ I am no more active on Uvdesk
          šŸ”“ Forum support is inactive!

          W 1 Reply Last reply Reply Quote 0
          • W
            WisTex @peopleinside last edited by

            @peopleinside I tried that too.

            [accountname@servername ~]$ php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox test@example.com
            
             1. Processing uvdesk mailbox configuration.
            
             Mailbox for email test@example.com not found.
            
            peopleinside vipin 2 Replies Last reply Reply Quote 0
            • peopleinside
              peopleinside EX helping member @WisTex last edited by

              @wistex from the admin UI of your UVdesk install, what you see on settings/email/settings: do you see a correct email address or a localhost email address?

              Have you also checked to have setup the email on the two admin UI pages in UVDesk: mailbox and swiftmailer?

              Consider that UVdesk actually never verify if you put correct credentials so, if something in the configuration is wrong, you get errors when fetching email.

              In settings, mailbox what host you inserted in the filed host of the desired email address?

              šŸ’¬ You can also ask help on GitHub Discussions
              šŸ”“ I am no more active on Uvdesk
              šŸ”“ Forum support is inactive!

              W 1 Reply Last reply Reply Quote 0
              • W
                WisTex @peopleinside last edited by

                @peopleinside said in Mailbox Not Found - cPanel Email IMAP:

                from the admin UI of your UVdesk install, what you see on settings/email/settings: do you see a correct email address or a localhost email address?

                It says the email Id is support@localhost and it refuses to let me change it to the real email address. support@localhost is not a real email address.

                And the correct swiftmailer is set. I even reset the password on the email account just to make sure that I am using the correct password. I've verified the ports.

                In settings, mailbox what host you inserted in the filed host of the desired email address?

                For the host, I have tried:
                example.com
                mail.example.com
                {example.com:993/imap/ssl}INBOX

                So far, nothing has worked.

                peopleinside 1 Reply Last reply Reply Quote 0
                • peopleinside
                  peopleinside EX helping member @WisTex last edited by peopleinside

                  @wistex try to clear cache and see if refreshing the email setting page fix the issue with the wrong email support@localhost.

                  To clean cache: go on SSH, open UVdesk folder root, be sure to be not logged as root user, and lunch the command to clean cache: php bin/console c:c

                  The host should be compiled as your latest example:

                  {example.com:993/imap/ssl}INBOX
                  

                  but this will not work if your server has not a valid SSL certificate.

                  If this is the case you need to try a LESS SECURE option:

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

                  šŸ’¬ You can also ask help on GitHub Discussions
                  šŸ”“ I am no more active on Uvdesk
                  šŸ”“ Forum support is inactive!

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    WisTex @peopleinside last edited by

                    @peopleinside Clearing the cache does not change the Email Settings page, but the actual configuration file has the correct data:

                    /home/accountname/public_html/desk/config/packages/uvdesk.yaml

                    uvdesk:
                        site_url: 'desk.example.info/public'
                        upload_manager:
                            id: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
                        
                        support_email:
                            id: support@example.info
                            name: UVDesk Community
                            mailer_id: support@example.info
                    

                    /home/accountname/public_html/desk/config/packages/swiftmailer.yaml

                    swiftmailer:
                        default_mailer: support@example.info
                        mailers:
                            support@example.info:
                                transport: smtp
                                username: support@example.info
                                password: notmyrealpassword
                                host: mail.example.info
                                port: 465
                                encryption: ssl
                                auth_mode: login
                                sender_address: support@example.info
                                delivery_addresses: ['']
                                disable_delivery: false
                    

                    /home/accountname/public_html/desk/config/packages/uvdesk_mailbox.yaml

                    # Configure your mailboxes here
                        mailboxes:
                            support@example.info:
                                name: support@example.info
                                enabled: true
                                deleted: false
                    
                                # [SMTP] Outgoing mail server
                                # Swiftmailer smtp mailer to use for sending emails through on behalf of this mailbox
                                smtp_server: 
                                    mailer_id: support@example.info
                    
                                # [IMAP] Incoming mail server
                                # IMAP configurations to use for fetching emails from mailbox
                                imap_server:
                                    host: '{mail.example.info:993/imap/ssl}INBOX'
                                    username: support@example.info
                                    password: notmyrealpassword
                    

                    Also, the certificate is value:

                    AutoSSL Domain Validated
                    Expires on September 22, 2022. The certificate will renew via AutoSSL.
                    

                    I even tried {example.com:993/imap/ssl/novalidate-cert}INBOX as well.

                    Do you see anything in there that is off?

                    peopleinside 2 Replies Last reply Reply Quote 0
                    • peopleinside
                      peopleinside EX helping member @WisTex last edited by

                      @wistex Let's wait a developer reply šŸ™‚ (maybe this will require some more time and maybe the reply will arrive tomorrow).

                      @vipin - @Sanjeev

                      šŸ’¬ 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
                      • peopleinside
                        peopleinside EX helping member @WisTex last edited by

                        @wistex mailparse checks has been passed when you installed UVdesk?
                        Be sure to run a PHP version greater than PHP 7.4 (that will be soon deprecated).

                        How you installed UVdesk? GitHub, SSH, Composer?
                        In the Dashboard footer of UVdesk do you see the version of UVdesk?

                        This questions can help developers to better help you.

                        šŸ’¬ You can also ask help on GitHub Discussions
                        šŸ”“ I am no more active on Uvdesk
                        šŸ”“ Forum support is inactive!

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          WisTex @peopleinside last edited by

                          @peopleinside said in Mailbox Not Found - cPanel Email IMAP:

                          Be sure to run a PHP version greater than PHP 7.4 (that will be soon deprecated).
                          How you installed UVdesk? GitHub, SSH, Composer?
                          In the Dashboard footer of UVdesk do you see the version of UVdesk?

                          I had issues installing UVdesk on PHP 8.1. so I downgraded that particular subdomain to 7.4. I would like to resolve that issue next, but right now I need to concentrate on fixing the email issue.

                          I installed UVdesk using Softalicious in cPanel.

                          I am using V -1.1.0 according to the footer.

                          peopleinside 1 Reply Last reply Reply Quote 0
                          • peopleinside
                            peopleinside EX helping member @WisTex last edited by

                            @wistex thanks for the infos.
                            PHP 7.4 should be fine.

                            Check on the forum chat, I wrote a private message in the main time we wait a developer reply.

                            šŸ’¬ 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
                            • peopleinside
                              peopleinside EX helping member last edited by peopleinside

                              @WisTex I'm sorry to see no developers replied to this thread.
                              @vipin @Sanjeev

                              If no reply persist you can try to open a ticket here:
                              https://support.uvdesk.com/en/

                              šŸ’¬ 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
                              • vipin
                                vipin developer UVdesk Staff @WisTex last edited by vipin

                                @wistex

                                If i am not wrong, you was pass the wrong email address
                                test@example.com => support@example.info

                                06989382-90b4-45be-9263-08e24ea5669a-image.png

                                73b64b80-a7c5-4447-9ebf-35e6b1975692-image.png

                                As i can see in the above settings, your email address is support@example.info & you are trying with test@example.com.

                                Run the below command:
                                php /home/accountname/public_html/desk/bin/console uvdesk:refresh-mailbox support@example.info

                                W 1 Reply Last reply Reply Quote 0
                                • Topic has been marked as solved  peopleinside peopleinside 
                                • W
                                  WisTex @vipin last edited by

                                  @vipin said in Mailbox Not Found - cPanel Email IMAP:

                                  As i can see in the above settings, your email address is support@example.info & you are trying with test@example.com.

                                  Unfortunately, that is not the case. I did not want to reveal my real email address on a public forum, so those are not the email addresses I am using.

                                  I have tried multiple email addresses on multiple servers, and I just can't get it to work.

                                  peopleinside 1 Reply Last reply Reply Quote 0
                                  • peopleinside
                                    peopleinside EX helping member @WisTex last edited by

                                    @wistex thanks for the update.
                                    I'm sorry to see 3 days has been past without a reply to your update.

                                    I'm monitoring the community but I'm not a developer to help you.
                                    I offered also to you my time for free in my personal live chat but no chat has started. (Better for me, I have not busy my time - I'm joking).

                                    Developers can be busy so a reply from the UVdesk team may require time, especially for the free open source.

                                    Thank you for your patience.

                                    šŸ’¬ 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
                                    • vipin
                                      vipin developer UVdesk Staff last edited by

                                      @WisTex

                                      Please mail us your query at support@uvdesk.com. Our team will help you.

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