X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=nUqmVnEXiWDxvvtU5sa4j3cwph+ghrnSMTCAFSvqjlEnDDsmjXT52 Rj5UXp4RBKTegVDbmo+gsuXGhFvi626tuh2AZjwqPQrwjosj0JHJP2MrSkaCymNo lxXMclEEIhR6BNbs0sl8bCuXAt2SlWFPcmyIw3CFoNsu5GRAt1nkCs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=IdOM7N//1lqDT6N1A1Pms6VVMzA=; b=wGQtPupq0rGCHcHBUGkJQX9xFMcQ ujLZprPrusrbGrCs7hCXoiPAMDWu6++gh2kujeHO8hf95N5UG5MF6WZQVciTAv9v y5j9K4FvetM2exZ31svnASzgoilodIzOmo2TM822jQdEZ2YvTPVY5fgoThNlkE1E C1hjDYqOwhs3wPA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: "D. Boland" Subject: Re: Minires truncates host names Date: Thu, 17 Jul 2014 20:14:50 +0200 Lines: 25 Message-ID: <53C8129A.1BA76E49@boland.nl> References: <028c01cf9974$ad507120$07f15360$@alum.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi Pierre, "Pierre A. Humblet" wrote: > > You are right, there is a bug in res_querydomain, > Line 737 *(ptr++ - 1) = '.'; should be > *ptr++ = '.'; > > I would also add a debug printf at the top of the function: > DPRINTF(statp->options & RES_DEBUG, "querydomain \"%s\" \"%s\" type %d\n", > Name, DomName, Type); > > Unfortunately I am not setup to build Cygwin so I can't test the above nor > submit a proper patch. Just letting you know how it went with the Resolver (miniedit). The error, pointed out by you, solved the problem. Now I have an even bigger problem. Sendmail works perfectly. But only on my XP machine. As of Windows Vista, MS decided to remove certain privileges from the SYSTEM user. As a consequence, SYSTEM is no longer able to perform the 'setuid' function. This is very much needed, since local mail has to be delivered by a mail delivery agent, like procmail, running under the recipient's credentials. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple