At the risk of being told to search and read the forums, I have an issue with the spamfilter-stats-7.pl script.
First, I have installed michealw's rpm for spamassassin features to setup my bayes learning.
Second, I have completed the Bayesian portion of sonoracom's how to.
Third, I can run (and it seems to work) the LearnAsSpam.pl script.
Here is my problem:
perl /usr/bin/spamfilter-stats-7.pl
Use of uninitialized value in string lt at /usr/bin/spamfilter-stats-7.pl line 222, <> line 1.
After typing the execution line, you have to hit enter to get the error. Further, execution halts again until you hit enter again. This continues for the forseeable future
until you break out of the script.
Here is what I have checked so far:
[root@mail ~]# ls -l /var/log/qpsmtpd/*
-rwxr--r-- 1 smelog smelog 4998001 Nov 14 02:36 /var/log/qpsmtpd/@400000004559800229646d8c.s
-rwxr--r-- 1 smelog smelog 4998345 Nov 14 04:04 /var/log/qpsmtpd/@400000004559949d39a6b484.s
-rwxr--r-- 1 smelog smelog 4998111 Nov 14 05:13 /var/log/qpsmtpd/@400000004559a4dc0d02297c.s
-rwxr--r-- 1 smelog smelog 4998309 Nov 14 06:46 /var/log/qpsmtpd/@400000004559baa51b6cb2d4.s
-rwxr--r-- 1 smelog smelog 4998301 Nov 14 07:43 /var/log/qpsmtpd/@400000004559c82039a6acb4.s
-rwxr--r-- 1 smelog smelog 4998113 Nov 14 08:52 /var/log/qpsmtpd/@400000004559d83d2ce2c6ac.s
-rwxr--r-- 1 smelog smelog 4998042 Nov 14 10:01 /var/log/qpsmtpd/@400000004559e8521b5d265c.s
-rwxr--r-- 1 smelog smelog 4998287 Nov 14 11:34 /var/log/qpsmtpd/@400000004559fe4b1fccb964.s
-rwxr--r-- 1 smelog smelog 4998075 Nov 14 13:05 /var/log/qpsmtpd/@40000000455a139c1884255c.s
-rw-r--r-- 1 smelog smelog 119394 Nov 14 13:09 /var/log/qpsmtpd/current
-rw------- 1 smelog smelog 0 Aug 18 08:35 /var/log/qpsmtpd/lock
-rw-r--r-- 1 smelog smelog 0 Aug 18 08:35 /var/log/qpsmtpd/state
[root@mail ~]# config show qpsmtpd
qpsmtpd=service
Bcc=enabled
BccMode=cc
BccUser=logger
DNSBL=enabled
LogLevel=8
MaxScannerSize=25000000
RBLList=sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,dnsbl.njabl.org,relays.ordb.org
RHSBL=enabled
RequireResolvableFromHost=no
SBLList=dsn.rfc-ignorant.org
access=public
status=enabled
[root@mail ~]# config show spamassassin
spamassassin=service
DNSAvailable=yes
MessageRetentionTime=7
OkLanguages=all
OkLocales=all
RejectLevel=12
ReportSafe=0
Sensitivity=custom
SkipRBLChecks=0
SortSpam=enabled
Subject=[SPAM]
SubjectTag=enabled
TagLevel=5
UseBayes=1
status=enabled
I am running SME7 with SA 3.1.6. I am also using an SSH connection into the server as root. I have tried running this same script as a user, but access restrictions won't let me (from what I read you can now run it as root anyways). I did a chmod +x and chmod 777 just for good measure and no change.
Any help would be appreciated. I have been trying to get this stats script to run for sometime now with no joy.
Later,
Dev