Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
CentOS-WebPanel Bugs / Re: BUG: DNS Zone SPF (user account)
« Last post by overseer on May 30, 2025, 12:11:34 AM »
Temporary workaround: use -all instead of ~all.
22
E-Mail / Re: ClamAV not working
« Last post by cyberspace on May 29, 2025, 11:39:51 PM »
Check processes running on your server/vps and make sure ClamAV is up and working.

If ClamAV works then check the mail headers of the test email received by you.

Also, send test emails from a 3rd party server to your email address located at your CWP server. If you send emails locally (the sender and recipient are located at the same server then the mail could be delivered bypass ClamAV)
23
CentOS-WebPanel Bugs / Re: BUG: DNS Zone SPF (user account)
« Last post by multi4net on May 29, 2025, 09:51:48 PM »
Same problem if i put from customer panel the dns with " then ok i see ~all but at the record at central panel not work. Please if there is a solution tell me.
24
CentOS Configuration / Re: Change ports 80 and 443
« Last post by Steff on May 29, 2025, 04:36:45 PM »
Thanks Starburst.

I have now changed all of the ports and hope that I can tunnel in to CWP from the reverse proxy.
Thanks for all of your help
25
PHP Selector / Re: phpfm not work
« Last post by JM_Stoorvogel on May 29, 2025, 03:34:27 PM »
How about this in a crontab:

Code: [Select]
#!/bin/bash

#script for updating php-fpm scripts for users on CWPro7

templatefile=/usr/local/cwpsrv/htdocs/resources/conf/web_servers/vhosts/php-fpm/default.tpl

template=`cat $templatefile`


for i in /opt/alt/php-fpm*; do
        phpver=${i: -2}
        targetdir="/opt/alt/php-fpm${phpver}/usr/etc/php-fpm.d/users"

        for u in /home/*; do
                if [ -d "$u" ]; then
                        user=${u/\/home\//}
                        targetfile=${targetdir}/${user}.conf

                        content=${template//%phpfpmver%/php-fpm${phpver}}
                        content=${content//%backend%/$user}
                        content=${content//%username%/$user}
                        content=${content//%home%//home}

                        echo "$content" > $targetfile
                fi
        done

        systemctl restart php-fpm${phpver}
done

it can probably be adjusted and better, with update en overwrite modes, but it works well...
26
Updates / Re: CWP Update?
« Last post by overseer on May 29, 2025, 10:55:05 AM »
CWP for EL9 is in beta currently.
27
Updates / Re: CWP Update?
« Last post by its_me_rbk on May 29, 2025, 09:41:40 AM »
Is there any approximate eta for CWP support in AlmaLinux 9 or 10?
28
E-Mail / ClamAV not working
« Last post by anandmys on May 29, 2025, 06:14:49 AM »
As mentioned in wiki at https://wiki.centos-webpanel.com/test-spamassassin-and-clamav

I am sending an email with content

Quote
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

I dont see any flagging in log.

Mail is also getting landed in inbox

What might have gone wrong?

I have built mail servers with ClamAV enabled

Any settings to be done as it is the case with SpamAssassin ?

29
E-Mail / Re: spamassassin.service: Failed with result 'start-limit-hit'
« Last post by anandmys on May 29, 2025, 06:07:12 AM »
I am able to make this all work in one go in 3rd VPS

https://wiki.centos-webpanel.com/how-to-configure-spamassassin is what I followed with the following additional things

1. edit /etc/sysconfig/spamassassin had some code. Replaced that with

Quote
SAHOME="/var/lib/spamassassin/"
SPAMDOPTIONS="-c -m5 -u nobody -s ${SAHOME}spamd.log"

2. Used

systemctl daemon-reload

with

sa-update
systemctl restart postfix spamassassin

3.

Quote
nano /usr/lib/systemd/system/spamassassin.service

Added

StartLimitBurst=0

in last line of [Service] block as suggested here earlier

Quote
systemctl daemon-reload

The email with content

Quote
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

went to Junk folder

Thanks all for the support

systemctl daemon-reload
30
Installation / AL10 Install Problem
« Last post by Starburst on May 28, 2025, 06:55:16 PM »
Trying to install on AL10, and get:

Quote
Error:
 Problem: conflicting requests
  - nothing provides libcrypto.so.1.1()(64bit) needed by cwpsrv-1.24.0-1.x86_64 from cwp
  - nothing provides libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) needed by cwpsrv-1.24.0-1.x86_64 from cwp
  - nothing provides libssl.so.1.1()(64bit) needed by cwpsrv-1.24.0-1.x86_64 from cwp
  - nothing provides libssl.so.1.1(OPENSSL_1_1_0)(64bit) needed by cwpsrv-1.24.0-1.x86_64 from cwp
  - nothing provides libssl.so.1.1(OPENSSL_1_1_1)(64bit) needed by cwpsrv-1.24.0-1.x86_64 from cwp
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Can get cwp-php installed by using
Code: [Select]
dnf install cwp-php-7.2.34-1 --nobest
I know, AL10 just released on 2025-05-28. And isn't a supported OS.
Pages: 1 2 [3] 4 5 ... 10