Community

Mail Server Not WorKing After Upgrading Cyberpanel

BO
Benjamin Olawoye #1

Earlier today, I was trying to edit MySQL configurational then the cyberpanel dashboard started to show a server 500 error, I was able to fix that be upgrading the Cyberpanel version but after updating the version, my mail system stopped working, I cannot log in to snappy mail either. I get request timeout.

When I check the mail log, here is what I found

Mar 30 11:09:02 admin postfix/proxymap[33138]: warning: connect to mysql server localhost: Access denied for user 'cyberpanel'@'localhost' (using password: YES)
Mar 30 11:09:13 admin postfix/pickup[28119]: 6B1542C02F3: uid=5005 from=<clien9997>
Mar 30 11:09:13 admin postfix/cleanup[32934]: 6B1542C02F3: message-id=<20230330150913.6B1542C02F3@server.hostname.net>
Mar 30 11:09:13 admin postfix/cleanup[32934]: warning: proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf lookup error for "clien9997@server.hostname.net"
Mar 30 11:09:13 admin postfix/cleanup[32934]: warning: 6B1542C02F3: virtual_alias_maps map lookup problem for clien9997@server.hostname.net -- message not accepted, try again later

Please how can I resolve this, I cannot send or receive mail

jo
josephgodwinke #2

Welcome @benjaminolaw Happy you are here

Sometimes snappymail may timeout trying to load all message from mailbox however this seems that snappymail timeout due to this error:

Check your cyberpanel database password seems to be wrong. Go to /usr/local/CyberCP/CyberCP/settings.py and confirm the password is correct one from mysql.

Run in mysql console

ALTER USER 'cyberpanel'@'localhost' IDENTIFIED BY 'mypassword';
BO
Benjamin Olawoye #3

Thank you for your assistance
I have done this but still did not fix the email issue.
What can I do?
I still get other errors except
warning: connect to mysql server localhost: Access denied for user ‘cyberpanel’@‘localhost’ (using password: YES)

jo
josephgodwinke #4

Post the mail log errors you are getting after fixing the above error

BO
Benjamin Olawoye #5

The only error I see now is

Mar 30 11:09:13 admin postfix/pickup[28119]: 6B1542C02F3: uid=5005 from=<clien9997>
Mar 30 11:09:13 admin postfix/cleanup[32934]: 6B1542C02F3: message-id=<20230330150913.6B1542C02F3@server.hostname.net>
Mar 30 11:09:13 admin postfix/cleanup[32934]: warning: proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf lookup error for "clien9997@server.hostname.net"
Mar 30 11:09:13 admin postfix/cleanup[32934]: warning: 6B1542C02F3: virtual_alias_maps map lookup problem for clien9997@server.hostname.net -- message not accepted, try again later
jo
josephgodwinke #6

Can you access snappymail?admin

jo
josephgodwinke #9

Go to Domains → choose * and text IMAP and SMTP settings post screenshot here

jo
josephgodwinke #11

Timeout should be 3600. Secure should be STARTTLS. If you want to use none you have to pick port 110.

SMTP port should be 587 - STARTTLS or 25 - None

Sign in to reply