Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2004 11:51:28 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        "Reed L. O'Brien" <reedobrien@acm.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dspam
Message-ID:  <20040606115128.5ad93277@it.buh.cameradicommercio.ro>
In-Reply-To: <c9tun7$fdd$1@sea.gmane.org>
References:  <c9tun7$fdd$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 05 Jun 2004 22:15:22 -0400
"Reed L. O'Brien" <reedobrien@acm.org> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040606115128.5ad93277>