On Fri, Jun 17, 2005 at 01:01:11PM -0500, Kyle Wheeler wrote:
> Spamd is running like this:
> 
>    /usr/bin/spamd \
>        --syslog=stderr \
>        --max-children 5 \
>        --socketpath=/var/lib/spamassassin/sock --socketowner=vpopmail \
>        --socketgroup=vchkpw \
>        -H --create-prefs --vpopmail -u vpopmail 2>&1

I had a similar problem some time ago. I switched the spamd uid from "root"
to "spamd". But spamd is the one who does the learing stuff. So he
wants to be able to enter $HOME. Because every of my users has its
own uid, I did the following:

PATH                 OWNER       PERMISSIONS
$HOME                uid:users   710
$HOME/.spamassassin/ spamd:users 700
$HOME/.maildir/      uid:users   700

spamd can read/write the users bayes database, while the user is the only
person, who is able to access ".maildir/".
I don't know if there is a better way.

Bye,
    Aiko

-- 
Aiko Barz <[EMAIL PROTECTED]>
Web: http://www.haeckser.de

Attachment: pgpltFsAgQRtj.pgp
Description: PGP signature

Reply via email to