From owner-freebsd-questions@FreeBSD.ORG Sun Jun 6 01:47:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B242116A4CE for ; Sun, 6 Jun 2004 01:47:42 -0700 (PDT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADC1743D2D for ; Sun, 6 Jun 2004 01:47:39 -0700 (PDT) (envelope-from itetcu@apropo.ro) Received: (qmail 22955 invoked by uid 89); 6 Jun 2004 08:47:06 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 6 Jun 2004 08:47:06 -0000 Received: (qmail 25481 invoked from network); 6 Jun 2004 08:47:34 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 6 Jun 2004 08:47:34 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id A94066338; Sun, 6 Jun 2004 11:47:32 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id BFDBC139; Sun, 6 Jun 2004 11:51:29 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 48319-08; Sun, 6 Jun 2004 11:51:29 +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 BDAB213; Sun, 6 Jun 2004 11:51:28 +0300 (EEST) Date: Sun, 6 Jun 2004 11:51:28 +0300 From: Ion-Mihai Tetcu To: "Reed L. O'Brien" Message-Id: <20040606115128.5ad93277@it.buh.cameradicommercio.ro> In-Reply-To: References: 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-questions@freebsd.org Subject: Re: dspam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2004 08:47:42 -0000 On Sat, 05 Jun 2004 22:15:22 -0400 "Reed L. O'Brien" wrote: > Anyone here use dspam? I posted to the dspam maillist but apparen;ty > noone is lurking there today. Just haven't got the time to reply. > > FreeBSD 5.2.1 > maildrop 1.6.3 > dspam 2.10.6 > > > I had maildrop delivering fine. Then I built dspam from the ports and > modified postfix main.cf > to read: > mailbox_command = /usr/local/bin/dspam --user $USER -d %u > #mailbox_command = /usr/local/bin/maildrop -d ${USER} > local_destination_concurrency_limit = 1 > maildrop_recipient_limit = 1 > > I was receiving a permission denied error and modified > /usr/local/bin/dspam permissions to match > /usr/local/bin/maildrop and now it delivers. I setup aliases and it > attemmpts to deliver them but I am getting an error in the log and no > delivery. I am not sure how to test if dspam is working otherwise. > > permissions of /usr/local/dspam > drwxrwx--- 2 root mail 512 Jun 5 19:24 dspam There is, by default, a suid bit (and a o=w from what I know) that you don't have. > Jun 5 20:08:33 server dspam[71744]: unable to open > /usr/local/etc/dspam/trusted.users for reading: Permission denied. > Jun 5 20:08:33 server dspam[71744]: forcing username for untrusted user > nobody ^^^^^^^^^^^^ So postfix runs dspam as user nobody. What is the recipient of the mail ? -- IOnut Unregistered ;) FreeBSD "user"