Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Charlie on February 01, 2004, 05:11:03 PM
-
I keep getting this as an email every night. Any ideas what I should do to fix this. I assume it is a cron job looking to see if there is a SA upgrade.
-
I have been meaning to look at this for a while, and your message has reminded me.
They must have changed the format of the spamassassin RPM page, so you need to edit
/usr/bin/USA
change the line:
gawk -F"\"" '/\.i386\.rpm/ {print $6}' $DLDIR/index.html > $DLDIR/dl.lst
to
gawk -F"\"" '/\.i386\.rpm/ {print $8}' $DLDIR/index.html > $DLDIR/dl.lst
Perhaps if jesper is around, he could update his install?
-
They must have changed the format of the spamassassin RPM page, so you need to edit
Correct. Upgrade the USA script and you should be fine: http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/USA/
Since they keep on changing the format of the SA page, we no longer use their site. Jesper and I monitor spamaassin.org sit for updates. When there is a new version, we test them on our machines and then upload the new files to my contrib area on contribs.org. The USA script will then pull the updates from contribs.org.
Please report bugs or problems with the updating directly to me at bugs@altiplano.be
Michiel
-
They must have changed the format of the spamassassin RPM page, so you need to edit
Correct. Upgrade the USA script and you should be fine: http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/USA/
Michiel
Which one is the script?
Charlie
-
try
http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/USA/e-smith-USA-0.1.7-1.noarch.rpm
-
Good, i dared not to ask why the messages kept coming. Do i have to signal post-upgrade for this?
The rpm is not shown in the rpmlist of this 6.0 machine.
-
Good, i dared not to ask why the messages kept coming. Do i have to signal post-upgrade for this?
Nope, no need for that. It will instal itself in /etc/cron.daily and run every night at 4:00
The rpm is not shown in the rpmlist of this 6.0 machine.
Are you sure?
[root@perkamentus ibays]# rpm -q e-smith-USA
e-smith-USA-0.1.7-1
regards,
Michiel
-
All fine, all is in the right place. rpmlist is sorting uppercase letters first so e-smith-USA... comes before e-smith-apache...
-
so e-smith-USA... comes before e-smith-apache...
USA comes before apache? It's been like that for more than 200 years, hasn't it? The US government never really cared much about the indians.
;-)
</lame joke>
-
I upgraded to this new version of Spam Assassin and now all the spam is getting through. Is there something I need to do besides installing the RPM's (I am using E-smith 5.6)
I am using the Spam Assassin Panel through the server manager. Is there a way to test and see if SA is set up right?
Or can I uninstall everything and go back to the older version I was using? (What commands do I need to use?)
Thanks everyone for your help.
-
Uninstall via rpm -e "package name without rpm extension".
Install old package.
Type spamassassin --help at command prompt to verify install.
-
Type
spamassassin --lint -D
to test install of SA.
-
I ran the above command with my 2.6.3 install, and noticed the following in the results:
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
Failed to parse line in SpamAssassin configuration, skipping: sort_spam 1
Failed to parse line in SpamAssassin configuration, skipping: per_user 1
debug: using "/root/.spamassassin" for user state dir
debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks
debug: Score set 1 chosen.
debug: Initialising learner
debug: using "/root/.spamassassin" for user state dir
debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks
Is this OK, or are the above not working?
-
i get these also:
debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks
debug: Score set 1 chosen.
debug: Initialising learner
debug: using "/root/.spamassassin" for user state dir
debug: bayes: no dbs present, cannot scan: /root/.spamassassin/bayes_toks
but i don't see any syntax error messages.
I am not sure now whether Bayes is working or not.
I'll investiagate further.