dspam

Ion-Mihai Tetcu itetcu at apropo.ro
Sun Jun 6 01:47:42 PDT 2004


On Sat, 05 Jun 2004 22:15:22 -0400
"Reed L. O'Brien" <reedobrien at 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"



More information about the freebsd-questions mailing list