From owner-freebsd-ports@FreeBSD.ORG Fri Aug 6 23:27:52 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 E090416A4CE for ; Fri, 6 Aug 2004 23:27:52 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05FA043D4C for ; Fri, 6 Aug 2004 23:27:52 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 17390 invoked by uid 89); 6 Aug 2004 23:27:50 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 6 Aug 2004 23:27:50 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id AEBB8110; Sat, 7 Aug 2004 02:27:48 +0300 (EEST) Date: Sat, 7 Aug 2004 02:27:48 +0300 From: Ion-Mihai Tetcu To: "Sebastian Yepes F. [ESN]" Message-Id: <20040807022748.7ec3621b@it.buh.tecnik93.com> In-Reply-To: <20040807004954.7qcgcwwk8c4o04c8@www.x123.info> References: <20040807004954.7qcgcwwk8c4o04c8@www.x123.info> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__7_Aug_2004_02_27_48_+0300_dFEEwqeFPbNUDYTi" cc: ports@freebsd.org cc: Andreas Klemm Subject: Re: dspam-devel 3.1.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, 06 Aug 2004 23:27:53 -0000 This is a multi-part message in MIME format. --Multipart=_Sat__7_Aug_2004_02_27_48_+0300_dFEEwqeFPbNUDYTi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 7 Aug 2004 00:49:54 +0200 "Sebastian Yepes F. [ESN]" wrote: > Hi > > Well i have been trying to setup dspam 3x in a FBSD -Current Box with > Postfix 2.1 for more then a 1 weeks now, with put any luck. Do you have the last version of the port ? Just to make sure, please cvsup without '-s'. The port has just been connected to the build. > > do you have it running ok? Yes, otherwise I wouldn't have submitted the port. I _do_ test as much as I can before anything gets in the ports tree, but of course Bad things may happen. > one thing in the ports pkg-massage you say > > --- > (Do NOT add --user $USER to the call of dspam binary) > In main.cf set > mailbox_command = /usr/local/bin/dspam --mode=teft > --deliver=innocent,spam > --feature=chained,noise -d %u > --- > > > but with this i get this error: [ please try to paste computer output un-warped, it makes things a lot easier to read. ] > > --- > > Aug 7 00:22:00 agosto postfix/cleanup[97294]: B1A3D1700E: > message-id=<20040806222158.B1A3D1700E@mx.x123.info> Aug 7 00:22:00 > agosto postfix/qmgr[97282]: B1A3D1700E: from=, > size=1432, nrcpt=1 (queue active) Aug 7 00:22:00 agosto dspam[97309]: > Unable to determine the destination user; mail server may be > misconfigured Aug 7 00:22:01 agosto postfix/local[97308]: B1A3D1700E: > to=, relay=local, delay=3, status=bounced (Command died > with status 1:"/usr/local/bin/dspam --mode=teft > --deliver=innocent,spam--feature=chained,noise -d %u". Command output: > 97309: [Sat Aug 7 00:22:00 2004] Unable to determine the destination > user; mail server may be misconfigured Syntax: > dspam--mode=[toe|tum|teft] --user [user1 user2 > userN][--feature=[chained,noise,whitelist]] [--class=[spam|innocent]][--source=[error|corpus|inoculation]] > [--deliver=[spam,innocent]][--process|--classify] [--stdout] [LDA > arguments] ) Aug 7 00:22:01 agosto postfix/cleanup[97294]: > 037591712C: message-id=<20040806222201.037591712C@mx.x123.info> > Aug 7 00:22:01 agosto postfix/qmgr[97282]: 037591712C: from=<>, > size=4016, nrcpt=1 (queue active) > Aug 7 00:22:01 agosto postfix/qmgr[97282]: B1A3D1700E: removed > --- Yes, this is based on a report someone sent me and I've verified it was right at the time: >>>>>>> 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... >>>> But now it seems you are right; sorry for the inconveniences. It seems this was changed right before Jonathan made the release. Strange that neither I not the other few people that tested the port didn't catch it. Andreas please ci the attached diff. Thanks. > > If i use the (/usr/local/bin/dspam --mode=teft --deliver=innocent > --feature=chained,noise --user $USER -d %u) > > i get some error about the query > --- > Aug 7 00:32:06 agosto dspam[97620]: query error: verbose debug: see > sql.errors for more details > -- This is not an error. You have compiled with verbose debug, so you get this extra information. If you want it to go away, please: cd /usr/ports/mail/dspam-devel/ && \ make desintall && make rmconfig install clean and do not choose VERBOSE_DEBUG -- IOnut Unregistered ;) FreeBSD "user" --Multipart=_Sat__7_Aug_2004_02_27_48_+0300_dFEEwqeFPbNUDYTi Content-Type: application/octet-stream; name="pkg-message.diff" Content-Disposition: attachment; filename="pkg-message.diff" Content-Transfer-Encoding: base64 LS0tIHBrZy1tZXNzYWdlLm9yaWcJU2F0IEF1ZyAgNyAwMjoyMjo1MCAyMDA0CisrKyBwa2ctbWVz c2FnZQlTYXQgQXVnICA3IDAyOjIzOjEwIDIwMDQKQEAgLTgsOSArOCw4IEBACiAlJVBPU1RGSVhf TUJDJSUKICUlUE9TVEZJWF9NQkMlJSBRdWljayBQb3N0Zml4IHNldHVwIGd1aWRlOgogJSVQT1NU RklYX01CQyUlIEFkZCByb290LCBwb3N0Zml4IGFuZCBjZ2l1c2VyIHRvICUlUFJFRklYJSUvZXRj L2RzcGFtL3RydXN0ZWQudXNlcnMKLSUlUE9TVEZ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