Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: WEBlance on October 12, 2006, 02:53:44 PM

Title: Problems with spamfilter
Post by: WEBlance on October 12, 2006, 02:53:44 PM
In the tab "Spam Filter" in SME Manager I get this errormessage:

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

It doesn´t seem like the spam filter works at all. How do I fix it?

/Carl
Title: Problems with spamfilter
Post by: byte on October 12, 2006, 03:12:43 PM
Do you mean under Email > Change email filtering settings > Spam filtering?

Or is this a contrib?

Don't forget to fill in a Bug Report if any of the above.
Title: Problems with spamfilter
Post by: JonB on October 13, 2006, 03:28:36 AM
There is no such file /etc/e-smith/web/panels/manager/cgi-bin/spamfilter in a standard install of SME7.

Is this an upgrade of an older system or have you installed a spamfilter contribution.

Jon
Title: Can't call method "props" on an undefined value at
Post by: micronator on January 19, 2007, 03:43:44 AM
I updated from 6.0.01 to 7.1.
The first time I checked spam filter, il was working and I lower down the filtering of 2 points.
Next day I started receiving some spam so I wanted to put back my old tolerance but I received this message:

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

I search contribs and found at:
http://forums.contribs.org/index.php?topic=34172.0
*********************************
JonB
Home away from home
Joined: 29 Jul 2005
Posts: 298
Location: Auckland, NZ
PostPosted: 12 Oct 2006 20:28    Post subject:    Reply with quote
There is no such file /etc/e-smith/web/panels/manager/cgi-bin/spamfilter in a standard install of SME7.
Is this an upgrade of an older system or have you installed a spamfilter contribution.
Jon
*********************************

*********************************
# ll /etc/e-smith/web/panels/manager/cgi-bin/spamfilter
lrwxrwxrwx  1 root root 37 Aug 17 21:58 /etc/e-smith/web/panels/manager/cgi-bin/spamfilter -> /etc/e-smith/web/functions/spamfilter

# vi /etc/e-smith/web/panels/manager/cgi-bin/spamfilter

    232     ###Connect to spamassassin configuration dbase and pull main configuration
    233     ###parameters and WBL/RBL.
    234     my $dbh_sa = esmith::ConfigDB->open($sa_dbase);
    235     my %sa_conf = $dbh_sa->get('conf.global')->props;
    236
    237     my %wbl = $dbh_sa->get('wbl.global')->props;
    238     my @wbl = %wbl;
    239
    240     my %rbl = $dbh_sa->get('rbl.global')->props;
    241     my @rbl = %rbl;
*********************************

I will continue to search.

I would like to keep all my Primary ibay web and mainly all my mail accounts.
I was thinking of taking a backup, install brand new 7.1 then restore.

Any help appreciated.
Thank you all
Title: Re: Can't call method "props" on an undefined valu
Post by: raem on January 19, 2007, 03:57:33 AM
micronator

> I updated from 6.0.01 to 7.1.
> The first time I checked spam filter

Did you follow the upgrade instructions and remove old contribs & custom templates, see sticky post at top of forum

Do you have the swerts-knudsen spam filter installed (a sme 6.x contrib) ?
If so you should uninstall it as it is not compatible with sme7.
sme7 has spam filtering built in as default.
Title: Problems with spamfilter
Post by: CharlieBrady on January 19, 2007, 08:19:34 PM
Quote from: "JonB"
There is no such file /etc/e-smith/web/panels/manager/cgi-bin/spamfilter in a standard install of SME7.

Is this an upgrade of an older system or have you installed a spamfilter contribution.


Jon/Ray, please don't try to troubleshoot issues like this in the forum. This is a Bug Tracker issue - in this case, the Contribs bug tracker.