Koozali.org: home of the SME Server

[Announce]: Updated SpamAssassin and Clam Antivirus

Offline azche24

  • *
  • 163
  • +0/-0
    • http://az-law.de
Probs with spamassassin-tools-3.0.2-1
« Reply #15 on: May 02, 2005, 07:31:16 AM »
Hi folks and again a big hug to jesper,

i had probs with updating SpamAss on my 6.0x SME; it said
Quote
perl-Mail-SpamAssassin = 3.0.2-1 is needed by spamassassin-tools-3.0.2-1
so i could not install the newer perl-Mail-SpamAssassin 3.0.3.

I just did
Quote
rpm -e spamassassin-tools
and after that  
Quote
rpm -Uvh perl-Mail-SpamAssassin 3.0.3*.rpm
and that made it.
Alexander Ziemann, Berlin - DE

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #16 on: May 02, 2005, 08:02:03 AM »
I noticed that the automatic update script has failed a multiple locations includign my own. This I expect is due to the heavy download activity a pretty much the same time. I am working on a more resistant updater which will be distributed (automatically) for next release of SpamAssassin.

For those of you that had failing SpamAssassin updates, please just run the install/upgrade script from:

http://sme.swerts-knudsen.com/howtos/howto_29.htm

Offline svangool

  • ***
  • 73
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #17 on: May 02, 2005, 02:15:55 PM »
Hello,

I can confirm that it worked for me the second time after the rpm -e and redownloading the script.
I had to start spamassassin manually by "/etc/init.d spamassassin start" but that was all (maybe that was caused because my system doesn't have 'service' on its default path).

Thanks Knuddi!
......

mbachmann

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #18 on: May 02, 2005, 03:22:31 PM »
Upgraded without any noticeable problems. Thanks Jesper.

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #19 on: May 04, 2005, 01:41:14 PM »
A new e-smith-USA package has been released (thanks to Michiel Blotwijk) which will more resistent to massive upgrades. This new package will also keep sme-spamfilter up to date along with the three SpamAssassin modules.

This new package will be autoupgraded for all users who has run the install script from swerts-knudsen.dk/com and using the spamfilter package.

Also a new Antivirus package has been released with similar integrated functionality. I can auto upgrade when new Clam Antivirus releases as well as sme-antivirus itself. To get the new sme-antivirus please just run the install/upgrade script from:

[root@e-smith]# wget -N http://sme.swerts-knudsen.dk/downloads/AntiVirus/antivirus_install.sh

[root@e-smith]# sh antivirus_install.sh

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #20 on: May 04, 2005, 02:29:48 PM »
Hi Jesper,

The upgrade ran like a charm - You are my personal hero!
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline mrjhb3

  • *
  • 1,188
  • +0/-0
    • John Bennett Services
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #21 on: May 04, 2005, 02:37:50 PM »
Quote from: "Knuddi"
A new e-smith-USA package has been released (thanks to Michiel Blotwijk) which will more resistent to massive upgrades. This new package will also keep sme-spamfilter up to date along with the three SpamAssassin modules.

This new package will be autoupgraded for all users who has run the install script from swerts-knudsen.dk/com and using the spamfilter package.

Also a new Antivirus package has been released with similar integrated functionality. I can auto upgrade when new Clam Antivirus releases as well as sme-antivirus itself. To get the new sme-antivirus please just run the install/upgrade script from:

[root@e-smith]# wget -N http://sme.swerts-knudsen.dk/downloads/AntiVirus/antivirus_install.sh

[root@e-smith]# sh antivirus_install.sh


Jesper,

Thanks for keeping this up to date.  Have you had any input to the inclusion of clam and SA with SME 7?  I'm just curious if anyone bothered to contact you about the packages you had already developed?  If so, great, I hope to see these features in SME 7, if not, that's too bad, and once again we witness the lack of communication going on.  Why totally re-invent the wheel when someone already has something built?

JB
......

Offline idyll

  • ***
  • 113
  • +0/-0
question about Clam AV and updates
« Reply #22 on: May 04, 2005, 03:13:13 PM »
I am curious how many of you folks use the "automatic update" feature? Has it shown to be reasonably safe to allow the updates to happen without intervention?

I just installed the Clam contrib, found I had to kick start SA before the headers reflected the two processes were working.

thanks.

regards,

patrick
...

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #23 on: May 04, 2005, 03:24:41 PM »
The Automatic SpamAssassin updater (USA) has been active for quite a few releases now and has shown to be quite good. The amount of people using the autoupdate (~2500) indicates that it should work just fine. I think that contribs.org had an issue with the latest update as ~2000 servers tried to get the complete package all at the same time AND the updater wasn't resistant to this. This has been corrected in the new e-smith-USA release (0.3.5).

This is of cause no gurantee and hence the reason why the default behaviour is to download and inform the admin.

mbachmann

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #24 on: May 04, 2005, 03:45:26 PM »
Jesper, only get it halfway. There are two scripts:

spamfilter_install.sh wich installs a new e-smith-USA package (e-smith-USA-0.3.5-1.noarch.rpm) with auto-upgrade feature.

antivirus_install.sh wich installs an auto-upgrade feature for ClamAV.

To get both auto-upgrades (SA and ClamAV), both scripts have to be downloaded and executed, right?

The "old" USA package (mine is e-smith-USA-0.3.0-1) had done its job quite reliable. What's improved in 0.3.5-1?  (EDIT was a little too slow posting, answered above)

Michiel

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #25 on: May 04, 2005, 04:49:54 PM »
Quote from: "mbachmann"
The "old" USA package (mine is e-smith-USA-0.3.0-1) had done its job quite reliable. What's improved in 0.3.5-1?


It should now be even more reliable  :-D

1. USA now first checks if all required packages have been downloaded correctly before attempting to install the lot. If one download failed, the update is stopped and retried the next day.
2. RPM versions are now checked before downloading them. In version 0.3.0 the version handling was left to rpm, causing conflicts in some cases.
3. Activity is now logged to /var/log/USA.log
4. The default behaviour was changed from "install" to "download and warn admin"
5. A couple of cosmetic bugs were removed (and probably replaced by other cosmetic bugs)

If you find any real bugs, please let me know.
regards,
Michiel

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #26 on: May 04, 2005, 07:30:00 PM »
mbachmann,

You are right both scripts have to at least once be executed BUT you do not need to do anything for the Spamfilter IF you have run it once (even though its long time ago) and you have the Automatic SpamAssassin Update (USA) option in the server-manager panel.

For Antivirus you need to run it once and obtain the new 1.4.0 version to get this new functionality.

Offline ltc6netspec

  • ***
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
Updating Antivirus
« Reply #27 on: May 04, 2005, 08:50:15 PM »
Currently I'm using Pagefault.org AV script on two servers.  I've tried to use your update script twice before on the same server and it bombs out.  When I installed Pagefaults AV I had to install YUM.  The question is could YUM be causing it to bomb out. And if so how do I prevent the problem.

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #28 on: May 04, 2005, 09:25:37 PM »
ltc6netspec,

YUM is just an update system and shouldn't cause any problems if NOT set to automatically update from a site on a regular basis.

Which version of SME are you using?

What does bombs out means - a little more technical explanation would help :-)

Offline ltc6netspec

  • ***
  • 72
  • +0/-0
    • http://www.lth6.k12.il.us
Update Antivirus
« Reply #29 on: May 04, 2005, 10:37:06 PM »
I had Abe Loveless try it he found that this SME 6.01-01 shows perl-libnet-1.0901-17 where your update file will not update this version file.  Do I need the update perl-libnet that your script downloads.  If so what are the commands you want me to use.