From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 19:15:08 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 519B616A4CF for ; Sat, 5 Jun 2004 19:15:08 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBECF43D4C for ; Sat, 5 Jun 2004 19:15:07 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BWnBi-00047o-00 for ; Sun, 06 Jun 2004 04:15:06 +0200 Received: from dsl092-163-023.wdc2.dsl.speakeasy.net ([66.92.163.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jun 2004 04:15:06 +0200 Received: from reedobrien by dsl092-163-023.wdc2.dsl.speakeasy.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jun 2004 04:15:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Reed L. O'Brien" Date: Sat, 05 Jun 2004 22:15:22 -0400 Lines: 64 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dsl092-163-023.wdc2.dsl.speakeasy.net User-Agent: Mozilla Thunderbird 0.6 (X11/20040502) X-Accept-Language: en-us, en Sender: news Subject: 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 02:15:08 -0000 Anyone here use dspam? I posted to the dspam maillist but apparen;ty noone is lurking there today. 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 -rw-r--r-- 1 root mail 33 Jun 5 19:24 untrusted.users -rw-r--r-- 1 root mail 78 Jun 5 19:22 trusted.users the maillog errors: Jun 5 20:08:33 server postfix/smtpd[71739]: connect from [server] Jun 5 20:08:33 server postfix/smtpd[71739]: 25A1911422: [server] Jun 5 20:08:33 server postfix/cleanup[71741]: 25A1911422: message-id=<40C26090.8000101@domain.com> Jun 5 20:08:33 server postfix/qmgr[71738]: 25A1911422: from=, size=4405, nrcpt=1 (queue active) 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 Jun 5 20:08:33 server dspam[71744]: unable to locate /usr/local/etc/dspam/untrusted.mailer_args: Permission denied. allowing untrusted user to specify passthru delivery parameters Jun 5 20:08:33 server dspam[71744]: DB_ENV->open failed: /usr/local/etc/dspam/nobody: Permission denied Jun 5 20:08:33 server dspam[71744]: unable to initialize dspam context Jun 5 20:08:33 server dspam[71744]: process_message returned error -2. delivering message. Jun 5 20:08:33 server maildrop[71746]: Unable to change to home directory. Jun 5 20:08:33 server postfix/local[71742]: 25A1911422: to=, relay=local, delay=0, status=deferred (temporary failure. Command output: 71744: [Sat Jun 5 20:08:33 2004] Unable to create directory: /usr/local/etc/dspam/nobody/: Permission denied /usr/local/bin/maildrop: Unable to change to home directory. 71744: [Sat Jun 5 20:08:33 2004] LDA returned error, exit code: 75, LDA command line: /usr/local/bin/maildrop ) Jun 5 20:08:33 server postfix/smtpd[71739]: disconnect from [server] What else should I send?? -- reed 4.6692016090