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

Pages: 1 2 [3] 4 5 ... 29
31
SSL / Re: setup SSL on clientdomain.com:2083
« on: March 07, 2025, 12:23:21 PM »
Try to use:
https://cpanel.domain.com
instead of
https://domain.com:2083
Make sure the SSL is installed for webmail, cpanel, etc. You should see:
https://i.imgur.com/79oP1OF.png

32
SSL / Re: setup SSL on clientdomain.com:2083
« on: March 06, 2025, 10:37:41 PM »
In CWP admin go to "SSL certificates" in the section "WebServer Settings". Click on "Admin services" near the domain name you want to enable SSL for, check all options "mail, webmail, cpanel, ftp", click on "Apply changes".

All subdomains (cpanel.domain.com, webmail.domain.com, ftp.domain.com, mail.domain.com) must be pointed to your server.

33
The problem appears because your system (CentOS 7) doesn't support TLS v1.2.  (TLS v1.2 is required to establish HTTPS connections with wordpress.org). To enable TLS v1.2 you need to compile openssl v1.0.1 or late from sources then recompile PHP against the compiled openssl version. You will have to do it manually or modify CWP scripts to build PHP.


I think it is the minimum you need to do to solve the problem.

34
Suggestions / Re: php 8.4
« on: March 05, 2025, 07:33:38 PM »
It is possible to add custom PHP version but I don't have "HOWTO". Anyway look into the folders:

for Centos 8/Almalinux 8/RockyLinux 8:
/usr/local/cwpsrv/htdocs/resources/conf/el8/

Almalinux 9/RockyLinux 9:
/usr/local/cwpsrv/htdocs/resources/conf/el9/

There is clear structure, learn directory structure and files stored there to understand what email file does and then you will be able to add the custom PHP version.

35
DKIM / Re: How to implement 2048 bit DKIM keys on CWP servers.
« on: March 05, 2025, 04:36:20 PM »
Quote
Or I just do it manually.

As another user wrote the question is:

Quote
it's about "How to implement 2048 bit DKIM keys on CWP servers".

2048 bit DKIM is the new standard today, developers of CWP and we the users must move toward implementing 2048 bit DKIM out of the box by default.

;)

36
You are using outdated/unsupported OS CentOS 7. Consider to upgrade OS or migrate to Almalinux 8 or 9 to resolve the problem.

37
DKIM / Re: How to implement 2048 bit DKIM keys on CWP servers.
« on: March 04, 2025, 04:16:57 PM »
If the above soulution doesn't work and cause the problem then you need to undo the changes and use the CWP Hooks:
https://wiki.centos-webpanel.com/action-hooks
look at "Account Hooks". When a new domain/subdomain is added your script should generate the DKIM key and put the proper DNS record into the DNS zone of the domain.

Please note it requires programming skills to write the script.

38
DKIM / Re: How to implement 2048 bit DKIM keys on CWP servers.
« on: March 04, 2025, 12:45:41 PM »
opendkim-genkey is a perl script. You can open the file /usr/sbin/opendkim-genkey using the text editor like vi, ee, etc and change the value of "bits":

Code: [Select]
my $bits = 1024;
to

Code: [Select]
my $bits = 2048;
right under "Set up defaults".

It will generate 2048bits keys by default.

Please note you do such changed on your own risk.

39
DKIM / Re: How to implement 2048 bit DKIM keys on CWP servers.
« on: March 04, 2025, 12:32:40 PM »
Quote
Many mailserver put email in SPAM, especially Google.

Just sent a test email from my CWP server to my email address at gmail. It was received and not marked as spam. The email was signed by 1024bit DKIM record.

I think your emails are marked as spam and/or rejected by gmail and other mail servers for some other reason:

1. The IP address of your server is blackisted/has bad mail reputation;
2. The DKIM record of your domain is incorrect or absents;
3. The SPF record of the domain you send the emails from is incorrect/absents;
4. Misconfiguration of PTR/RDNS record.

40
Pal, why do you ask ? Just run the script and then check if the problem remains :) If the problem is still there but you get a new error then show the new error message.

Or is your last post just to increase the post counter at this forum ?

41
Backup / Re: Restore CWP7 pro from weekly.
« on: March 03, 2025, 06:57:46 PM »
If you did not create backups of the accounts using "new" or "standard" backup system provided by CWP then there is no way restore the account from backup using CWP features. In this case you will have to recreate the accounts incuding their objects (databases, email address, domains) manually and then upload database content using phpMyAdmin, upload all files over FTP. Anyway, it requires some local backup.

UPD:
How to restore the databases from backups created by mysqldump check this page:
https://docs.bitnami.com/aws/infrastructure/mariadb/administration/backup-restore-mysql-mariadb/

42
CentOS 7 Problems / Re: CWP Server FTP Connection Error
« on: March 03, 2025, 08:50:47 AM »
Don't open all ports above 1024 for FTP. Just open the ports used by the FTP daemon:

1. Open the file:
/etc/pure-ftpd/pure-ftpd.conf
2. Find:
'PassivePortRange'
3. Open the ports specified in "PassivePortRange".

CWP uses CSF to manage firewall rules. If you modify the firewall rules manually they can be reset someday. So I recommend you to manage the firewall rules using CSF. The main config file of CWP is:
/etc/csf/csf.conf
Check and update the values of TCP_IN,TCP_OUT,UDP_IN,UDP_OUT to open/close ports.

Actually you need to specify the port range in TCP_IN,TCP_OUT and then restart CSF.

43
E-Mail / Re: Can send email but not receive
« on: March 02, 2025, 07:03:13 PM »
If you removed reject_unknown_client from  smtpd_client_restrictions  and it solved the problem then it means the source mail server is misconfigured a bit. Most likely it has a wrong RDNS record or doesn't have it at all.

44
Check CWP log:

/usr/local/cwp/php71/var/log/php-fpm.log

and MySQL log to make sure there are no errors.

45
CentOS-WebPanel Bugs / Re: Cronjob not added from user panel
« on: March 01, 2025, 11:58:16 AM »
I think you missed something and here is why:

Cron just runs the task/script and nothing more. It doesn't connect the task with the website. Therefore if the script executed via cron must send some request to your website but it doesn't happen then it looks like the executed task/script doesn't work or it is blocked blocked by mod_security, etc.

Can you demonstrate us some command from some non working cron task ?


Pages: 1 2 [3] 4 5 ... 29