Show Posts

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.


Messages - kandalf

Pages: [1] 2 3 ... 6
1
DKIM / Re: How to change DKIM Selector
« on: August 18, 2023, 10:21:42 AM »
Do you find anything?

2
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.

3
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?

4
E-Mail / Re: Certificate not valid
« on: April 27, 2023, 09:57:03 AM »
if you have a valid A record set for your hostname try also check that you have rDNS set with your server provider and then change hostname from cwp.
By changing hostname from cwp if you have an A record for it you will get letsencrypt (autoSSL) certificate installed automatically.

It would be also recommended to rebuild mail server after that, you can do that also from cwp.

This topic it's a bit old but I have the same problem everytime my certificate is renewed I get errors on email server and I need to rebuild it. Can we automatize this rebuild?

5
E-Mail / Re: How to use server with CWP as email server
« on: August 24, 2022, 01:00:00 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.

Did you check MailServer Manager option in cwp?

Yes but I don't have any option to generate a custom dkim with a specific selector.
I have added the domain on the server that will send the newsletters it generate a default_domainkey I can't have 2 dkim keys with the same name on the dns. My solution at the moment was to copy the dkim keys from the original server and paste it on this server.
So both servers have the same key and I need a single dkim record for both, but this is not a perfect solution should be possible to customize the selector used to be able to create something like newsletter._domainkey and prevent problems in dns

6
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?

7
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.

8
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?

9
Other / Re: Why centos-webpanel.com use Cpanel instead of CWP
« on: May 19, 2022, 12:07:45 PM »
I don't know what is the old website but the current one https://centos-webpanel.com/cpanel is  clearly  on a cpanel.

It's strange to create a webpanel as alternative to cpanel and then use cpanel to host the main website of the project.

10
E-Mail / Re: Roundcube profile image too big
« on: May 19, 2022, 09:07:59 AM »
Kandalf, parece que você fala português. Você conseguiu instalar o laravel com o cwp pro?
Sim sem qualquer problema, tenho imenso sites em laravel a funcionar num servidor com CWP

11
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?

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?

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?

14
DKIM / Re: DKIM record not generated
« on: March 16, 2022, 09:12:26 AM »
why are your files dated 2016? Did you have this centos 8 server since then and you installed CWP on it without reinstalling centos 8 first?

Yes this is a print from my centos 7 that it now exactly the same of the centos 8, only the dates changed, but here is the files from the correct server:

Code: [Select]
[root@moon ~]# ll /usr/sbin/*dkim*
-rwxr-xr-x 1 root root 227856 Feb 24 05:14 /usr/sbin/opendkim
-rwxr-xr-x 1 root root   1430 Feb 24 05:14 /usr/sbin/opendkim-default-keygen
-rwxr-xr-x 1 root root   6445 Feb 24 05:14 /usr/sbin/opendkim-genkey
-rwxr-xr-x 1 root root  85344 Feb 24 05:14 /usr/sbin/opendkim-genzone
-rwxr-xr-x 1 root root  14498 Feb 24 05:14 /usr/sbin/opendkim-reportstats
-rwxr-xr-x 1 root root  85488 Feb 24 05:14 /usr/sbin/opendkim-testkey
-rwxr-xr-x 1 root root  16760 Feb 24 05:14 /usr/sbin/opendkim-testmsg

All files have the same timestamp this probably is the original creation date of the last opendkim version

15
DKIM / Re: DKIM record not generated
« on: March 15, 2022, 06:19:38 PM »
It's a little strange I only make it work after I install opendkim-tools,
Now I have this
Code: [Select]
[root@mercury ~]#  ll /usr/sbin/*dkim*
-rwxr-xr-x 1 root root 162104 Dec 21  2016 /usr/sbin/opendkim
-rwxr-xr-x 1 root root   1430 Dec 21  2016 /usr/sbin/opendkim-default-keygen
-rwxr-xr-x 1 root root   6445 Dec 21  2016 /usr/sbin/opendkim-genkey
-rwxr-xr-x 1 root root  68280 Dec 21  2016 /usr/sbin/opendkim-genzone
-rwxr-xr-x 1 root root  14498 Dec 21  2016 /usr/sbin/opendkim-reportstats
-rwxr-xr-x 1 root root  72688 Dec 21  2016 /usr/sbin/opendkim-testkey
-rwxr-xr-x 1 root root  15640 Dec 21  2016 /usr/sbin/opendkim-testmsg

And this was what I have in all other servers with Centos 7 only the one with Centos 8 was missing some commands and start working after I install it.

Pages: [1] 2 3 ... 6