I've actually migrated the bayes DB files from the old server, using and I had to adjust some permissions afterwards of memory serves...contains the user and group under which it should run, which should match the ownership of the database.The spamassassin source code wasn't much help either. https://org/perlsec.html#Taint-mode And it's a security measure, so that your casual "evals with a printf inside" are not easily hijacked for "code injection".
/usr/local/sbin/clamd su - amavis -c "/usr/local/sbin/amavisd" I hope everything is ok.
To have its score always printed in some log, or preferably, included in the X-Spam-Status header?
Also, is there a way for me to map the Bayes score to a Spamassassin score increment?
These lines starts with #cd /usr/local/src #groupadd clamav #useradd -g clamav -s /bin/false -c "Clam Antivirus" clamav #tar -zxf clamav-0.88.2gz #cd clamav-0.88.2 #./configure --sysconfdir=/etc #make #make install #mkdir /var/lib/clamav #chown clamav:clamav /var/lib/clamav Clamav is installedl Lets make a test to see how clamav is working.
We are doing our test under /usr/local/clamav-88.2 directory which contains sample virus-like files. #/usr/local/bin/clamscan -r -l /usr/local/clamav-0.88.2 Edit /etc/and modify variables like below; #Example Log File /tmp/Database Directory /var/lib/clamav User amavis UPDATING CLAMAV VIRUS DATABASE Every second a new virus/worm is created, we must update our virus database. Before running freshclam edit file and modify the line "Example" like below.