Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E5BAB43.94FFA9ED@ieee.org> Date: Tue, 25 Feb 2003 12:43:31 -0500 From: "Pierre A. Humblet" X-Accept-Language: en,pdf MIME-Version: 1.0 To: Jason Tishler , cygwin AT cygwin DOT com Subject: Re: exim 4.12-3 winsock problem (was Re: 1.3.21) References: <20030221153741 DOT GA26756 AT redhat DOT com> <20030221180822 DOT GB1408 AT tishler DOT net> <3E566E49 DOT 53BE7CBE AT ieee DOT org> <20030221191209 DOT GE1408 AT tishler DOT net> <20030224200201 DOT GA2348 AT tishler DOT net> <3E5A8939 DOT CE055B7F AT ieee DOT org> <20030224215244 DOT GA2612 AT tishler DOT net> <3E5A998A DOT 51607934 AT ieee DOT org> <20030225114401 DOT GA1876 AT tishler DOT net> <3E5B8599 DOT B853407A AT ieee DOT org> <20030225170155 DOT GI1876 AT tishler DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jason Tishler wrote: > > Pierre, > > On Tue, Feb 25, 2003 at 10:02:49AM -0500, Pierre A. Humblet wrote: > > So I suggest a simple test: edit /etc/passwd and change the gid of the > > exim user to 545, then run again. > > The above fixed the problem. I apologize for not being able to figure > this out myself. Actually I'd rather have you hit this problem than almost anybody else. Figuring out what was happening without accurate strace output took some doing. Can you invest a little more time and try to understand why wsock doesn't start without it (e.g. lookup how privileges are assigned on your system)? I'd like to detect the bad situation and log a warning. > > By the way, I am not sure what you try to achieve running the exim > > daemon as a special exim user. > > I'm not: OK, but because you have defined an "exim" user in /etc/passwd, the daemon running as 18 setuid to exim (see README). That reduces the "danger" of running as SYSTEM. I have tried to keep this mechanism because exim prides it about running as root as little as possible, but as we have have just seen, this is tricky on Windows because a minimum level of privilege is apparently needed. So let me rephrase the question: is there a particular reason why you have defined an exim user (in addition to having a mail group for deliveries, I know that makes a lot of sense). Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/