Koozali.org: home of the SME Server

SpamAssassin was updated to version 2.63

Charlie

SpamAssassin was updated to version 2.63
« 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.

Offline brianr

  • *
  • 990
  • +2/-0
SpamAssassin was updated to version 2.63
« Reply #1 on: February 01, 2004, 10:11:15 PM »
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?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Michiel

SpamAssassin was updated to version 2.63
« Reply #2 on: February 02, 2004, 11:38:19 AM »
Quote from: "brianr"
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

Anonymous

SpamAssassin was updated to version 2.63
« Reply #3 on: February 02, 2004, 02:20:28 PM »
Quote from: "Michiel"
Quote from: "brianr"
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

Offline brianr

  • *
  • 990
  • +2/-0
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

mbachmann

SpamAssassin was updated to version 2.63
« Reply #5 on: February 05, 2004, 10:31:52 AM »
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.

Michiel

SpamAssassin was updated to version 2.63
« Reply #6 on: February 05, 2004, 11:10:28 AM »
Quote from: "mbachmann"
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

Quote from: "mbachmann"
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

mbachmann

SpamAssassin was updated to version 2.63
« Reply #7 on: February 05, 2004, 02:45:38 PM »
All fine, all is in the right place. rpmlist is sorting uppercase letters first so e-smith-USA... comes before e-smith-apache...

Michiel

SpamAssassin was updated to version 2.63
« Reply #8 on: February 05, 2004, 08:18:44 PM »
Quote from: "mbachmann"
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>

Tymiles

Spam
« Reply #9 on: February 06, 2004, 10:01:09 PM »
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.

mbachmann

SpamAssassin was updated to version 2.63
« Reply #10 on: February 09, 2004, 11:07:09 AM »
Uninstall via rpm -e "package name without rpm extension".

Install old package.

Type spamassassin --help at command prompt to verify install.

Offline brianr

  • *
  • 990
  • +2/-0
testing SA
« Reply #11 on: February 11, 2004, 11:15:19 AM »
Type

spamassassin --lint -D

to test install of SA.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
SpamAssassin was updated to version 2.63
« Reply #12 on: February 12, 2004, 04:34:27 PM »
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?
............

Offline brianr

  • *
  • 990
  • +2/-0
SpamAssassin was updated to version 2.63
« Reply #13 on: February 16, 2004, 11:07:55 PM »
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.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........