From owner-freebsd-ports@FreeBSD.ORG Fri Jun 25 20:20:21 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 0F0E716A4CF for ; Fri, 25 Jun 2004 20:20:21 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0733C43D60 for ; Fri, 25 Jun 2004 20:20:20 +0000 (GMT) (envelope-from itetcu@apropo.ro) Received: (qmail 1258 invoked by uid 89); 25 Jun 2004 20:10:00 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 25 Jun 2004 20:10:00 -0000 Received: (qmail 11893 invoked from network); 25 Jun 2004 20:12:44 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 25 Jun 2004 20:12:44 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id F029B62A0; Fri, 25 Jun 2004 23:12:16 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id 51A9819C; Fri, 25 Jun 2004 23:18:57 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 94211-05; Fri, 25 Jun 2004 23:18:56 +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 A91296D; Fri, 25 Jun 2004 23:18:56 +0300 (EEST) Date: Fri, 25 Jun 2004 23:18:56 +0300 From: Ion-Mihai Tetcu To: "Julien Gabel" Message-Id: <20040625231856.67a34ce8@it.buh.cameradicommercio.ro> In-Reply-To: <49935.192.168.0.105.1088193095.squirrel@192.168.0.105> References: <49964.192.168.0.105.1088105943.squirrel@192.168.0.105> <20040625152336.6ef1d170@it.buh.cameradicommercio.ro> <49393.192.168.0.105.1088188172.squirrel@192.168.0.105> <20040625221717.307d4204@it.buh.cameradicommercio.ro> <49935.192.168.0.105.1088193095.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: 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 20:20:21 -0000 On Fri, 25 Jun 2004 21:51:35 +0200 (CEST) "Julien Gabel" wrote: > >> When your "new" mail/dspam-devel port version will be available, i will > >> try it and report ; especially the CGI part since i am using it. > > > I'll send-pr today, as I'll be off-line for a few days. But I will > > disable CGI until is working properly. > > Ok. Just to be more accurate than i was on a previous email, when you > eventually enable the CGI part, don't forget to move the entire 'cgi' > directory from the source tarball (i had to modify the location of some > image source since the cgi seems not to "see" them locally). Yes, thanks you. > >> At the begining, i just put 'root', 'postfix' and 'cgiower' for the CGI > >> interface to be fonctional. But, and i don't know why at this time, it > >> seems really not possible to use _correctly_ the "trusted users" > >> mecanism. As soon as i did not put the username(s) in this file, if > >> someone send me an email, it get a *Undelivered Mail Returned to > >> Sender*, as follow: > >> Command died with > >> status 1: "/usr/local/bin/dspam --mode=teft --deliver=innocent > >> --feature=chained,noise --user $USER -d %u". Command output: > >> 30096: [Fri Jun 25 20:07:23 2004] An untrusted user may not set > >> the runtime target users > >> So if not putting the username work for you, i am very interested in > >> checking check our both configuration... > mailbox_command = /var/tmp/dspam3/bin/dspam --mode=teft --deliver=innocent,spam --feature=chained,noise # cat /var/tmp/dspam3/etc/dspam/untrusted.mailer_args /usr/libexec/mail.local -B -s %u # cat /var/tmp/dspam3/etc/dspam/trusted.users root postfix # ll -o /var/tmp/dspam3/bin/dspam -r-s--x--x 1 root mail - 92712 Jun 24 19:48 /var/tmp/dspam3/bin/dspam Please drop --user $USER -d %u" and check the suid bit. Thanks. -- IOnut Unregistered ;) FreeBSD "user"