From owner-freebsd-questions Wed Nov 27 07:30:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA24703 for questions-outgoing; Wed, 27 Nov 1996 07:30:22 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id HAA24679 for ; Wed, 27 Nov 1996 07:30:16 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vSlvI-000QrsC; Wed, 27 Nov 96 16:29 MET Received: (grog@localhost) by freebie.lemis.de (8.8.3/8.6.12) id QAA02479; Wed, 27 Nov 1996 16:17:01 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199611271517.QAA02479@freebie.lemis.de> Subject: Re: local delivery problems with exim In-Reply-To: from Philip Crewdson at "Nov 26, 96 10:04:43 pm" To: philip@state51.co.uk (Philip Crewdson) Date: Wed, 27 Nov 1996 16:17:01 +0100 (MET) Cc: questions@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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