spam assassin rules update

Nikolaos Milas nmilas at
Fri Sep 28 11:08:56 CEST 2012


I am on CentOS 6.3, using: amavisd-new-2.8.0-1.el6.x86_64 (which I built 
using the RPMForge SRPM for amavis 2.6.6 and current amavis source release).


(Clamd is running, spamd is not - since SA is controlled by amavis.)

My question: I don't see any activity to update spamassassin rules. In 
/etc/sysconfig/sa-update I see:

    # Uncomment below to force nightly sa-update
    # (you don't need to do this if you use spamd or amavisd)


So, I would expect that amavis would somehow take care of SA rule 
updates, but I don't see any.

I even tried to run:

     # /usr/share/spamassassin/sa-update.cron 2>&1 | tee -a 

as described in /etc/cron.d/sa-update, but I only get:

    # tail -f /var/log/sa-update.log
    ./sa-update: line 12: 10: command not found

I could not find any problem in the script that would cause an error.

# amavisd debug-sa
Sep 28 12:05:09.540 /usr/sbin/amavisd[19002]: 
logging initialized, log level 2, syslog: amavis.local6
Sep 28 12:05:09.554 /usr/sbin/amavisd[19002]: Valid 
PID file (younger than sys uptime 1 21:12:00)
Sep 28 12:05:09.556 /usr/sbin/amavisd[19002]: The 
amavisd daemon is already running, PID: [18601]
The amavisd daemon is already running, PID: [18601]

Can you please advise on the issue? How can I enable SA rule updates?


More information about the amavis-users mailing list