On Sat, Jan 26, 2002 at 08:02:40PM +0000, Bryan Ross wrote:
> Hi,
> 
> Just finished getting SpamAssassin/Razor working with Courier-MTA,
> everything seems to work okay, except my virtual hosting setup seems to
> cause problems with user-preferences and the whitelist facility.
> 
> My maildirs are stored in /mail/<domain>/<user>/Maildir, and are all owned
> by the 'mail' user/group. Incidently, the mail user has homedir '/mail'.
> 
> So, I have the 'spamd' daemon running as user 'mail', and I use courier's
> filtering capabilities to run all incoming mail through 'spamc'.
> 
> My problems come when I try to access files in the User's home
> directories, either for a per-user configuration file, or a per-user
> whitelist. Basically, 'spamd' tries to write to /mail/.spammassassin/* -
> the home directory of the 'mail' user. Im assuming it's looking up its
> homedirectory from the password file, and getting the wrong answer.
> 
> Courier sets $HOME to the home directory of the recipient, so is there a
> way I can get 'spamd' to use that instead?
> 

I have a similar problem.  I run spamd as root, and until now, didn't have a
.spamassassin dir, so the auto whitelist rule thing didn't work.

Should spamd either a) make the dir, or b) use a tmp dir or other user
config dir.

-- 
Duncan Findlay

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to