Return-Path: Received: from mail-pz0-f47.google.com ([209.85.210.47] verified) by mail.tffenterprises.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 14408967 for cgpsa-discuss@mail.tffenterprises.com; Tue, 10 May 2011 07:15:25 -0700 Received-SPF: pass receiver=mail.tffenterprises.com; client-ip=209.85.210.47; envelope-from=bret.miller@gci.org Received: by pzk36 with SMTP id 36so3848312pzk.34 for ; Tue, 10 May 2011 07:15:16 -0700 (PDT) Received: by 10.68.44.65 with SMTP id c1mr12355209pbm.151.1305036916243; Tue, 10 May 2011 07:15:16 -0700 (PDT) Return-Path: Received: from [10.4.1.2] ([64.208.29.125]) by mx.google.com with ESMTPS id s5sm4836291pba.64.2011.05.10.07.15.13 (version=SSLv3 cipher=OTHER); Tue, 10 May 2011 07:15:14 -0700 (PDT) Message-ID: <4DC94870.1020900@gci.org> Date: Tue, 10 May 2011 07:15:12 -0700 From: Bret Miller User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: CGPSA Discussion List Subject: Re: [CGPSA] SpamAssassin.pm line 1604 refs error References: In-Reply-To: Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Wendy,

Our configurations are very similar:
Windows Server 2008R2 (essentially Windows 7)
Communigate 5.3.12
ActivePerl 5.10.1
SpamAssassin 3.3.1
CGPSA 1.7b1

So mine works, using it in headers-only mode. I haven't tried full-featured. So the question is what's different about your configuration that breaks it.

Does SpamAssassin work if you test it with a message? (spamassassin -D <message-to-test >message-out 2>log-out) If that generates an error, then you have a problem somewhere in your spamassassin configuration. If that works, then maybe there's something in the CGPSA configuration that isn't right.
--
Bret Miller
Manager, Information Technology
Grace Communion International
Email: bret.miller@gci.org
Phone: (626) 650-2343

On 5/10/2011 3:41 AM, Wendy M. Grossman wrote:
I have run CGP, SA, and CGPSA on Windows for many years, but recently had to tear down and reinstall, at which point I updated everything.

Current configuration is:
Windows 7
Communigate 5.1x
ActivePerl 5.10
SpamAssassin 3.3.1
CPGSA 1.7

The logs show that CGPSA loads correctly. But: email stops arriving.

The CGPSA error file says:
>> >>* Standard Error Redirected By TFF Enterprises CGPSA Filter 1.0.8
Can't use string ("Mail::SpamAssassin") as a HASH ref while "strict
refs" in use at C:/Perl/site/lib/Mail/SpamAssassin.pm line 1604.>>

At that point CGPSA shuts down and the mail sits in the queue until I disable CGPSA. Which gets the mail delivered, but not filtered.

This error occurs with both Perl 5.10 and 5.8.9. Daniel believes it's an SA error, but suggested I ask on the list in case anyone could help. I can't seem to find anything useful by searching the Web.

wg