Re: spamassassin's home dir

Ross Boylan <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Organization University of California San Francisco--Biostatistics
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.