Koozali.org: home of the SME Server

[ANNOUNCE]: New Spam Filter Server Manager Module

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #60 on: September 07, 2004, 11:20:37 AM »
Hi Nick,

I actually just got this error myself this morning and the fix is easy (until I release a new version).

open /usr/bin/spamfilter-stats.pl

go to line 233 and change the "if $total" to "if $spamcount"

my $above15percent = (($above15/$spamcount) * 100) if $spamcount;

Test it by running:

./spamfilter-stats.pl

Offline slicknic

  • **
  • 23
  • +0/-0
    • http://www.oasisdriving.co.uk
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #61 on: September 07, 2004, 11:43:38 AM »
Many thanks, that fixed the problem!! :-D
...
Oasis Driving School - Bristol
www.oasisdriving.co.uk

gijs

[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #62 on: September 07, 2004, 02:40:39 PM »
Hi Knuddi!

Thanks a lot for your contrib. It works very fine, but I've got the following:
I can't delete the following RBL's. It give's the message that they are deleted, but they are still in the list.

bl.spamcop.net  
contacts.abuse.net
dynablock.njabl.org
relays.ordb.org
sbl-xbl.spamhaus.org

Where can I delete them manually?

thanks
Gijs

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #63 on: September 07, 2004, 02:48:21 PM »
One of the consequences of the RBL migrate bug :-)

You can delete them manually in /home/e-smith/spamassassin_V3

Just leave the:

rbl.global=

/Jesper

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
SpamAssassin was updated
« Reply #64 on: September 08, 2004, 08:01:17 AM »
Hi Jesper,

I’m using your fantastic contrib. with great pleasure.

Yesterday the Spamassasin was updated by cron:

The following updates were downloaded and installed:
  - spamassassin-3.0.0-rc3.i386.rpm
  - spamassassin-tools-3.0.0-rc3.i386.rpm
  - perl-Mail-SpamAssassin-3.0.0-rc3.i386.rpm

regards,
The e-smith-USA script

This morning the Spamassasin was Downgraded by cron???

The following updates were downloaded and installed:
  - spamassassin-3.0.0-rc2.i386.rpm
  - spamassassin-tools-3.0.0-rc2.i386.rpm
  - perl-Mail-SpamAssassin-3.0.0-rc2.i386.rpm

regards,
The e-smith-USA script

Has there been a bug in the rc3 version or is this a bug in the cron script?

Anyway the script works great and are killing more than 100 spam mails a day 

Cheers
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Offline edb

  • *
  • 548
  • +0/-0
Problems installing SA
« Reply #65 on: September 08, 2004, 06:30:36 PM »
SME server v6.0.1
Installed SA as per the first posting in this thread but the installation hung at the very last part. Seen the FAQ that made ref to firewall settings for Razor and Echo so I made the changes and attempted to rerun the install script but I now keep getting error 404 file not found errors. Any ideas what went wrong?
Thanks for any help.
......

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #66 on: September 08, 2004, 10:08:14 PM »
Where in the script does it indicate that? Could you post or email the script output?

Rgds,
Jesper
jkn@swerts-knudsen.dk

Michiel

Re: SpamAssassin was updated
« Reply #67 on: September 08, 2004, 11:50:37 PM »
Quote from: "Denbert"
This morning the Spamassasin was Downgraded by cron???

The following updates were downloaded and installed:
  - spamassassin-3.0.0-rc2.i386.rpm
  - spamassassin-tools-3.0.0-rc2.i386.rpm
  - perl-Mail-SpamAssassin-3.0.0-rc2.i386.rpm


This happens if both the old version and the new version are available on Jesper's server. The update script kind of gets confused if it finds an older version, but doesn't really downgrade SA.

I saw Jesper removed the old version, so you shouldn't be seeing that message again.

regards,
Michiel

Offline edb

  • *
  • 548
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #68 on: September 10, 2004, 12:47:21 AM »
Here is the output: Still not working?

Downloading RPMs from http://sme.swerts-knudsen.dk
Checking for existing installations.... Please wait!
Installing SpamFilter on SME 6.0.....
--09:04:56--  http://sme.swerts-knudsen.dk/downloads/SpamFilter/perl-Mail-SpamAssassin-3.0.0-rc1.i386.rpm
           => perl-Mail-SpamAssassin-3.0.0-rc1.i386.rpm'
Resolving sme.swerts-knudsen.dk... done.
Connecting to sme.swerts-knudsen.dk[192.38.236.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:04:56 ERROR 404: Not Found.

--09:04:56--  http://sme.swerts-knudsen.dk/downloads/SpamFilter/spamassassin-tools-3.0.0-rc1.i386.rpm
           => spamassassin-tools-3.0.0-rc1.i386.rpm'
Resolving sme.swerts-knudsen.dk... done.
Connecting to sme.swerts-knudsen.dk[192.38.236.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:04:56 ERROR 404: Not Found.

--09:04:56--  http://sme.swerts-knudsen.dk/downloads/SpamFilter/spamassassin-3.0.0-rc1.i386.rpm
           => spamassassin-3.0.0-rc1.i386.rpm'
Resolving sme.swerts-knudsen.dk... done.
Connecting to sme.swerts-knudsen.dk[192.38.236.80]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
09:04:57 ERROR 404: Not Found.

Retrieving http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.1-1.noarch.rpm
error: skipping http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.1-1.noarch.rpm - transfer failed - Unknown or unexpected error
Installation of SpamFilter complete.
......

Offline psoren

  • *
  • 371
  • +0/-0
RBL list breaks
« Reply #69 on: September 10, 2004, 06:58:46 AM »
On my server, if i add "contacts.abuse.net" to the RBL blaclist, then it doesn't reject anymore. Anyone else having that problem?

Per

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #70 on: September 10, 2004, 10:39:32 AM »
Hi edb,

You are using a old script trying to download modules no longer there. Download the new spamfiler_install.sh script and try again.

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #71 on: September 10, 2004, 02:37:40 PM »
To those of you that have problems in getting tagged emails either auto deleted or moved to the junkmail folder when configured in the panel.

I have not yet found out why and where my installations fails but if you enable procmail the hard way for all users you should be fine for now. This can be done this way:

1) Install UserPanel (if you do not already have it installed)
# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/Userpanel/perl-Unicode-String-2.06-1.i386.rpm
# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/Userpanel/perl-Unicode-IMAPUtf7-1.02-1.i386.rpm
# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/Userpanel/e-smith-userpanel-1.6.0-3.noarch.rpm

2) Install Lat-tools
# rpm -Uvh http://mirror.contribs.org/smeserver/contribs/mblotwijk/Contribs/lazy-admin-tools/e-smith-lazy_admin_tools-0.9.0-1.noarch.rpm

3) enable procmail for all users
# lat-procmail -c "*|enable|no|some|normal"

Offline edb

  • *
  • 548
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #72 on: September 10, 2004, 06:13:17 PM »
Thanks Jesper that did the trick for solving my problems. Thanks again
......

RayG

[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #73 on: September 11, 2004, 05:55:29 AM »
I did a fresh Contribs SME 6 install this morning. Added a bunch of users with lat-users. And then installed Spamassassin and ClamAV with these great scripts. I then added my custom Spamassassin rules and --linted them to make sure they were ok with 3.0. There were a few minor problems like long descriptions but there was one problem I'm not sure has anything to do with my rules.

I don't remember the exact error message but it's something to the effect of "cannot parse rewrite_subject". Looking at the local.cf file I see "rewrite_subject" on a line with no value after it. For now I'm just deleting that line from the file but it comes back, as expected, every time I make changes in the spamfilter server manager panel. Any ideas where I went wrong in the install or how I might track down and fix the problem ?

Offline smeghead

  • *
  • 563
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #74 on: September 11, 2004, 11:41:55 AM »
Take a look at:

/etc/e-smith/templates-custom/etc/mail/spamassassin/local.cf

the rewite_subject verb requires an argument of either 0 or 1 (Yes or No).

It will rewite the subject line with the word SPAM if so configured.

A brief synopsis of this a few other salient settings can be found at:

http://www.cs.utah.edu/support/faq/email/spamassassin.html

HTH
..................