On 28-Jan-99 Philip Hazel wrote:
> You said you were running a daemon, and you were running with GID=0, but
> it wouldn't run with another GID. Now, I'm confused as to whether you
> have got it setuid root or not at present, but:
>
> In order to start up a daemon you need to have root privilege. Port 25
> is a privileged port. Therefore you need either
>
> (a) to have exim setuid root so that anybody can start it
>
> or
>
> (b) be running as root when you start the daemon
Both of the above conditions are true. I replaced sendmail with Exim and
Exim starts whenever the machine starts. I also stop and start it while I
am root after changing the configuration file or the system filter,
because if I make a mistake in a filter, restarting Exim will show errors
in the logs and I can then find my error.
>
> If it doesn't have the privilege, I would expect it to complain on its
> log file. OTOH, if it doesn't have enough privilege to write to its log
> file ... (You could try looking also as syslog.)
>
It seems to be running now and I added EXIM_UID and EXIM_GID to my exim
configuration.
--
Andrew
--
*** Exim information can be found at
http://www.exim.org/ ***