Subject: Re: Exim allways runs as root
To: Rick Byers <RickB@BigScaryChildren.net>
From: Andrew Doran <ad@netbsd.org>
List: tech-pkg
Date: 06/18/2001 02:13:03
Rick Byers <RickB@BigScaryChildren.net> wrote:

> The Exim documentation says that the EXIM_UID compile-time option should
> be set to allow exim to change to a non-root user when it can.  I assumed
> this was happening because the NetBSD packge MESSAGE file says to add a
> "mail" user and set permissions on /var/log/exim.  However the EXIM_UID
> value is left unet by patch-ab.

EXIM_UID is the compile-time default for the exim_user option. The config
should probably be patched to let everyone know about that.
 
> So my question is, should patch-ab be change to set EXIM_UID to 'mail' or
> should the MESSAGE be changed to remove the instructions about the mail
> user.  Personally, I like the idea of running as a non-root user as much
> as possible, especially since the exim docs reccomend it.

Set exim_user and exim_group, and you're laughing.

> P.S. There were some bug-fixes to exim (v3.22) back in January.  Is there
> anything I can do to help get the exim package updated from v3.20 to 3.22?

It has been on my mind - I'm really busy/lathargic right now, but I'll try
to get around to it.

Andrew