9 - How to Debug and Reset Email Settings using CyberPanel Cloud

brother, we don’t have a Microscope we are not able to see photos (screenshot) so please make big-size photos and make sure the text will be readable. Thanks

Note: This feature has been discontinued.

Note: We made some fixes for Ubuntu 18 and Ubuntu 20, so even if you are on v2.1.1, do a force upgrade so that email reset feature works properly.

Every day a lot of people posting and complaining about email configurations and settings. We launched the reset of all email configurations and debug on CyberPanel Cloud a long time ago as a paid feature. But now we are making it free. Anyone who connects its server to the cloud can use this feature free of cost.

In this article, we are going to explain how the reset and debug email configurations feature works. CyberPanel Cloud Email debugger is a feature rich and it will solve all email-related issues on your website level and on the server level.

Pre-requirements:

Before going deep into this article we have some pre-requirements that need to meet. There are few things that you just need to check.

  1. Check required ports status.
  2. Check Email DNS records.
  3. Login/Signup to CyberPanel cloud
  4. Connect your server with CyberPanel cloud

Check required ports status:

If you want to use your server as mail server following ports must be enabled on your server.

Port 25, Port 587, Port 465, Port 110, Port 143, Port 995, Port 993 (at provider level firewall do and if your provider blocks port 25, as them to open it for you). Status of these ports must be opened, if any of these ports is close please check on your server firewall or on provider level and open it. Read more about these ports.

Check Email DNS records:

The second most important thing is the mail dns records. Alway make sure that your MX, DKIM, SPF mail records are set accordingly and also propagated completely. You can check mail server DNS records using different tool like WhatsmyDNS.

Read more about these records and all here.

Login/Signup to CyberPanel cloud:

As you all know you must have a CyberPanel Cloud account to use this tool.

Visit https://cloud.cyberpanel.net/ to provide a username and password to login into your account.

If you already have an account just login otherwise create one from here.

Connect your server with CyberPanel cloud:

After creating your account or log in to your account now it’s time to connect your server with CyberPanel Cloud.

To connect your server to the cloud go to the Connect CyberPanel → Connect in the top menu.

To connect provides all details of your server:

  1. Name (this can be anything)
  2. Ip (Your server IP)
  3. Password (Your CyberPanel admin user password not ssh)
  4. Port/Username (Leave both to use default)

Press connect and you can see a success message in green.

How to debug email issues on the server level?

Now CyberPanel cloud made the debugging of email server issues so easy on the server as well as website level. Once your server is connected follow the following steps to debug the issues on the server level.

  1. Go to Servers->List Servers from the top menu of your account.

  1. Now you can see all of your servers from all click the three dots on the right side of your server then click manage.

  1. Here go to Debugger->Email Debug

  1. Here you will see a blue-colored Run Server Level Checks button

  1. Press this button and wait to complete all checks.

this will check all mail configuration like MailServer SSL, postfix status, dovecot status, all ports, etc., and show you the results. at the end of test, you can see the status Completed [200].

if anything is wrong in settings you will see that on your screen.

How to debug email issues on the website level?

CyberPanel cloud also allows you to debug email issues at the website. This will able you to fix the issues on the website level instead of resetting all mail server configuration. this option helps you to make and resolve issues on the dedicated website. Like if you added a new domain and want t fix only on that instant of resetting the whole server config.

  1. Go to Servers->List Servers from the top menu of your account.

  1. Now you can see all of your servers from all click the three dots on the right side of your server then click manage.

  1. Here go to Debugger->Email Debug

  1. Go to the bottom of the screen and you will find WEBSITE LEVEL EMAIL ISSUES select the required website and you can see the status if there is an issue**.**

this will check all mail configuration on the website level like MailServer SSL, all ports, etc., and show you the results. at the end of the test, you can see the status Completed [200].

Reset email configurations on server level:

Before doing reset email configuration you must have to know what it does mean and what acutely happed on doing this. Reset email configuration on server level does the following thing. Issue mail server SSL for all domains, reinstall postfix, reinstall dovecot (with default config), create all mail-related records, create all mail domains. everything will be done from start but it does not delete any of your emails from your inbox or any other folder.

  1. Go to Servers->List Servers from the top menu of your account.

  1. Now you can see all of your servers from all click the three dots on the right side of your server then click manage.

  1. Here go to Debugger->Email Debug

  1. Here you will see a red-colored Reset Server wide email counfigrations button

  1. Press this button and wait to complete all configurations reset.

Fix email issue on website level:

Website level email fixes will do the configuration for only selected websites. This will not affect any server configurations or any other website. Fix email on website level will issue mail server SSL for that domain, create records, mail domain, etc.

  1. Go to Servers->List Servers from the top menu of your account.

  1. Now you can see all of your servers from all click the three dots on the right side of your server then click manage.

  1. Here go to Debugger->Email Debug

  1. Go to the bottom of the screen and you will find WEBSITE LEVEL EMAIL ISSUES select the required website and you can see the status if there is an issue**.**

  1. If your site has any issue the fix now button will be enabled otherwise you can do force fix.

1 Like

Please help. My cyberpanel cloud doesn’t show me any options at all… Just ability to create tickets… No menu etc.

You have to add your server to the panel and then request free access to the email debugger tool by submitting a ticket.

1 Like

I’m unable to do anything from the panel, as in the screenshot, there’s no options on it… I’m using mobile
… Should I try with desktop?

Okay it works with desktop… I’ve requested debugger access.thank you

I can not Reset Email Settings
clod show this error

Error - Either you dont have privileges to access this page or your plan does not cover this feature. If this is a mistake kindly contact our support.

how can I fix my problem?
rainloop Authentication failed

When I clicked on Debug Email menu it’s access to https://IP:8090/base/ ??

Hello, I do have the exact same redirection as you. Whenever clicking on debug email it directs me toward my IP url of cyberpanel.

hope someone found what is wrong.

mail debugger not working said @usmannasir which was already available for free but when you click it redirects to cyberpanel

Same - it redirects to cyberpanel

1 Like

Once you’ve clicked the Cloud link and it takes you to the base URL for your CyberPanel, you then have to click the Email > Email Debugger in the sidebar navigation menu.

I think Usman should update the Cloud link so it points to the URL for the debugger: https://DOMAINURL:8090/emailPremium/EmailDebugger

Edit: You may also have to be an Enterprise license user. I’m not sure about this part.

the list not showing to me it’s just redirect to IP server URL

|Port 25|Closed, mail will not go through
|Port 587|Closed, mail will not go through.
|Port 465|Closed, mail will not go through.|

CSF : i have added ports to allow them
Server Physical firewall : they are open as well

Still it says this

Any inputs ?

Those ports are blocked by your VPS provider to prevent spammers on their servers. You need to request them open those ports.

It was my mistake i messed up with permissions of postfix on one fine day in past

Uninstall and reinstalling helped.

How to fix all file permissions? do we have any script for that ?