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

Pages: [1] 2 3 ... 14
1
I have AL 8.10 in both servers. Getting error "Connection not reached"

What should be done?

2
E-Mail / Re: How to configure Spamassassin [updated]
« on: June 03, 2025, 10:26:22 AM »
We have SpamAssassin 3.4.6 (2021-04-09) in CWP

SpamAssassin 4.0.1 is the current version.

Any idea if it will be included in CWP or Can we manually update it? 4.0.0 was released way back in 2022-12-17

How important is the update? I am asking this as i received many emails with obvious SPAM content with very low scores

Quote
X-Spam-Status: No, score=1.3 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,
   DKIM_VALID,HTML_FONT_LOW_CONTRAST,HTML_IMAGE_RATIO_06,HTML_MESSAGE,
   MIME_HTML_ONLY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_MSPIKE_H4,
   RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED,
   RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE,URIBL_BLOCKED autolearn=no
   autolearn_force=no version=3.4.6

Quote
Subject: Start selling fast with TikTok creators

From: TikTok Shop <seller@shop.tiktok.com>

Content : ****Find and select your best collaborators with real performance at online <b>
Affiliate Center</b></div></div></div></div></div></div></div></td></tr>
</tbody></table></div>

3
E-Mail / Re: How to configure Spamassassin [updated]
« on: June 03, 2025, 10:19:39 AM »
Mine is owned by nobody:nobody with 755 permissions

Guess this helped me to make it work

4
E-Mail / Re: ClamAV not working
« 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

5
E-Mail / Re: ClamAV not working
« 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

6
E-Mail / Re: ClamAV not working
« 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(8)
           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

7
E-Mail / Re: Stop forwarding SPAM emails
« 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.

8
E-Mail / Re: CBPolicyD: Source 'any' is not a valid specification
« 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

9
E-Mail / Re: ClamAV not working
« 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)

10
E-Mail / Re: ClamAV not working
« on: May 30, 2025, 05:23:27 AM »
What OS was CWP installed on?
CentOS elevated to Alma Linux 8.10

11
E-Mail / ClamAV not working
« 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 ?


12
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

13
I could finally make this SPAMASSASSIN work in 2 servers.

I dont know exactly what made it work but here are the few steps I guess I had missed / did again

1. Ran
Quote
sudo chown -R nobody:nobody  /var/lib/spamassassin/

2. Rerun
Quote
systemctl daemon-reload
systemctl restart postfix spamassassin

3. Restarted all mail related services from CWP admin login

Somewhere spamassassin started working.

Have to make 1 more server work with this. Hope will figure out exactly what is going wrong when I follow the steps in wiki / forum topics.


14
E-Mail / Re: How to configure Spamassassin [updated]
« on: May 27, 2025, 07:33:34 AM »
Check if /var/lib/spamassassin/ exist, if not create. Check if user and groutp owned by nobody.

In my case its owned by root root

What should be done?

15
Looks like I am seriously missing something big

3 different servers running on alma linux with SpamAssassin

Followed instructions at https://wiki.centos-webpanel.com/how-to-configure-spamassassin

Read this thread and tried using

Emails never marked as SPAM or sent to SPAM folder


Pages: [1] 2 3 ... 14