Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 25 Feb 2003 12:01:55 -0500
From: Jason Tishler <jason@tishler.net>
Subject: Re: exim 4.12-3 winsock problem (was Re: 1.3.21)
In-reply-to: <3E5B8599.B853407A@ieee.org>
To: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
Cc: cygwin@cygwin.com
Mail-followup-to: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>,
 cygwin@cygwin.com
Message-id: <20030225170155.GI1876@tishler.net>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: Mutt/1.4i
References: <20030221153741.GA26756@redhat.com>
 <20030221180822.GB1408@tishler.net> <3E566E49.53BE7CBE@ieee.org>
 <20030221191209.GE1408@tishler.net> <20030224200201.GA2348@tishler.net>
 <3E5A8939.CE055B7F@ieee.org> <20030224215244.GA2612@tishler.net>
 <3E5A998A.51607934@ieee.org> <20030225114401.GA1876@tishler.net>
 <3E5B8599.B853407A@ieee.org>

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.

> By the way, I am not sure what you try to achieve running the exim
> daemon as a special exim user.

I'm not:

    $ sc qc exim
    [SC] GetServiceConfig SUCCESS

    SERVICE_NAME: exim
            TYPE               : 10  WIN32_OWN_PROCESS 
            START_TYPE         : 2   AUTO_START
            ERROR_CONTROL      : 1   NORMAL
            BINARY_PATH_NAME   : C:\cygwin\bin\cygrunsrv.exe  
            LOAD_ORDER_GROUP   :   
            TAG                : 0  
            DISPLAY_NAME       : exim  
            DEPENDENCIES       :   
            SERVICE_START_NAME : LocalSystem

> Also, it may be just fine to run the daemon with gid 545 but do
> deliveries with gid 1009. That's controlled from /etc/exim.conf, group
> = mail in the local_delivery transport.

I am (and have been) doing the above.

> The issue with that approach is if exim execs itself: it will then be
> unprivileged with uid 1008 and gid 545 and wouldn't be able to make
> local deliveries.

I haven't seen the above issue (yet).

> I have another question: when you run under strace are things fine or
> do you hit another error? 

Another error:

    2003-02-21 11:11:06 IPv4 socket creation failed: Operation not permitted

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/

