From owner-freebsd-ports@FreeBSD.ORG Thu Apr 29 13:21:57 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 766AC16A4CE for ; Thu, 29 Apr 2004 13:21:57 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6574543D45 for ; Thu, 29 Apr 2004 13:21:54 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from thought.org (tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id i3TKM9Q8039160; Thu, 29 Apr 2004 13:22:10 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by thought.org (8.12.9p2/8.11.3) with ESMTP id i3TKLiN9092157; Thu, 29 Apr 2004 13:21:44 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.9p2/8.12.11/Submit) id i3TKLhWc092156; Thu, 29 Apr 2004 13:21:43 -0700 (PDT) (envelope-from kline) Date: Thu, 29 Apr 2004 13:21:42 -0700 From: Gary Kline To: Ion-Mihai Tetcu Message-ID: <20040429202141.GB79110@tao.thought.org> References: <20040425115758.GA40483@titan.klemm.apsfilter.org> <20040426004411.756cc842@it.buh.cameradicommercio.ro> <20040426062108.GA2118@titan.klemm.apsfilter.org> <20040426104719.3182a631@it.buh.cameradicommercio.ro> <408D90FD.6090704@debank.tv> <20040427024247.5f93b88c@it.buh.cameradicommercio.ro> <20040428054454.GA3571@titan.klemm.apsfilter.org> <20040428093220.575afb78@it.buh.cameradicommercio.ro> <20040428193010.GA71823@tao.thought.org> <20040429104646.052e08cc@it.buh.cameradicommercio.ro> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040429104646.052e08cc@it.buh.cameradicommercio.ro> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 17 years of service to the Unix community User-Agent: Mutt/1.5.6i cc: ports@freebsd.org cc: Rob Evers cc: Gary Kline Subject: Re: [dspam-users] thanks for dspam, my experiences on FreeBSD, suggestions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2004 20:21:57 -0000 On Thu, Apr 29, 2004 at 10:46:46AM +0300, Ion-Mihai Tetcu wrote: > On Wed, 28 Apr 2004 12:30:10 -0700 > Gary Kline wrote: > > > On Wed, Apr 28, 2004 at 09:32:20AM +0300, Ion-Mihai Tetcu wrote: > > > On Wed, 28 Apr 2004 07:44:54 +0200 > > > Andreas Klemm wrote: > > > > > > > On Tue, Apr 27, 2004 at 02:42:47AM +0300, Ion-Mihai Tetcu wrote: > > > > > > > > > > [ dspam-users@nuclearelephant.com dropped ] > > > > > > > > > > What about a dspam-devel port ? > > [[ ... ]] > > Hope I am not highjacking this thread (at least not totally), > > but is there any summary of things-to-do to get dspam running? > > to get it in 'learn' mode?? No far I have created a list of > > trusted users/groups. Now what? > > Without more details, we cannot help you. > > Dspam's documentation should be rewrote, and it is on my to do list, but > it will happen for the 3.x. > Hopefully your future documentation can give explicit mysql cmds as examples of linking dspam to mysql. I do have mysql setup for three message boards, but am not sure of how to configure mysql to work with dspam. I just sent test mails to my test acccount, ran dspam_stats against it, and had this result: root@tao:# dspam_stats test1 Could not init context: No such file or directory For people with little mysql || database bg, I hope your future doc will be more tutorial-like. e.g: mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 to server version: 4.XY.ZA Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> create database dspamdb; Query OK, 1 row affected (0.00 sec) mysql> grant all on dspamdb.* to dspamdb_user@localhost identified by 'foo234'; Query OK, 0 rows affected (0.00 sec) . . << whatever else >> . mysql> quit Bye When the db config gets involves with tables-- well, that's over my head a bit. Examples are worth their weight in gold, AFAIC. > > Re a -devel port, my experience with most of the devel suites > > is that they are risky (to put it politely:). I would advise > > anybody who installs a -devel port of anything to have the > > stable/tested port around.... > > Agree. For example the 3.x showed, where dspam has been rewrote, showed > some regressions. > > But since all new features are added on the devel branch and some people > could make good use of them, this -devel port will help them. And it > would give a chance for changes to be easily tested on FreeBSD before > they are in the stable release. The bug in my PR is happening only on > FreeBSD (it seems that our strsep(3) slightly differs from those on some > linux, despite the their claim that it is from bsd). > Have you ever checked our Lars Wirzenius' publib string functions? When I've stubbed my toe on Unix-compat problems as you'rehaving wth strsep(), I've resolved the issue by including the function (from wherever) in my code. Putting the FBSD strsep() code in there --- or something equally fuctional from publib --- might work. Just a thought. gary > -- Gary Kline kline@thought.org www.thought.org Public service Unix