Re: [Exim] SpamAssassin small problem running as nobody

Pàgina inicial
Delete this message
Reply to this message
Autor: Avleen Vig
Data:  
A: Rory Campbell-Lange, exim-users
Assumpte: Re: [Exim] SpamAssassin small problem running as nobody
On Wed, Nov 12, 2003 at 03:31:20PM +0000, Rory Campbell-Lange wrote:
> I am running Debian testing with exim4-daemon-heavy as a test before
> setting these up on my servers.
> The integration with SpamAssassin scanning all the mail entering the
> server works superbly. I am using this acl setup, amongst others:
>    warn  message = X-Spam-Score: $spam_score ($spam_bar)
>    spam = nobody:true
> However I get a lot of warnings in my syslog along the lines of
>     "Couldn't create readable default_prefs for
>         [/nonexistant/.spamassassin/user_prefs]"
> I realise this is because the user "nobody" doesn't have a home
> directory.
> What is the most elegant solution to this problem? Is it safe to run
> this as the "mail" user (whose home is /var/mail)?


You can run it as any user you like. If you so wish, you can even create
a new user for this purpose.

--
Avleen Vig
Systems Administrator
Doing virtual domain hosting with Exim?
  Check out Virtual Exim: http://silverwraith.com/vexim
    (Click the banner, support development..)