Return-Path: Received: from mail.kindsoftware.com ([131.174.33.98] verified) by mail.tffenterprises.com (CommuniGate Pro SMTP 4.1) with ESMTP-TLS id 6640771 for cgpsa-discuss@tff.cs.caltech.edu; Wed, 30 Jul 2003 18:10:56 -0700 Received: from [64.239.167.9] (HELO jamesreserve.edu) by mail.kindsoftware.com (CommuniGate Pro SMTP 4.0.6) with ESMTP id 882800 for cgpsa-discuss@mail.tffenterprises.com; Thu, 31 Jul 2003 03:10:53 +0200 Received: from [64.239.167.2] (HELO jamesreserve.edu) by jamesreserve.edu (CommuniGate Pro SMTP 4.0.6) with ESMTP id 2160209 for cgpsa-discuss@mail.tffenterprises.com; Wed, 30 Jul 2003 18:06:31 -0700 Date: Wed, 30 Jul 2003 18:10:49 -0700 Subject: CGP::CLI module - Can't read CGPro Server prompt Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Kevin Browne To: cgpsa-discuss@mail.tffenterprises.com Content-Transfer-Encoding: 7bit In-Reply-To: <2147483647.1059581753@morden.cs.caltech.edu> Message-Id: X-Mailer: Apple Mail (2.552) The CLI Error: "Can't read CGPro Server prompt" might be coming from spamassassin. Executing spamassassin in user mode caused no problems. It executed the file and attached headers just fine. but executing in ROOT mode caused this following error to occur. It still executed the command and outputted a modified file header so the application was still affective. It is just finding errors with razor I think. [Linnaeus:/Library/Mail-SpamAssassin-2.55] infomgr# spamassassin -t < sample-nonspam.txt > nonspam.out razor2 check skipped: No such file or directory Can't locate object method "new" via package "Net::DNS::Resolver" at (eval 22) line 1. ...propagated at /Library/Perl/Mail/SpamAssassin/Dns.pm line 401. [Linnaeus:/Library/Mail-SpamAssassin-2.55] infomgr# Although razor was skipped I wonder if that is the error that CLI is reporting? Or does this have nothing to do with it and i now have 2 problems to solve? Thanks for your input. kevin Thanks for the help The script is running and mail is being delivered but there seems that it is not actively modifying the headers Received: from [64.239.167.2] (HELO jamesreserve.edu) by jamesreserve.edu (CommuniGate Pro SMTP 4.0.6) with ESMTP id 2160116 for kevinb@jamesreserve.edu; Wed, 30 Jul 2003 16:33:58 -0700 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) In the Log I am now having a prompt error from the CLI module. 16:33:58.99 4 EXTFILTER(CGPSpamAssassin) inp: * 17 CLI Error: Can't read CGPro Server prompt. I'm sure this probably a config issue. Do you know where I should focus my attention at? Thanks Kevin Browne 16:33:24.00 2 EXTFILTER(CGPSpamAssassin) '/var/CommuniGate/spamassassin/cgpsa' launched 16:33:24.91 4 EXTFILTER(CGPSpamAssassin) inp: * TFF Enterprises CGPSA Filter 1.1 Starting 16:33:24.91 4 EXTFILTER(CGPSpamAssassin) inp: * Loading Configuration File /var/CommuniGate/Settings/cgpsa.conf 16:33:24.92 4 EXTFILTER(CGPSpamAssassin) inp: * Configuration File Loaded 16:33:24.92 4 EXTFILTER(CGPSpamAssassin) inp: * Parallel Requests Mode: On 16:33:26.19 4 EXTFILTER(CGPSpamAssassin) inp: * Using SpamAssassin Version 2.55 (1.174.2.19-2003-05-19-exp) 16:33:26.19 4 EXTFILTER(CGPSpamAssassin) inp: * Default SpamAssassin Settings Location: 16:33:26.19 4 EXTFILTER(CGPSpamAssassin) inp: * (local.cf settings only) 16:33:26.19 4 EXTFILTER(CGPSpamAssassin) inp: * Initialization Complete 16:33:26.19 4 EXTFILTER(CGPSpamAssassin) inp: * TFF Enterprises CGPSA Filter 1.1 Ready 16:33:58.90 4 EXTFILTER(CGPSpamAssassin) out: 16 INTF 2\n 16:33:58.90 4 EXTFILTER(CGPSpamAssassin) inp: 16 INTF 2 16:33:58.90 2 EXTFILTER(CGPSpamAssassin) interfaceLevel = 2 16:33:58.90 4 EXTFILTER(CGPSpamAssassin) out: 17 FILE Queue/2160116.msg\n 16:33:58.99 4 EXTFILTER(CGPSpamAssassin) inp: 17 FAILURE 16:33:58.99 1 EXTFILTER(CGPSpamAssassin) bad response: FAILURE 16:33:58.99 4 EXTFILTER(CGPSpamAssassin) inp: * 17 CLI Error: Can't read CGPro Server prompt. 16:34:21.53 4 EXTFILTER(CGPSpamAssassin) out: 18 FILE Queue/2160120.msg\n 16:34:21.54 4 EXTFILTER(CGPSpamAssassin) inp: 18 FAILURE 16:34:21.54 1 EXTFILTER(CGPSpamAssassin) bad response: FAILURE 16:34:21.55 4 EXTFILTER(CGPSpamAssassin) inp: * 18 CLI Error: Can't read CGPro Server prompt. On Wednesday, July 30, 2003, at 04:15 PM, Daniel M. Zimmerman wrote: > > > --On onsdag 30 juli 2003 16.05 -0700 Kevin Browne > wrote: > >> Hi again >> I think I got it to startup now but I am getting this error >> >> CGPSA Error: Current CGPSA configuration requires CGP::CLI module. >> >> I installed the CLI.pm file in the perl library folder. >> /Library/Perl/CGpro/CLI.pm >> a valid library location for perl (I checked with perl -v ) > > It has to be named "CGP/CLI.pm", or just "CLI.pm". "CGpro/CLI.pm" > won't work. > > It will also work if you just drop CLI.pm in the same directory as the > cgpsa script. > > -Dan > > ------------------------------------------------------------------ > Daniel M. Zimmerman TFF Enterprises > M/S 256-80 - Caltech http://www.tffenterprises.com/ > Pasadena, California 91125 USA dmz@tffenterprises.com > > + + + + + + + + + + + + + + + Kevin Browne UC James Reserve + + + + + + + + + + + + + + +