Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jun 2007 12:31:23 -0700
From:      "Graham Wheeler" <gram@geekraver.com>
To:        freebsd-questions@freebsd.org
Subject:   Using courier with dspam
Message-ID:  <FE067D0CB1804062B957E533E1DBBE1F@GRAMPC>

next in thread | raw e-mail | index | archive | help
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=<gram@geekraver.com>,addr=<gram@geekraver
.com>: /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

 

 

 

 

 

 

 

 




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