Koozali.org: home of the SME Server

troubles with Spam Assassin

hellie

troubles with Spam Assassin
« on: July 12, 2004, 03:29:03 PM »
troubles with SpamAssassin

Hi,

I have an Mitel Networks 6000 SME Server with about 300 users.

I installed the Clam Antivirus software

After everything was installed and configured i made a backup with the function "Backup to desktop".

Spam Assassin was NOT installed.

Some months later my HD chrashed. So i had to reinstall the server again but i decided to install Spam Assassin this time. That went very well. After that i wanted to put back the backup i made from the previous server. Went very well again except the Spam Assassin.

When i go the administration page's and i click on Spam Assassin i get this error :


Spam Assassin Settings
Software Error

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

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



What can i do to resolv this problem ? Install Spam Assassin again ? Or .... ?

Thanks

ergozd

troubles with Spam Assassin
« Reply #1 on: July 12, 2004, 04:21:21 PM »
Assuming that we have the same "spamassassin" installed

at line 123-124 /etc/e-smith/web/panels/manager/cgi-bin/spamassasin you'll find
Code: [Select]
   
my $dbh_sme = esmith::ConfigDB->open();
my %sme_conf = $dbh_sme->get('spamassassin')->props;


My guess would be you'll have to install and/or upgrade some perl-modules... Don't know which one(-s)...

Good luck, Ergin

Offline Smitro

  • *
  • 350
  • +0/-0
troubles with Spam Assassin
« Reply #2 on: May 13, 2005, 05:16:13 PM »
Any luck with fixing this? I'm stuck on the same problem.
.........

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
troubles with Spam Assassin
« Reply #3 on: May 14, 2005, 09:32:34 AM »
This indicates that the configuration for spamassassin (server-manager panel) is not present. You should just download the latest script and run it again:

[root@e-smith]# cd /root

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

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