Solved Mailbox Not Found - cPanel Email IMAP
-
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?
-
If i am not wrong, you was pass the wrong email address
test@example.com => support@example.infoAs 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 -
@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.
-
@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.
-
@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?
-
@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}INBOXSo far, nothing has worked.
-
@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
-
@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?
-
-
@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.
-
@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.
-
@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.
-
@WisTex I'm sorry to see no developers replied to this thread.
@vipin @SanjeevIf no reply persist you can try to open a ticket here:
https://support.uvdesk.com/en/ -
If i am not wrong, you was pass the wrong email address
test@example.com => support@example.infoAs 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 -
peopleinside
-
@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.
-
@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.
-
Please mail us your query at support@uvdesk.com. Our team will help you.