clamav spamassassin

stomach

Verified User
Joined
Jan 2, 2024
Messages
89
cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav


Do I need to clamav to install the correct antispam?


[root@server custombuild]# clamdscan
/usr/local/directadmin/custombuild: File path check failure: Permission denied. ERROR

----------- SCAN SUMMARY -----------
Infected files: 0
Total errors: 1
Time: 0.000 sec (0 m 0 s)
Start Date: 2024:01:12 16:12:53
End Date: 2024:01:12 16:12:53
[root@server custombuild]#
 
Do I need to clamav to install the correct antispam?
No clamav and anstispam are 2 different things.
Antispam is to fight spam.
Clamav is a virusscanner which scans mail for virusses/malware but does not fight spam.

If you want to do a virusscan manually, try like this:
clamscan -r -i /home/
and change directory from /home/ to whatever you want.

Better is to install Maldetect, which also works with clamav together.
 
cd /usr/local/directadmin/custombuild
./build set spamd spamassassin
./build spamassassin

With these commands does spamassassin already work on my server?
 
Yes, it will be build and activated.
You can also check because the clamd@scan service will be visible with the other services in your Directadmin admin panel.

And with this command you can see too:
ps faux | grep clam
it will show you both camd and freshclam running.

Kind of like this:
Code:
[root@server: /etc]# ps faux | grep clam
clamupd+    2267  0.0  0.0 102100 16796 ?        Ss    2023   0:07 /usr/bin/freshclam -d --foreground=true
root        7083  0.1  2.6 2435640 1724044 ?     Ssl   2023  23:59 /usr/sbin/clamd -c /etc/clamd.d/scan.conf
root     2994841  0.0  0.0   6408  2200 pts/0    S+   00:18   0:00              \_ grep --color=auto clam
 
Back
Top