11
E-Mail / Re: ClamAV not working
« Last post by anandmys on May 31, 2025, 07:47:54 AM »ClamAV can be used to scan files.
Only incoming/ outgoig emails are not being scanned by ClamAV
Only incoming/ outgoig emails are not being scanned by ClamAV
12
E-Mail / Re: ClamAV not working
« Last post by anandmys on May 31, 2025, 06:47:47 AM »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)
ClamAV is up and running
No mention of ClamAV in headers
Sending from gmail
13
E-Mail / Re: ClamAV not working
« Last post by anandmys on May 31, 2025, 06:46:26 AM »Make sure all of ClamAV is installed, it won't hurt if it already is.Code: [Select]dnf install clamav* clamd
Then check with:Code: [Select]systemctl status clamd
Quote
[root@server ~]# systemctl status clamd
● clamd.service - clamd scanner () daemon
Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2025-05-30 16:36:59 +09; 23h ago
Docs: man:clamd(
man:clamd.conf(5)
https://www.clamav.net/documents/
Main PID: 1558721 (clamd)
Tasks: 2 (limit: 36141)
Memory: 1.3G
CGroup: /system.slice/clamd.service
└─1558721 /usr/sbin/clamd -c /etc/clamd.d/amavisd.conf --foreground=yes
May 31 14:52:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 14:52:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:02:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:02:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:12:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:12:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:22:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:22:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:32:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
May 31 15:32:52 server.my server.com clamd[1558721]: SelfCheck: Database status OK.
Test sending the mail with code. Still not working
14
Addons / Web Analytics for CWP
« Last post by DragoCom on May 31, 2025, 01:05:04 AM »Is there such an addon for CWP for server wide analytics for each website. Like awstats and webalizer worked but they are so far out of date it's crazy. I need something easy to install serverwide without requiring a docker or container.
16
E-Mail / Re: Stop forwarding SPAM emails
« Last post by anandmys on May 30, 2025, 07:38:18 AM »I see some hints at https://talk.plesk.com/threads/do-not-forward-spam-emails-to-external-mailbox.370124/
Using postfix-pcre to block outgoing emails with SPAM in subject line
Have implemented the same.
If it works, I will update it here.
Using postfix-pcre to block outgoing emails with SPAM in subject line
Have implemented the same.
If it works, I will update it here.
17
E-Mail / Re: CBPolicyD: Source 'any' is not a valid specification
« Last post by anandmys on May 30, 2025, 05:37:26 AM »I would say at this point all bets are off on CentOS 7.9... it is now EOL so best to ELevate to AlmaLinux 8 for production purposes. Then we can support you better with current advice and a better foundation going forward.
I am running alma linux 8.10
I see the following warning
Quote
May 30 14:34:40 server.myserver.tld cbpolicyd[1544046]: [2025/05/30-14:34:40 - 1544046] [POLICIES] WARNING: [ID:6/Name:Default Server Limit]=>(group:cwp_domains): - Source 'any' is not a valid specification
18
E-Mail / Re: ClamAV not working
« Last post by anandmys on May 30, 2025, 05:33:26 AM »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)
19
E-Mail / Re: ClamAV not working
« Last post by anandmys on May 30, 2025, 05:23:27 AM »What OS was CWP installed on?CentOS elevated to Alma Linux 8.10
20
E-Mail / Re: ClamAV not working
« Last post by Starburst on May 30, 2025, 03:24:31 AM »What OS was CWP installed on?