spam assassin rules update

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


Hello,

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).

Installed/used:
---------------
spamassassin-3.3.1-2.el6.x86_64
clamav-db-0.97.6-1.el6.rf.x86_64
clamd-0.97.6-1.el6.rf.x86_64
clamav-0.97.6-1.el6.rf.x86_64

(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)

    #SAUPDATE=yes

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 
/var/log/sa-update.log

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.

Also:
-----
# amavisd debug-sa
Sep 28 12:05:09.540 mailgate.example.com /usr/sbin/amavisd[19002]: 
logging initialized, log level 2, syslog: amavis.local6
Sep 28 12:05:09.554 mailgate.example.com /usr/sbin/amavisd[19002]: Valid 
PID file (younger than sys uptime 1 21:12:00)
Sep 28 12:05:09.556 mailgate.example.com /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?

Thanks,
Nick


More information about the amavis-users mailing list