Error feeding spam

2007-07-05 Thread Randall Perry

Am getting this perl error trying to feed SA 3.2.1 spam:

Command:
sudo sa-learn --spam -C /etc/mail/spamassassin --showdots --dir /spam

Error:
Can't use string (Mail::SpamAssassin) as a HASH ref while strict 
refs in use at 
/usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm line 1385.


relevant config directives:
bayes_auto_learn 1
bayes_store_module   Mail::SpamAssassin::BayesStore::PgSQL
bayes_sql_dsn  DBI:Pg:dbname=dbname;host=localhost


Anyone else seen this?

--
Randall Perry
sysTame

Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales

http://www.systame.com/




Errors compiling 3.2.1 for Mac OS 10.4

2007-06-24 Thread Randall Perry
 =  test: 
called myTestPlugin, round 1

# Failed test 2 in t/SATest.pm at line 635
Output can be examined in: log/d.spamd_plugin/out.1 
log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..NOK 2   Not found: called2 =  called 
myTestPlugin, round 2

# Failed test 4 in t/SATest.pm at line 635 fail #2
Output can be examined in: log/d.spamd_plugin/out.1 
log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3 
log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..ok 5/6  Not found: called3 =  called 
myTestPlugin, round 3

# Failed test 6 in t/SATest.pm at line 635 fail #3
Output can be examined in: log/d.spamd_plugin/out.1 
log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.3 
log/d.spamd_plugin/spamd.err.1 log/d.spamd_plugin/out.5 
log/d.spamd_plugin/spamd.err.1
t/spamd_plugin..FAILED tests 2, 4, 
6
   Failed 3/6 tests, 50.00% okay


...

Failed TestStat Wstat Total Fail  Failed  List of Failed
---
t/spamc_optC.t94  44.44%  2 4 6 8
t/spamc_optL.t   16   16 100.00%  1-16
t/spamd_allow_user_rules.t51  20.00%  4
t/spamd_plugin.t  63  50.00%  2 4 6

--
Randall Perry




Re: Errors compiling 3.2.1 for Mac OS 10.4

2007-06-24 Thread Randall Perry

Daryl C. W. O'Shea wrote:

It's a bug in the test suite.  Just do a force install.

Ok, force installed and it's working -- thanks. But am getting this perl 
error trying to feed it spam:


Command:
sudo sa-learn --spam -C /etc/mail/spamassassin --showdots --dir /spam

Error:
Can't use string (Mail::SpamAssassin) as a HASH ref while strict 
refs in use at 
/usr/local/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm line 1385.




--
Randall Perry




Re: Blank line in header with sendmail -- headers show is msg body

2007-06-22 Thread Randall Perry

Daryl C. W. O'Shea wrote:


An old version of spamass-milter.


Oops...that was it. Thought I had the latest.

--
Randall Perry




Blank line in header with sendmail -- headers show is msg body

2007-06-21 Thread Randall Perry

I recently updated to spamassassin 3.2.0 and sendmail 8.13.8.

Mail originating from the server, or relayed through the server to other 
ISPs has an extra blank line added at the end of the 1st X-Spam-Status: 
line, causing headers to show in the message body. Here's an example:


X-Spam-Status: No, score=0.9 required=7.5 tests=ALL_TRUSTED,BAYES_00,

   MISSING_HEADERS,MISSING_SUBJECT,TVD_SPACE_RATIO autolearn=no 
version=3.2.0
X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on 
xserve1.systame.net
X-Virus-Scanned: ClamAV 0.90.2/3486/Thu Jun 21 01:56:11 2007 on 
xserve1.systame.net

X-Virus-Status: Clean


Mail received by the same server for local POP access does not add the 
extra line.


Any idea what could cause this?

--
Randall Perry




sa-learn slow with Bayes and PostgreSQL

2006-07-11 Thread Randall Perry
I recently updated to the latest SA and at the same time converted bayes
from file db to PostgreSQL.

I notice that using sa-learn with SQL now is very slow compared to file db.
Is this normal, and is accessing the db while scanning mail any slower with
SQL?


-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location/Leasing
QuickTime Streaming
Mac Consulting/Sales

http://www.systame.com/





Re: Spamass-milter 0.2.0 and spamassassin 3.0

2004-10-11 Thread Randall Perry
Thanks.

So 0.2.1 should have the fix?

 It works with one slight problem fixed in CVS already.
 If set, the reject threshold (-r hits) in 0.2.0 looks for hits instead of
 score.
 
 If you set hits to -1 (reject anything tagged as spam), 0.2.0 works fine.
 
 
 -Original Message-
 From: Randall Perry [mailto:[EMAIL PROTECTED]
 Sent: Sunday, October 10, 2004 12:45 PM
 To: users@spamassassin.apache.org
 Subject: Spamass-milter 0.2.0 and spamassassin 3.0
 
 
 Do these 2 work together?
 
 Checked the spamass-milter site and docs and couldn't find any ref to
 spamassasin 3.0.

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/




Spamass-milter 0.2.0 and spamassassin 3.0

2004-10-10 Thread Randall Perry
Do these 2 work together?

Checked the spamass-milter site and docs and couldn't find any ref to
spamassasin 3.0.

-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Design/Development
WebObjects Hosting
Mac Consulting/Sales

http://www.systame.com/