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 ... 6 7 [8] 9 10 ... 14
106
CentOS 8 Problems / Re: User with SSH can't run node commands on shell
« on: September 20, 2024, 06:55:14 PM »
Try:
Code: [Select]
/opt/nvm/versions/node/vXX.XX.XX/bin/npmwhere vXX.XX.X is the version of nodejs you want to use (v14.15.3, v16.20.2, etc).

107
OpenDKIM:

If it doesn't start automatically on boot then most likely it isn't configured to start automatically. Run:

Code: [Select]
systemctl enable opendkim
and then check if it starts automatically after reboot.

Amavis:

Should be ok:
Code: [Select]
$inet_socket_bind = '127.0.0.1'
Just make sure postfix is configured to operate with amavis through 127.0.0.1.

108
Information / Re: Confused about listing domains
« on: September 18, 2024, 08:59:19 PM »
I think CWP was created like alternative to cPanel. You can see it in ports used by panels, features provided by CWP (cPanel to CWP migrations, etc), account structure, log files location, user level panel, etc.

Originally, cPanel divided domains to "main", "addon", "parked", "subdomains" and used different options to manage the domains. So I think CWP just copied the mechanism from cPanel. Now, cPanel tries to simplify the domain management and most likely we will see the changes in  the future releases of CWP. Actually I see such changes in actual releases of CWP.

109
Apache / Re: Create extra folder in home directory when creating users
« on: September 18, 2024, 08:26:52 PM »
Use CWP Account Hooks:
https://wiki.centos-webpanel.com/action-hooks
to create folders inside the account.

110
Information / Re: Confused about listing domains
« on: September 17, 2024, 08:38:14 PM »
The user level control panel shows the main domain name at Dashboard, see the section "Server Information".

If you want to get the list of the main domain names in terminal (shell) then run the script:
Code: [Select]
/scripts/list_usersor
Code: [Select]
echo "select username,domain from user;" | mysql root_cwpThe commands must be executed as root.

111
CentOS 9 Problems / Re: The mail-SSL doesn't work
« on: September 15, 2024, 10:02:03 PM »
I want to use SSL, with port 587.
1. Port 587: Short answer - STARTTLS. Read this:
https://en.wikipedia.org/wiki/Opportunistic_TLS

2. If you want to initiate SSL/TLS session explicitly then you need to use port 465.

3. If you want to do it over the port 587 then you have to reconfigure the mail server but it won't be the correct way.

CWP configures mail server correctly and provides correct mail settings in the user level control panel (see "Email accounts --> Email accounts")

112
CentOS 9 Problems / Re: The mail-SSL doesn't work
« on: September 15, 2024, 07:21:08 PM »
According to the provided log records there are no errors. The log records say the message from "
Code: [Select]
root@vmi1911643.contaboserver.net" was accepted and delivered to "
Code: [Select]
root@vmi1911643.contaboserver.net".

Your previous screeshot indicates you sends emails from the email address like "
Code: [Select]
noreply@...."

Send one more email using your application/script and then check logs again to be sure you check the correct mail records.

113
CentOS 9 Problems / Re: The mail-SSL doesn't work
« on: September 15, 2024, 06:29:25 PM »
You use port 587 (unsecure SMTP). So you need to disable "SSL" support in your mail application. The mail session will be secured automatically after the command "STARTTLS" (see logs).

In case you want to explicit TLS session. Then you need to use the port 465.

114
CentOS 9 Problems / Re: mod_security not allow to upload files
« on: September 15, 2024, 11:36:41 AM »
Make sure the rule is disabled, make a new attempt to upload the file and then check the error log file of the website:

Code: [Select]
/usr/local/apache/domlogs/domlogs/DOMAIN.COM.error_log
if the new attempt fails.

115
CentOS 9 Problems / Re: How to allow domain in firewall?
« on: September 14, 2024, 07:12:00 PM »
Just add the domain name with www and without into the file csf.dyndns one by line:
Code: [Select]
www.configserver.com
configserver.com
extra.configserver.com

this will allow all traffic (incoming/outgoing, tcp/udp, all ports) to/from the hosts www.configserver.com,configserver.com, extra.configserver.com.

If the hosts from the file change ip periodically then change the line:
Code: [Select]
DYNDNS = "0"to something like:
Code: [Select]
DYNDNS = "300"(set your own value) in the file csf.conf. It instructs csf to check and whitelist the actual IP addresses of the hosts listed in csf.dyndns every 300 seconds.


116
CentOS 9 Problems / Re: How to allow domain in firewall?
« on: September 14, 2024, 05:42:52 PM »
Hi,

It should be:
Code: [Select]
/etc/csf/csf.dyndnsAdditionally read and update the section "Global Lists/DYNDNS/Blocklists" of the file:
Code: [Select]
/etc/csf/csf.confaccording to your requirements.

Don't forget to restart CSF when the changes are done.

117
Mod_Security / Re: MOD SECURITY issue on new CWP PRO INSTALLATION
« on: September 13, 2024, 09:22:26 PM »
The simplest way is to disable mod_security :)

The correct way is to check mod_security logs, identify the blocking rule and disable it or modify according to the requirements of your site. Look here:
https://wiki.centos-webpanel.com/mod_security-for-cwp
to learn how to do this.

118
Suggestions / Re: Brazilian Portuguese x Portugal Portuguse
« on: September 13, 2024, 06:52:35 PM »
If you found a bug then you need to submit the bug report here:
https://bugs.control-webpanel.com/login_page.php

119
I haven't use WireGuard (by weejewel/wg-easy) personally. So I don't know how it works exactly but when I checked the page:
https://github.com/wg-easy/wg-easy/tree/master?tab=readme-ov-file
I found the script uses Docker to run VPN. Therefore I recommend you to chech the section "Docker Settings" of the file:
Code: [Select]
/etc/csf/csf.confand make sure it is configured accordingly.

120
Check the log file:
Code: [Select]
/var/log/messagesfor the messages marked as "Firewall" and your WAN IP address (IP address you try to establish connection from) to identify the problem.

Pages: 1 ... 6 7 [8] 9 10 ... 14