[SA-exim] spamassassin's home dir
Ross Boylan
ross at biostat.ucsf.edu
Mon May 24 14:24:51 PDT 2004
On Sat, 2004-05-22 at 08:39, Paul Makepeace wrote:
> I'm sure this is obvious...
>
> I've noticed spamassassin is writing its various bits to
> /var/spool/exim4/.spamassassin which is Debian-exim's home dir.
>
> How is it getting this? spamd is started and indeed runs as root via
> /etc/init.d/spamassassin. So is it picking up the $HOME via spamc
> called via local_scan in exim?
>
The spamd man page says
-u username, --username=username
Run as the named user. If this option is not set, the default
behaviour is to setuid() to the user running "spamc", if "spamd" is
running as root.
So exim runs spamc with exim's identity, and spamd runs that way as
well.
More information about the SA-Exim
mailing list