Koozali.org: home of the SME Server

[ANNOUNCE]: New Spam Filter Server Manager Module

Offline sgt-spam

  • ****
  • 84
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #45 on: September 03, 2004, 05:50:56 PM »
Quote from: "trenskow"
Hi and thanks.

Quote
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"


when i do this, it returns
bash: lat-procmail: command not found


lat-procmail will need to be executable (I'm assuming it already is).  If you're in the directory where the program exists, do ./lat-procmail -c "*|enabled|no|some|normal"  Otherwise, you'll need to provide the path to the executable.

Offline Rigger

  • ****
  • 71
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #46 on: September 03, 2004, 06:04:07 PM »
Getting the following error in the server manager. Installed on a fresh 6.0.1-01 install.

Quote

Spam Filter Settings
Software error:

Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 206.

For help, please send mail to the webmaster (admin), giving this error message and the time and date of the error.


Seems to be working as spam is being sorted to junkmail folders but cannot access server panel. Any ideas?

antivirus_install.sh install also before spam filter


Doug M.
"Rigger"

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #47 on: September 03, 2004, 08:28:14 PM »
Rigger,

Could you post the content of /home/e-smith/spamassassin_V3 if it exists?

Rgds,
Jesper

trenskow

[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #48 on: September 03, 2004, 08:30:34 PM »
Quote from: "sgt-spam"
Quote from: "trenskow"
Hi and thanks.

Quote
# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/lat-procmail
# lat-procmail -c "*|enabled|no|some|normal"


when i do this, it returns
bash: lat-procmail: command not found


lat-procmail will need to be executable (I'm assuming it already is).  If you're in the directory where the program exists, do ./lat-procmail -c "*|enabled|no|some|normal"  Otherwise, you'll need to provide the path to the executable.


hi again, and thanks for taking time helping me.
But am i totally misunderstanding what to do, cause when i go to a user lib, where lat-procmail is, ie. /home/e-smith/files/users/rasmus
and type
./lat-procmail -c "*|enabled|no|some|normal"
i get this error
bash: ./lat-procmail: /usr/bin/perl: bad interpreter: Permission denied

is there something basic here in smeserver, i have missed, or am i just unlucky

Offline sgt-spam

  • ****
  • 84
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #49 on: September 03, 2004, 08:54:01 PM »
A few pages back there's a wget statement (posted by Knuddi I believe).  That download's the 'lat-procmail' executable.  You may or may not have to chmod it to make it executable.

After you have the program downloaded, you run:
./lat-procmail -c "*|enabled|no|some|normal"

If you're not running lat-procmail from the directory you downloaded it to, you need to specify the path.

For example, if you downloaded it to /root/, but you're in /home/e-smith/files/users/admin, run:
/root/lat-procmail -c "*|enabled|no|some|normal

Offline Rigger

  • ****
  • 71
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #50 on: September 03, 2004, 09:19:48 PM »
Quote from: "Knuddi"
Rigger,

Could you post the content of /home/e-smith/spamassassin_V3 if it exists?

Rgds,
Jesper


The file is there but it is empty.

I'll also note that I did not see any error messages while the install script was running.

Doug M.
"Rigger"

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #51 on: September 03, 2004, 11:19:45 PM »
Rigger,

Delete the file and install the SpamFilter again (just the RPM). You might need to remove whatever version you have installed right now with rpm -e


# rpm -Uvh http://sme.swerts-knudsen.dk/downloads/SpamFilter/sme-spamfilter-1.0.3-1.noarch.rpm

I will dig into how to fix the original problem which I am quite sure has to do with the RBL and WBL migration in the install script.

Rgds,
Jesper

Cygnus600

Remove SpamFilter
« Reply #52 on: September 04, 2004, 11:50:13 PM »
How do I remove SpamFilter?
Is it sufficient with the command:
rpm -e sme-spamfilter

I have installed SpamFilter 1.0.3-1
Thanks in advance

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #53 on: September 05, 2004, 09:28:23 AM »
Yes, for this purpose rpm -e is sufficient. Please make sure to also delete the /home/e-smith/spamassassin_V3 before you do the new install. The SpamFilter creates a default config file upon installation and the reason for the:

Can't call method "props" on an undefined value at /etc/e-smith/web/panels/manager/cgi-bin/spamfilter line 206

Is due to a failed creation.

You should also be able to just delete the spamassassin_V3 file (no spamfilter removal) and then issue the follwing on the command line:

# /sbin/e-smith/signal-event spamfilter-init-procmail

Check that the spamassassin_V3 file was created in /home/e-smith/spamassassin_V3 and that it contains 3 sections:

conf.global=
rbl.global=
wbl.global=

Rgds,
Jesper

Cygnus600

[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #54 on: September 05, 2004, 09:41:43 AM »
Thanks for your reply Knuddi

And a complete uninstall. How do I do that?


Kind regards
Cygnus600

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #55 on: September 05, 2004, 10:13:23 AM »
you should be fine with a rpm -e. You should first disable spam filter in server-manager to ensure that its not active.

Cygnus600

[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #56 on: September 05, 2004, 10:18:30 AM »
Thank you very much for your quick reply.

Regards
Cygnus600

Offline ntblade

  • *
  • 252
  • +0/-0
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #57 on: September 06, 2004, 09:28:21 PM »
Hi,
Thanks for the the great work.
I configured RBL using smtpfront-qmail then the Spam Filter sserver manager panel then the anti Virus server manager panel.

I also do not have x-scanned by spam assasin in my incoming mail headers.  I'm sure I didn't miss any steps.  Where should I look to try and fix this?

Many thanks
NTB

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #58 on: September 06, 2004, 09:38:40 PM »
The spamfilter checks how the antivirus filter is configured and hooks itself in behind. You should save the Antivirus data first (in server-manager) and then the spamfilter. The RBLs via smtpfront will be overwritten by the spamfilter so configure that again.

Offline slicknic

  • **
  • 23
  • +0/-0
    • http://www.oasisdriving.co.uk
[ANNOUNCE]: New Spam Filter Server Manager Module
« Reply #59 on: September 07, 2004, 10:56:56 AM »
I am running SME server 6.01 with the pagefault antivirus contrib installed. I was running Jespers previous Spamassassin script and at the weekend installed the new V3 one.

However instead of getting the reports sent to my inbox I get the following email....

"Illegal division by zero at /usr/bin/spamfilter-stats.pl line 233."

Could this be a problem with permissions somewhere? I had a look at the spamfilter-stats.pl script and could not make any headway with it.

I would be grateful for any help. My system does seem to be filtering spam and delivering mail all ok though.

Nick
...
Oasis Driving School - Bristol
www.oasisdriving.co.uk