Koozali.org: home of the SME Server

[Announce]: Updated SpamAssassin and Clam Antivirus

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« on: April 29, 2005, 01:29:27 PM »
Both of these have been released for their respective origins to version 3.0.3 for SpamAssassin and 0.84 for Clam Antivirus. Both upgrade/install scripts have been updated at sme.swerts-knudsen.com

For SpamAssassin the USA (Update SpamAssassin Automatically) location has been updated allowing automatic upgrade for those who have enabled that in their Spamfilter.

Enjoy,
Jesper

Offline mdo

  • *
  • 355
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #1 on: April 29, 2005, 10:03:01 PM »
Jesper,

many thanks for your continuous work on that. It's much appreciated.

Regards,
Michael
...

Offline edb

  • *
  • 546
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #2 on: April 30, 2005, 12:52:05 AM »
I agree, great work Jesper and thanks!

Ed
......

cc_skavenger

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #3 on: April 30, 2005, 01:55:53 AM »
Thanks, once again for your work.

Offline shmeg

  • *
  • 22
  • +0/-0
    • http://www.ontrack.com.au
Yep thanks Jesper
« Reply #4 on: April 30, 2005, 01:59:01 AM »
jesper's contributions make SA and Clam management a breeze. Certainly saves me hours!

As always great work Jesper! and thanks for your continuing efforts!
ben morrisson CCNA CCDA BA-Media
ben@ontrack.com.au...

mach1_4fun

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #5 on: April 30, 2005, 02:37:14 AM »
Thanks a million Jesper, upgrade went as smooth as usual!

Offline koopmann

  • 13
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #6 on: April 30, 2005, 10:43:50 AM »
Also thanks to Knuddi from me, but the automated upgrade did not work so smuth. This morning i got a lot of spam. Checking the log:
Apr 30 09:42:33 serv e-smith[17181]: Processing event: spamfilter-update
Apr 30 09:42:33 serv e-smith[17181]: Running event handler: /etc/e-smith/events/spamfilter-update/S10spamfilter-expand-procmailrc
Apr 30 09:42:48 serv e-smith[17181]: S10spamfilter-expand-procmailrc=action|Event|spamfilter-update|Action|S10spamfilter-expand-procmailrc|Start|1114846953 884650|End|1114846968 239610|Elapsed|14.35496
Apr 30 09:42:51 serv e-smith[17188]: Processing event: email-update
Apr 30 09:42:51 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S45mysql-start-if-required
Apr 30 09:42:52 serv e-smith[17188]: S45mysql-start-if-required=action|Event|email-update|Action|S45mysql-start-if-required|Start|1114846971 804870|End|1114846972 779408|Elapsed|0.974538
Apr 30 09:42:52 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S50conf-masq
Apr 30 09:42:56 serv e-smith[17188]: S50conf-masq=action|Event|email-update|Action|S50conf-masq|Start|1114846972 780131|End|1114846976 78146|Elapsed|3.298015
Apr 30 09:42:56 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S50conf-php
Apr 30 09:42:57 serv e-smith[17188]: S50conf-php=action|Event|email-update|Action|S50conf-php|Start|1114846976 78829|End|1114846977 718322|Elapsed|1.639493
Apr 30 09:42:57 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S50conf-security
Apr 30 09:43:01 serv e-smith[17188]: S50conf-security=action|Event|email-update|Action|S50conf-security|Start|1114846977 718966|End|1114846981 507874|Elapsed|3.788908
Apr 30 09:43:01 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55antivirus-conf
Apr 30 09:43:04 serv e-smith[17188]: S55antivirus-conf=action|Event|email-update|Action|S55antivirus-conf|Start|1114846981 508554|End|1114846984 637457|Elapsed|3.128903
Apr 30 09:43:04 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55conf-httpd
Apr 30 09:43:18 serv e-smith[17188]: S55conf-httpd=action|Event|email-update|Action|S55conf-httpd|Start|1114846984 638176|End|1114846998 972416|Elapsed|14.33424
Apr 30 09:43:18 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55email-conf
Apr 30 09:43:24 serv e-smith[17188]: S55email-conf=action|Event|email-update|Action|S55email-conf|Start|1114846998 973117|End|1114847004 822633|Elapsed|5.849516
Apr 30 09:43:24 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55imap-conf
Apr 30 09:43:26 serv e-smith[17188]: S55imap-conf=action|Event|email-update|Action|S55imap-conf|Start|1114847004 823319|End|1114847006 765931|Elapsed|1.942612
Apr 30 09:43:26 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55mailfront-conf-control
Apr 30 09:43:29 serv e-smith[17188]: S55mailfront-conf-control=action|Event|email-update|Action|S55mailfront-conf-control|Start|1114847006 766607|End|1114847009 331067|Elapsed|2.56446
Apr 30 09:43:29 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55mailfront-conf-env
Apr 30 09:43:30 serv e-smith[17188]: S55mailfront-conf-env=action|Event|email-update|Action|S55mailfront-conf-env|Start|1114847009 331712|End|1114847010 843192|Elapsed|1.51148
Apr 30 09:43:30 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55mailfront-conf-env-sasl
Apr 30 09:43:31 serv e-smith[17188]: S55mailfront-conf-env-sasl=action|Event|email-update|Action|S55mailfront-conf-env-sasl|Start|1114847010 843866|End|1114847011 797387|Elapsed|0.953521
Apr 30 09:43:31 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55mailfront-conf-tcprules
Apr 30 09:43:33 serv e-smith[17188]: S55mailfront-conf-tcprules=action|Event|email-update|Action|S55mailfront-conf-tcprules|Start|1114847011 798032|End|1114847013 101031|Elapsed|1.302999
Apr 30 09:43:33 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55pine-conf
Apr 30 09:43:34 serv e-smith[17188]: S55pine-conf=action|Event|email-update|Action|S55pine-conf|Start|1114847013 101694|End|1114847014 487522|Elapsed|1.385828
Apr 30 09:43:34 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55ssl-mailfront-conf-env
Apr 30 09:43:36 serv e-smith[17188]: S55ssl-mailfront-conf-env=action|Event|email-update|Action|S55ssl-mailfront-conf-env|Start|1114847014 488154|End|1114847016 147234|Elapsed|1.65908
Apr 30 09:43:36 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55ssl-mailfront-conf-env-sasl
Apr 30 09:43:37 serv e-smith[17188]: S55ssl-mailfront-conf-env-sasl=action|Event|email-update|Action|S55ssl-mailfront-conf-env-sasl|Start|1114847016 147926|End|1114847017 108101|Elapsed|0.960175
Apr 30 09:43:37 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S55ssl-mailfront-conf-tcprules
Apr 30 09:43:38 serv e-smith[17188]: S55ssl-mailfront-conf-tcprules=action|Event|email-update|Action|S55ssl-mailfront-conf-tcprules|Start|1114847017 108849|End|1114847018 446676|Elapsed|1.337827
Apr 30 09:43:38 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S60conf-imp
Apr 30 09:43:41 serv e-smith[17188]: S60conf-imp=action|Event|email-update|Action|S60conf-imp|Start|1114847018 447350|End|1114847021 725327|Elapsed|3.277977
Apr 30 09:43:41 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S65conf-other
Apr 30 09:43:45 serv e-smith[17188]: S65conf-other=action|Event|email-update|Action|S65conf-other|Start|1114847021 726016|End|1114847025 304585|Elapsed|3.578569
Apr 30 09:43:45 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S65restart-clamd
Apr 30 09:43:48 serv clamd: clamd shutdown succeeded
Apr 30 09:43:48 serv e-smith[17188]: Shutting down clamd: [   OK   ]^M
Apr 30 09:43:52 serv clamd: clamd startup succeeded
Apr 30 09:43:52 serv e-smith[17188]: Starting clamd: [   OK   ]^M
Apr 30 09:43:52 serv e-smith[17188]: S65restart-clamd=action|Event|email-update|Action|S65restart-clamd|Start|1114847025 305283|End|1114847032 807327|Elapsed|7.502044
Apr 30 09:43:52 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S65restart-httpd-graceful
Apr 30 09:43:54 serv httpd-e-smith: httpd -USR1 succeeded
Apr 30 09:44:04 serv e-smith[17188]: Gracefully reloading httpd: [   OK   ]^M
Apr 30 09:44:07 serv e-smith[17188]: S65restart-httpd-graceful=action|Event|email-update|Action|S65restart-httpd-graceful|Start|1114847032 808019|End|1114847047 151017|Elapsed|14.342998
Apr 30 09:44:07 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S70conf-turba
Apr 30 09:44:14 serv e-smith[17188]: S70conf-turba=action|Event|email-update|Action|S70conf-turba|Start|1114847047 268695|End|1114847054 189828|Elapsed|6.921133
Apr 30 09:44:14 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S90adjust-masq
Apr 30 09:44:14 serv kernel: denylog:IN=eth1 OUT= MAC=00:60:94:57:77:82:00:06:2a:1c:04:70:08:00 SRC=69.177.165.168 DST=83.93.90.179 LEN=829 TOS=0x00 PREC=0x00 TTL=111 ID=55294 PROTO=UDP SPT=21026 DPT=1026 LEN=809
Apr 30 09:44:18 serv e-smith[17188]: S90adjust-masq=action|Event|email-update|Action|S90adjust-masq|Start|1114847054 190520|End|1114847058 843707|Elapsed|4.653187
Apr 30 09:44:18 serv e-smith[17188]: Running event handler: /etc/e-smith/events/email-update/S90email-sighup
Apr 30 09:44:19 serv e-smith[17188]: S90email-sighup=action|Event|email-update|Action|S90email-sighup|Start|1114847058 844412|End|1114847059 309606|Elapsed|0.465194
Apr 30 09:44:20 serv spamassassin: spamd shutdown failed
Apr 30 09:44:26 serv spamd: ERROR!  spamassassin script is v3.000003, but using modules v3.000002!
Apr 30 09:44:27 serv spamassassin: spamd startup failed
I tried to restart the spamfilter from server-manger:
and got:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I tried a upgrade via the script from swerts-knudsen,
but it ended up the same way.
I hope someboddy can help.
Birger Koopmann
......

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #7 on: April 30, 2005, 12:19:08 PM »
koopman,

Which version of SME are you running?

Please check whether all modules got installed correctly by issuing:

# rpm -qa | grep -i spamassassin

You should have 3 RPM installed all called something with 3.0.3

Offline svangool

  • ***
  • 73
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #8 on: April 30, 2005, 02:07:58 PM »
@Knuddi,

SME 6.0-11 with updates

No success here either, run-parts /etc/cron.daily:
/etc/cron.daily/run_usa:

error: skipping http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/spamassassin-3.0.3-1.i386.rpm - transfer failed - Unknown or unexpected error
error: skipping http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/spamassassin-tools-3.0.3-1.i386.rpm - transfer failed - Unknown or unexpected error
Shutting down spamd: /etc/init.d/spamassassin: kill: (2468) - No such process
/etc/init.d/spamassassin: kill: (2467) - No such process
/etc/init.d/spamassassin: kill: (2466) - No such process
/etc/init.d/spamassassin: kill: (2465) - No such process
/etc/init.d/spamassassin: kill: (2462) - No such process
[   OK   ]
Starting spamd: ERROR!  spamassassin script is v3.000002, but using modules v3.000003!
[ FAILED ]

# rpm -qa | grep -i spamassassin
spamassassin-tools-3.0.2-1
perl-Mail-SpamAssassin-3.0.3-1
spamassassin-3.0.2-1

Any ideas?
......

cc_skavenger

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #9 on: April 30, 2005, 02:09:05 PM »
did you download the script right before you ran it, or is this an old version?

Offline koopmann

  • 13
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #10 on: April 30, 2005, 02:15:11 PM »
Yes I downloaded right befor.
Birger Koopmann
......

cc_skavenger

[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #11 on: April 30, 2005, 02:20:09 PM »
I would run rpm -qa | grep -i spamassassin.
I would uninstall the rpms listed with rpm -e, then
I would try running the script again.

HTH

Offline idyll

  • ***
  • 113
  • +0/-0
I would also like to publically thank Jesper
« Reply #12 on: April 30, 2005, 06:26:19 PM »
for his continued efforts and work, despite the somewhat uncertain environment. I also want to think him for responding to my many lame emails asking questions.

No smart-ass answers or commentary about my not being a developer and helping out, etc. What a breath of fresh air!

You are a good guy, Jesper, and appreciated.

regards,

patrick
...

Offline koopmann

  • 13
  • +0/-0
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #13 on: April 30, 2005, 09:11:23 PM »
(The server is 6.0.1 updated with smeplus.)
The perl-Mail-SpamAssassin-3.0.3-1.i386.rpm was downloaded by the script but some how not installed/updated.
I downloaded http://mirror.contribs.org/smeserver/contribs/swerts-knudsen/SpamFilter/perl-Mail-SpamAssassin-3.0.3-1.i386.rpm
Updated: rpm -Uvh perl-Mail-SpamAssassin-3.0.3-1.i386.rpm
Restarted the spamfilter via server-manager.
Now everything seems to work fine.
Thanks for the help.
Birger Koopmann
......

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[Announce]: Updated SpamAssassin and Clam Antivirus
« Reply #14 on: April 30, 2005, 10:28:39 PM »
More than 2400+ SpamAssassin and 100+ Clam Antivirus upgrades/installs within 24 hours!!

Properly most of the SpamAssassin upgrades were done through auto update - I better get this done for Clam AV as well.