OpenMacNews wrote:
>       --username=maildaemon \
>       --nouser-config
[...]
>       [1048] error: spamd: unable to determine home directory for user 
> 'maildaemon'
>       spamd: unable to determine home directory for user 'maildaemon'
[...]
> any suggestions?

Suggestions:

1) Please ask about configuration problems in the SpamAssassin users
mailing list where people who use the program on different platforms
discuss such things. Use this list for development related things.

2) The error message says that it can't find the home directory for the
user 'maildaemon', which is the username you specified spamd should run
as. Did you in fact create a user named maildaemon and if so, did you
give it a home directory? What does grep maildaemon /etc/passwd show?

3) Even though you tell spamd not to read configuration information from
the home directory, spamd still makes other use of some files in the
home directory.

4) spamd is designed to run either as root and then setuid to a user
when it is called to process an email for that user, or else to always
run as the user that you want it to process all email for. I doubt that
you really want it to run as a non-user non-root daemon account, unless
you have carefully thought through the implications and that is what you
want to do. But it will still need its own home directory.

 -- sidney

Reply via email to