Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 19:37:37 -0700
From:      Brian <brian@brianwhalen.net>
To:        alydiomc@yahoo.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Spamassasin running as root!
Message-ID:  <48893C71.90505@brianwhalen.net>
In-Reply-To: <677836.81175.qm@web52201.mail.re2.yahoo.com>
References:  <677836.81175.qm@web52201.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
lyd mc wrote:
> Hi guys,
>
> My maillog complain like this:
>
> Jul 25 09:40:06 MAIL spamd[67623]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody
>
> Jul 25 09:40:13 MAIL spamd[67623]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /nonexistent/.spamassassin/auto-whitelist.lock.MAIL.67623 for /nonexistent/.spamassassin/auto-whitelist.lock: No such file or directory
>
> I google it and found out that i need to run spamd with '-u <user>' flag.
>
> >From BSD guide website spamd has a flag of  '-u qscand'. However, there is no detail on how the qscand user has been created.
>
> How to create a user for spamd correctly or securely?   
>
>
>
>
>
>
>       
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>   
What do you have in /etc/rc.conf, I have
spamd_enable="YES"
spamd_flags="-u spamd -H /var/spool/spamd"

In my case, the spamd user got created automagically.

Brian



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