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: <02c301c227da$8062fd40$eb6610ac@lefeuvrewk2> From: "Corwin" To: Cc: "Pierre A. Humblet" References: <20020709212222 DOT DLEV8262 DOT rwcrmhc52 DOT attbi DOT com AT rwcrwbc56> Subject: Re: exim and ntsec Date: Wed, 10 Jul 2002 08:24:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 I made a complete reinstallation of Cygwin on my machine and it works well now ... I really have no idea why it did not before !!! Anyway, I think this was not an exim related problem, rather a problem in my cygwin installation (it was an old installation I updated reguliarly through the cygwin setup but I am not sure this way is the best to keep an up to date consistent cygwin system ;o) Thanks a lot for your help and for your work on exim and qpopper ;o) Best regards Thomas ----- Original Message ----- From: To: "Corwin" Cc: Sent: Tuesday, July 09, 2002 11:22 PM Subject: Re: exim and ntsec > Hi Thomas, > > tomorrow I should have access to a PC to investigate > what´s going on. Could you send me the debug output > when you run as a service without having "exim" in > passwd? > Do you use the latest official cygwin1.dll? > > What you sent me before is consistent with having an > "exim" user but the setuid to that user failing (perhaps > problem with passwd or group). > If an "exim" user exists, then "configure" must be owned > by it. I have no idea why you cannot change > the "configure" group. I assume you are in the admins > group on your own machine. > > Pierre > > > As everything I tried did not work I also tried effectivly to define the > > exim user with no luck. > > I deleted it but no change. > > I enclosed my passwd file (but it's a very common one). > > > > Here at work, I am logged as a domain user (tlefeuvre in passwd file). > > > > Tell me if you see something strange but I don't think the problem comes > > from here. > > > > Thanks > > > > Thomas > > > > PS: Now my configure file is owned by SYSTEM but I cannot change the group > > anymore (permission denied), do you know why ?? It used to work before .. > > > > ----- Original Message ----- > > From: > > To: "Corwin" > > Sent: Monday, July 08, 2002 4:44 PM > > Subject: Re: exim and ntsec > > > > > > > A more general question: > > > > > > could you send me your /etc/passwd and /etc/group files? > > > > > > Pierre > > > > Thanks for your answer Pierre .. > > > > Here is my exim.log when I try to run it from service. > > > > > > -------------------------------------------------------------------------- > > -- > > > > ----------------------------------------------------------- > > > > CYGWIN = "ntsec". Root / mapped to F:\cygwin. > > > > Starting uid 18 gid 18 > > > > root_uid 1001 exim_uid 1001 exim_gid 513 > > > > Exim version 4.04 uid=18 gid=18 pid=2508 L=834cd8 D=fff7577f > > > > probably GDBM (native mode) > > > > Exim has no root privilege: uid=18 gid=18 euid=18 egid=18 > > > > changed uid/gid: forcing real = effective > > > > uid=18 gid=18 > > > > auxiliary group list: 0 > > > > LOG: MAIN PANIC DIE > > > > Exim configuration file /usr/local/exim/configure has the wrong owner, > > > > group, or mode > > > > search_tidyup called > > > > >>>>>>>>>>>>>>>>>> Exim pid=2508 terminating with rc=1 > > >>>>>>>>>>>>>>>>>> > > > > > > -------------------------------------------------------------------------- > > -- > > > > ----------------------------------------------------------- > > > > I really don't understand, as you can see owner and group id are SYSTEM. > > > > Permissions on configure are as follow: > > > > > > -------------------------------------------------------------------------- > > -- > > > > ----------------------------------------------------------- > > > > -rw-r--r-- 1 18 18 21262 Jul 2 11:58 configure > > > > > > -------------------------------------------------------------------------- > > -- > > > > ----------------------------------------------------------- > > > > Owned by SYSTEM, readable/writable by SYSTEM and readable only for > > others. > > > > > > > > Here it is .. I'm looking further to check out what's wrong ... This may > > be > > > > also a CYGWIN permission problem... (This is not the first problem I > > have > > > > when using ntsec with a domain user) > > > > > > > > Thanks again .. > > > > > > > > Thomas > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Pierre A. Humblet" > > > > To: > > > > Sent: Saturday, July 06, 2002 4:16 AM > > > > Subject: Re: exim and ntsec > > > > > > > > > > > > > "Corwin" wrote > > > > > > > > > > >Forgive my lack of knowledge. I saw the Exim has no root privilege > > > > message > > > > > >but what I can't explain (And I am sure you can) is why I got the > > same > > > > > >message when launching exim with ntsec disabled and why It is working > > > > well > > > > > >then ... > > > > > > > > > > Thomas > > > > > > > > > > I don't see this message without ntsec! Running without ntsec is all > > > > > you need if you don't need to setuid to access directories and to set > > > > > permissions. > > > > > To run under ntsec, start exim from cygrunsrv. It is coded to > > recognize > > > > > uid 18. > > > > > If you have problems, add the arguments -c -d (in ygrunsrv -I.. -a > > > > "...") > > > > > and look at the debug output in /var/log/exim.log, in addition to the > > > > > logfiles. > > > > > > > > > > I assume you fixed the permissions problems of configure (previous > > > > messages). > > > > > With ntsec it must be owned by SYSTEM and other users cannot have > > write > > > > > access. > > > > > > > > > > Pierre > > > > > > > > > > P.S.: Please cc me on this, I don't subscribe to the list. > > > > > > > > > > -- > > > > > 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/ > > > > > > > > > > > > > > > > > > > ____________________________________________________________________________ > > __ > > > > ifrance.com, l'email gratuit le plus complet de l'Internet ! > > > > vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... > > > > http://www.ifrance.com/_reloc/email.emailif > > > > > > > > ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif -- 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/