Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] cpanel importer does not import complete DNS records and dovecot SSL records #1401

Open
darkfritz2 opened this issue Jan 18, 2025 · 0 comments

Comments

@darkfritz2
Copy link

darkfritz2 commented Jan 18, 2025

I've moved one of my cpanel servers to cyberpanel using the cpanel importer tool. That specific cpanel server had 1 cpanel account that included the main domain + 2 to 3 other domains as addon domains.

Upon using the cpanel import tool there are 2 issues i've noticed:

  1. the DNS records are incomplete or not set properly.
  2. if the server has multiple domains, the dovecot.conf is not properly set.

first the DNS issue:
screenshot what it looks like after importing:

Image

screenshot what SHOULD look like after importing:

Image

And some MX records were missing.

Second the dovecot.conf issue:
in /etc/dovecot/dovecot.conf

the last lines:
local_name mail.domain.ro {
ssl_cert = </etc/letsencrypt/live/mail.domain.ro/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail.domain.ro/privkey.pem
}

because the import included also another .ro domain and .com domain, the SSL cert and key were completely missing. so i had to manually add:

local_name mail.seconddomain.ro {
ssl_cert = </etc/letsencrypt/live/mail.seconddomain.ro/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail.seconddomain.ro/privkey.pem
}

local_name mail.comdomain.com {
ssl_cert = </etc/letsencrypt/live/mail.comdomain.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/mail.comdomain.com/privkey.pem
}

Operating system:
Almalinux 8

CyberPanel version:
2.3.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant