Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 1996 16:17:01 +0100 (MET)
From:      Greg Lehey <grog@lemis.de>
To:        philip@state51.co.uk (Philip Crewdson)
Cc:        questions@FreeBSD.org
Subject:   Re: local delivery problems with exim
Message-ID:  <199611271517.QAA02479@freebie.lemis.de>
In-Reply-To: <l03010600aec1193203f5@[194.159.145.12]> from Philip Crewdson at "Nov 26, 96 10:04:43 pm"

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Philip Crewdson writes:
> Hi,
>
> I'm trying to run exim 1.58, which I got from the Cambridge source. It's
> working fine, except it won't deliver locally - it doesn't seem to be able
> to adopt the uid of local users. Anyone had/solved this problem?

I don't know exim, but the problem looks familiar: you need to set
your program setuid root:

  # chown root exim
  # chown 4755 exim

The '4' is the suid bit.

If this doesn't work, let me know.  setuid(2) and setgid(2) have some
surprises in store.

Greg



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199611271517.QAA02479>