This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
SSL / How to create wildcard Certificate?
« on: September 18, 2024, 01:21:35 PM »
I have a new website that have multi tenancy, a user can create a subdomain on the fly and I need to create a wildcard certificate for this domain.
Any way of doing that on CWP?
Any way of doing that on CWP?
2
Updates / CWP-CentOS-Stream-AppStream.repo Is down
« on: June 26, 2024, 09:33:26 AM »
I have servers with Centos 8 Delayed and cannot run yum update, it return this error:
How can I solve this?
Code: [Select]
yum update
CentOS-Stream - AppStream 520 B/s | 257 B 00:00
Errors during downloading metadata for repository 'Stream-AppStream':
- Status code: 404 for http://repo.centos-webpanel.com/8-cwp-stream/stable/AppStream/x86_64/os/repodata/repomd.xml (IP: 198.27.104.39)
Error: Failed to download metadata for repo 'Stream-AppStream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
How can I solve this?
3
Installation / When we will have a production release for EL9
« on: June 20, 2024, 08:59:08 AM »
CentOS 7 is about to reach its End-of-Life (EOL). I need to upgrade it, and currently the recommended version is EL8. However, I think the ideal solution would be to move to EL9. However, I'm hesitant to install CWP in its beta stage since these are production servers.
Do you think we'll have a final version of CWP for EL9 within the next month?
I'm planning to go to AlmaLinux 9 what do you think about that?
Do you think we'll have a final version of CWP for EL9 within the next month?
I'm planning to go to AlmaLinux 9 what do you think about that?
4
PHP / PHP-FPM number of processes per user
« on: June 17, 2024, 03:41:59 PM »
In Manage WebServers Configuration we have PHP-FPM default template config where we can select the number of processes each user, however I don't find any place where I can set a specific number of processes for a specific user.
Where can I select for example the processes-50 for a specific user without apply it to all other users?
Where can I select for example the processes-50 for a specific user without apply it to all other users?
5
E-Mail / SSL Cert Update Issues with Mail Server
« on: April 12, 2024, 09:16:23 AM »
I'm running into a recurring issue on my CWP setup where every time my SSL certificate gets updated, my mail server starts acting up and throws certificate errors. I end up having to manually rebuild the mail server to get everything running smoothly again, which is becoming quite a hassle.
Has anyone else faced this? How are you all managing SSL cert renewals for your mail servers? Any scripts or settings that you could share would be a huge help.
Looking forward to some tips or guidance on how to automate this process a bit more, so I don’t have to keep doing everything manually.
Cheers!
Has anyone else faced this? How are you all managing SSL cert renewals for your mail servers? Any scripts or settings that you could share would be a huge help.
Looking forward to some tips or guidance on how to automate this process a bit more, so I don’t have to keep doing everything manually.
Cheers!
6
Updates / How to upgrade the OS
« on: June 29, 2023, 11:25:18 AM »
I currently manage three servers, one running CentOS 7 and two running CentOS 8 Stream. All of them use CWP Pro. As CentOS 7 is nearing its end of life, I'm considering upgrading to either AlmaLinux or RockyLinux. I understand that there are ways to upgrade from CentOS 7 to AlmaLinux, but I'm concerned about potential compatibility issues with CWP. I'm leaning towards setting up a new server entirely to avoid these issues. Has anyone here already done this?
On the CentOS 7 server, I host around 100 domains. I'm trying to figure out the most efficient way to migrate these to a new server. Is there a method to move all accounts at once, or will I have to transfer each user account manually?
Furthermore, if I switch to a new machine, the IP will change. Will I need to inform all of my clients to update the IP on their nameservers?
Any suggestions to simplify this process will be greatly appreciated.
On the CentOS 7 server, I host around 100 domains. I'm trying to figure out the most efficient way to migrate these to a new server. Is there a method to move all accounts at once, or will I have to transfer each user account manually?
Furthermore, if I switch to a new machine, the IP will change. Will I need to inform all of my clients to update the IP on their nameservers?
Any suggestions to simplify this process will be greatly appreciated.
7
E-Mail / Problem when a certificate Renew
« on: June 13, 2023, 08:25:48 AM »
I have multiple servers with CWP with multiple domains of clients, from times to times my clients have errors caused by the certificate, I think is when the certificate renew the mail server continue to use the old one.
Most of the times to fix this I rebuild the mailserver but this is should somehow be handle automatically it's really annoying to have this issue.
Any tips to fix this?
Most of the times to fix this I rebuild the mailserver but this is should somehow be handle automatically it's really annoying to have this issue.
Any tips to fix this?
8
DKIM / How to change DKIM Selector
« on: August 24, 2022, 09:13:07 AM »
I have two CWP servers one will host the domain and the mail and the other is only used to send newsletters, but both will send emails for the same domain, to prevent spam I need to configure the dkim, but the problem is that both generate the dkim with the same selector "default" -> default._domainkey.
How can I change the selector in one of them?
How can I change the selector in one of them?
9
E-Mail / How to use server with CWP as email server
« on: August 23, 2022, 05:09:25 PM »
I have a new server that will host a mautic instance (it's a plataform for send newsletters) I want to send the email directly from that server, but need to have everything correctly configured to prevent the emails from go to spam.
This server will only sent newsletters emails the transactional emails are sent from the main server that host the domain, what should I do in this new server to be able to create a dkim that I will add to my dns?
Should I create a new user account and add the domain localy? But if I do it the dkim generated will be have the default name "default._domainkey" but this is a problem because this is also the dkim from the main server that is also running cwp.
This server will only sent newsletters emails the transactional emails are sent from the main server that host the domain, what should I do in this new server to be able to create a dkim that I will add to my dns?
Should I create a new user account and add the domain localy? But if I do it the dkim generated will be have the default name "default._domainkey" but this is a problem because this is also the dkim from the main server that is also running cwp.
10
PHP / imagick.so unable to load on every one of my servers after update
« on: May 24, 2022, 03:10:21 PM »
I have multiple servers running cwp, I have update at least 3 of them and now I have this error:
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so (libMagickWand-6.Q16.so.6: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fortunately 2 servers are only for development and the other is new and don't have any production website. How can I fix this?
PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so (libMagickWand-6.Q16.so.6: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fortunately 2 servers are only for development and the other is new and don't have any production website. How can I fix this?
11
Postfix / Security bug make postfix work as open relay for server domains
« on: May 19, 2022, 09:03:52 AM »
I found a possible security bug in my servers and I think most of CWP users will have exactly the same problem.
It's possible to everyone send and email (at least via port 25) without use any username or password to every domain in the server used as host.
For example you have the server with hostname server.example.com, this server have multiple domain in it domain1.com, domain2.com, domain3.com.
If you send an email from other server via smtp and you use "server.example.com" as hosname, as email you can use what you want and you send an email to one of the domains hosted by the server for example domain1.com it is delivered without any problem.
This is a major security problem.
How can we prevent this?
It's possible to everyone send and email (at least via port 25) without use any username or password to every domain in the server used as host.
For example you have the server with hostname server.example.com, this server have multiple domain in it domain1.com, domain2.com, domain3.com.
If you send an email from other server via smtp and you use "server.example.com" as hosname, as email you can use what you want and you send an email to one of the domains hosted by the server for example domain1.com it is delivered without any problem.
This is a major security problem.
How can we prevent this?
12
Other / Why centos-webpanel.com use Cpanel instead of CWP
« on: May 19, 2022, 08:29:59 AM »
I was trying to confirm a security problem on email server from CWP and found that the website of CWP use cpanel instead of CWP.
It's only for me that this seems really odd?
There are any reason for that?
It's only for me that this seems really odd?
There are any reason for that?
13
E-Mail / Roundcube profile image too big
« on: March 25, 2022, 07:24:53 PM »
I have a problem with Roundcube, when I open an email the profile image is too big.
How can I fix it?
How can I fix it?
14
DKIM / DKIM record not generated
« on: March 14, 2022, 10:26:50 AM »
I have 3 servers with CWP (2x centos 7 and 1x centos 8 stream delayed), the Centos 8 is my most recent server, I think I configure everything correctly but the cwp is not generating a DKIM record for new domains added.
I use cloudflare go manage the dns, usually I add a new domain it created the dns records locally and I copy the values to cloudflare, but on my new server the DKIM record is never created.
I already rebuild multiple times the mail server, I tried to go to Email -> DKIM manager and "Add DKIM" but it never adds a dkim record, it show a success message but don't do nothing.
When I add a new domain in the other server if I go to Dkim Manager I get all columns green, in the new server I get
TrustedHosts = Red
KeyTable = Red
v=DKIM1 = Green
v=spf1 = Green
I already tried do add the domain to /etc/opendkim/TrustedHosts manually and in that case I can turn TrustedHosts to green, but the dkim record is never generated. I saw that the /etc/opendkim/userkeys/ folder don't even exist I have a /etc/opendkim/keys/ but it's empty, I tried to create that folder but even after rebuild mailserver it still empty.
Please any tips to solve this problem
I use cloudflare go manage the dns, usually I add a new domain it created the dns records locally and I copy the values to cloudflare, but on my new server the DKIM record is never created.
I already rebuild multiple times the mail server, I tried to go to Email -> DKIM manager and "Add DKIM" but it never adds a dkim record, it show a success message but don't do nothing.
When I add a new domain in the other server if I go to Dkim Manager I get all columns green, in the new server I get
TrustedHosts = Red
KeyTable = Red
v=DKIM1 = Green
v=spf1 = Green
I already tried do add the domain to /etc/opendkim/TrustedHosts manually and in that case I can turn TrustedHosts to green, but the dkim record is never generated. I saw that the /etc/opendkim/userkeys/ folder don't even exist I have a /etc/opendkim/keys/ but it's empty, I tried to create that folder but even after rebuild mailserver it still empty.
Please any tips to solve this problem
15
Apache / Serve index.php first than index.html
« on: March 12, 2022, 09:07:45 AM »
I updates Apache to version 2.4.52, and some sites on the server start showing the default cwp page, this happens because the index.html start being handle before the index.php, the websites where I forget to delete the index.html are getting problems.
How can I change the settings to restore the previous configuration and start serve first the .php files?
I use Apache with nginx and use php cgi.
How can I change the settings to restore the previous configuration and start serve first the .php files?
I use Apache with nginx and use php cgi.