From owner-freebsd-ports@FreeBSD.ORG Fri Jun 25 12:17:35 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 3A85116A4CF for ; Fri, 25 Jun 2004 12:17:35 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33D9E43D2F for ; Fri, 25 Jun 2004 12:17:34 +0000 (GMT) (envelope-from itetcu@apropo.ro) Received: (qmail 6844 invoked by uid 89); 25 Jun 2004 12:14:46 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 25 Jun 2004 12:14:46 -0000 Received: (qmail 11284 invoked from network); 25 Jun 2004 12:17:28 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 25 Jun 2004 12:17:28 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id B60A8629F; Fri, 25 Jun 2004 15:16:59 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id 6AFB719D; Fri, 25 Jun 2004 15:23:37 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 56264-04; Fri, 25 Jun 2004 15:23:37 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id E6009132; Fri, 25 Jun 2004 15:23:36 +0300 (EEST) Date: Fri, 25 Jun 2004 15:23:36 +0300 From: Ion-Mihai Tetcu To: "Julien Gabel" Message-Id: <20040625152336.6ef1d170@it.buh.cameradicommercio.ro> In-Reply-To: <49964.192.168.0.105.1088105943.squirrel@192.168.0.105> References: <49964.192.168.0.105.1088105943.squirrel@192.168.0.105> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: Ion-Mihai IOnut Tetcu cc: freebsd-ports@freebsd.org Subject: Re: Is someone working on upgrading mail/dspam to version 3.0.0? 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: Fri, 25 Jun 2004 12:17:35 -0000 On Thu, 24 Jun 2004 21:39:03 +0200 (CEST) "Julien Gabel" wrote: > > On -CURRENT I didn't have any problems both with mysql and postfix and > > portlint doesn't complain vary hard either; so I think you should be > > able to use it. Just pay attention to the README as the command line > > options have changed. The dspam port maintainer Rob Evers will update > > the dspam port in a few days (he is busier that I am these days, AFAIR). > > Ok. I tested it for some days now, and it seems to be reasonably stable > for me. I did not have some patch for the proposed mail/dspam-devel port, > but here is what i noted in order to use it on my SMTP server (running > postfix). Many thanks; I have now a new version, with SQLite back-end in it. > > 1/ > # cd /usr/ports/mail/dspam-devel > # make showconfig > ===> The following configuration options are set for dspam-devel-3.0.0: > [...] > CGI=off "Install CGI (pulls in apache)" > Although i will use the CGI, i did not enable it here since it just > want to install apache which is already installed on my system (apache2). I will test / modify the port to depend on what apache is installed and pull in apache 1.x otherwise. This cgi part needs more testing anyway; I'll try to find some time for it, as I don't use it. > 2/ > An other point: i create a /usr/local/etc/dspam/untrusted.mailer_args > with "/usr/local/bin/procmail -d $u", but since it seems there is a > problem with rights - in order to be able to use it correctly - i need > to: > - add each username in /usr/local/etc/dspam/trusted.users; Don't. This way you deny the logic of trusted users. root and postfix should be enough. > - make /usr/local/bin/dspam executable for others. > I don't know if these rights concerns are "port" related or "FreeBSD" > specific. Both + Postfix (since postfix maillbox_command drops privileges to the destination user). Now the port will install with 4511 by default. > 3/ > I installed the following packages to be able to graph the statistics: > # portinstall -rR p5-GD p5-GD-Graph3d p5-GD-TextUtil > Maybe a good point to add as dependencies for the CGI flag?... Thanks, I don't use CGI at all and didn't have just didn't have the time to check. > 4/ > For users's CGI graphs, the USER_LOGGING flag is needed, but there is > a little mistake: [ ... ] Uh... thanks for catching this. > > That's all for the moment. You can contact email me for any question > or remark. And thanks for your help porting this great tool :) > > -- > -jpeg. > PS : I noted that there is a PR for this port under ports/68154, but the > content of the present email as nothing to do with it. Yes, I know it; the only thing that I'll add from there is in the dspam/files/patch-Makefile.in -pkgconfigdir = $(libdir)/pkgconfig +pkgconfigdir = $(prefix)/libdata/pkgconfig -- IOnut Unregistered ;) FreeBSD "user"