From owner-freebsd-questions@FreeBSD.ORG Sat Jun 9 19:32:29 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E6A516A468 for ; Sat, 9 Jun 2007 19:32:29 +0000 (UTC) (envelope-from gram@geekraver.com) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7F00713C465 for ; Sat, 9 Jun 2007 19:32:29 +0000 (UTC) (envelope-from gram@geekraver.com) Received: from server.geekraver.com ([71.112.43.26]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JJD0011UVM214I3@vms040.mailsrvcs.net> for freebsd-questions@freebsd.org; Sat, 09 Jun 2007 14:32:29 -0500 (CDT) Received: from GRAMPC ([::ffff:192.168.0.66]) (AUTH: LOGIN gram, TLS: TLSv1/SSLv3,128bits,AES128-SHA) by server.geekraver.com with esmtp; Sat, 09 Jun 2007 12:33:34 -0700 Date: Sat, 09 Jun 2007 12:31:23 -0700 From: "Graham Wheeler" To: freebsd-questions@freebsd.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.0.6000.16386 X-Mailer: Microsoft Office Outlook 11 Thread-index: AceqzMN+zQnZYKxZQcuMncJWJMR7jQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Using courier with dspam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2007 19:32:29 -0000 HI all I'm having some difficulty with getting courier to work with dspam. I have the courier local delivery agent configured to be: DEFAULTDELIVERY="| /usr/local/bin/dspam --deliver=innocent --user \$USER" And I have dspam configured to use courier's maildrop: TrustedDeliveryAgent "/usr/local/bin/maildrop -d %u" UntrustedDeliveryAgent "/usr/local/bin/maildrop -d %u" Now, mail fails to be delivered with: Jun 9 12:26:08 server courierlocal: id=02D2B4BC.466AFC77.00002769,from=,addr=: /usr/local/bin/dspam: Permission denied Dspam is suid root, with group courier, and owner/group execute permissions. I believe courierlocal runs as courier:courier; in addition I tried making it suid courier to be sure. The various Maildir's in user accounts have group courier, with group rwx permissions, and all the files within them have group courier with group rw permissions. So I don't understand why I get this error. Any suggestions would be welcome, thanks! -g