Mailing List CGatePro@mail.stalker.com Message #99666
From: Bret Miller <bret.miller@gci.org>
Subject: Re: CGPSA 1.7b1 Released (SpamAssassin 3.3 Compatibility)
Date: Mon, 08 Mar 2010 09:33:31 -0800
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>
I have an old perl script I used to use for sa-learn. Essentially it uses Mail::ImapClient to read a folder and feed that to sa-learn. That way CGPro formats aren't passed in. I've never really cleaned it up to make it distributable, but you can try it if you want.

http://mail.wcg.org/~postmaster/learn_spam.pl

There are several variables at the top you'll need to adjust for your own environment.

Bret

On 3/7/2010 3:24 PM, Shaun Gamble wrote:
Good to see you have it working. I checked my sa-learn.log file and discovered it hasn't been working since I changed it over as well.

I guess I was so glad just to get SA3.3.0 and CGPSA working on Windows, I neglected to check sa-learn was working. Let me know if you find a solution.

On 7/03/2010 8:26 PM, Martin Miller wrote:
Hmmm,

some lessons:
* I was not logged in as root, I ended up installing several versions,
old and new, the old was first on my path
* I used locate to determine the above
* I nastily copied the new over the old for spamassassin, sa-learn and sa-update

Once the above was sorted, sa-update worked.
Sa-learn does not because 3.3.0 does not like cgate mbox.

On 10 February 2010 23:12, Martin Miller<anothersphere@gmail.com>  wrote:
  
I have added cgpsa to my server.
I have downloaded and built sa using cpan.

I get the following but NO headers appear.
Previous versions work fine.
Note, xxxx replaces items I dont want to publish here.

22:12:47.939 5 EXTFILTER(spam_assassin) ENQUEUER-1 starting initialization
22:12:47.939 4 EXTFILTER(spam_assassin) out(009): 1 INTF 3\n
22:12:47.939 4 EXTFILTER(spam_assassin) inp(008): 1 INTF 2
22:12:47.939 2 EXTFILTER(spam_assassin) interfaceLevel = 2
22:12:47.939 2 EXTFILTER(spam_assassin) inited
22:12:47.939 4 EXTFILTER(spam_assassin) out(025): 2 FILE Queue/3680002.msg\n
22:12:47.949 4 EXTFILTER(spam_assassin) inp(070): * 2 Processing CGP
header line: P I 10-02-2010 09:12:29 0000 ____ ____
22:12:47.949 4 EXTFILTER(spam_assassin) inp(089): * 2
<sentto-19720729-116-1265793141-xxxxxxxxxxxxxxxxxxxxxxxxx>\n
22:12:47.949 4 EXTFILTER(spam_assassin) inp(096): * 2 Return-Path:
sentto-19720729-116-1265793141-lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
22:12:47.949 4 EXTFILTER(spam_assassin) inp(060): * 2 Processing CGP
header line: A xxxxxx.net [192.168.1.1]\n
22:12:47.949 4 EXTFILTER(spam_assassin) inp(057): * 2 Processing CGP
header line: S SMTP [xxxxxxxxxx]\n
22:12:47.950 4 EXTFILTER(spam_assassin) inp(098): * 2 Processing CGP
header line: R W 10-02-2010 09:12:29 0000 ____ _FY_<xxxxxxxxxxxx>\n
22:12:47.950 4 EXTFILTER(spam_assassin) inp(067): * 2 Using default
SpamAssassin settings for xxxxxxxxxxxxx
22:12:47.950 4 EXTFILTER(spam_assassin) inp(034): * 2 Processing CGP
header line: \n
22:12:47.950 4 EXTFILTER(spam_assassin) inp(035): * 2 Finished
processing CGP headers
22:12:47.959 4 EXTFILTER(spam_assassin) inp(042): * 2 Running
SpamAssassin in ADDHEADER mode
22:12:47.962 4 EXTFILTER(spam_assassin) inp(047): * 2 Scanning first
131072 bytes of message only
22:12:49.209 4 EXTFILTER(spam_assassin) inp(048): * 2 Identified
non-spam (0.0/5.0) in 1.2 seconds
22:12:49.224 4 EXTFILTER(spam_assassin) inp(147): 2 ADDHEADER
"X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on
xxxxxxxxxxxx\eX-TFF-CGPSA-Version: 1.7b1\eX-TFF-CGPSA-Filter:
Scanned\e"
22:12:49.224 4 EXTFILTER(spam_assassin) [3680002] header added:
X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on
xxxxxxxxxxxxx\nX-TFF-CGPSA-Version: 1.7b1\nX-TFF-CGPSA-Filter:
Scanned\n


On 6 February 2010 11:29, Daniel M. Zimmerman
<dmz-lists@tffenterprises.com>  wrote:
    
CGPSA 1.7b1 has been released. This is a compatibility update (for
SpamAssassin 3.3), and also adds the features that were added to CGPSA 1.6
(which never made it out of beta). Like CGPSA 1.6, it requires SpamAssassin
3.0 or higher. Get it from<http://www.tffenterprises.com/cgpsa/beta/>.
.........
      


Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster