Using courier with dspam

Graham Wheeler gram at geekraver.com
Sat Jun 9 19:32:29 UTC 2007


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 at geekraver.com>,addr=<gram at 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

 

 

 

 

 

 

 

 



More information about the freebsd-questions mailing list