delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/20/04:55:49

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=AnkPDrk26Ftec/le1aiTapPi2Ew1kvzd925QXC8X2EgrqaJUdmKYZ
TxZ9X31q3bivLjb0A/GPTU9V1A+WLB1smpgkjsZqoWgyP2bdygPmmJTY6jEAkBPC
ho5mWdTsYGDdnkqtnDH7GqX0GEmGvDEEvhE9bfResSLVfyzvXvfRyk=
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=hWOthohukCP/pDUyvuSPruxDiuk=; b=FxqeZMo+oNZBteVzmY8GV4kM8SCQ
5360TjQKlzdKm5UWgrRER3CTjXIElMra3Iq5NPMUU0GEXcVAuRySJ5WSmVEKdZcF
Hh/BPHxdEBoGPbGx+RCvSMTpeQdza+c/cMO4EbX0ja/GPvFkeHPLTNYKCxfHFtlI
CeeUjK4L2gy6jaE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.7 required=5.0 tests=AWL,BAYES_00,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" <daniel AT boland DOT nl>
Subject: Re: Minires truncates host names
Date: Sun, 20 Jul 2014 10:59:38 +0200
Lines: 87
Message-ID: <53CB84FA.ED8C5E41@boland.nl>
References: <028c01cf9974$ad507120$07f15360$@alum.mit.edu> <53C8129A DOT 1BA76E49 AT boland DOT nl> <20140717182302 DOT GR15332 AT calimero DOT vinschen DOT de> <53C83213 DOT 580EEB62 AT boland DOT nl> <20140718081723 DOT GW15332 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes

Hi Corinna,

Corinna Vinschen wrote:
> 
> Hi Daniel,
> 
> On Jul 17 22:29, D. Boland wrote:
> > Hi Corinna,
> >
> > Corinna Vinschen wrote:
> > >
> > > On Jul 17 20:14, D. Boland wrote:
> > > > Just letting you know how it went with the Resolver (miniedit). The error, pointed
> > > > out by you, solved the problem.
> > >
> > > Did you read my previous reply?  Do *not* use the minres lib.  Use the
> > > Cygwin resolver.  There's no minires lib on 64 bit anymore and the 32
> > > bit runtime minres is only maintained for backward compatibility.
> >
> > Yes, I read it. I just don't like to swap my current Cygwin DLL. I will test it
> > proper on a fresh Cygwin system on another computer. When will the fix be released?
> 
> With 1.7.31 in the next few days.  But there are still the developer
> snapshots for testing.  Here's the deal: If you test a developer
> snapshot you can make sure that the next release will fix the problem.
> If you don't test the snapshot you won't have that privilege and the
> functionality will still be broken up to the next release.  Simple.
> 

Ok, I put in the new Cygwin1.dll from the latest 32bit developer snapshot:

$ uname -a
CYGWIN_NT-5.1 dimension 1.7.31s(0.272/5/3) 20140716 11:15:29 i686 Cygwin

Then, I removed /usr/lib/resolv.a, so the call is explicitly done on the new Cygwin
DLL.

I removed the complete source code from my /usr/local/src directory, re-extracted
the sendmail source, made and installed. So now the test-output of the sendmail rule
"check_mail" looks like this:

$ echo "check_mail daniel AT cygwin DOT com" | /usr/sbin/sendmail -d8.20 -bt
dns_getcanonname(dimension, trymx=1)
dns_getcanonname: trying dimension.sassenheim.dmz (A)
Resolv: querydomain "dimension"  "sassenheim.dmz" type 1
Resolv: query "dimension.sassenheim.dmz" type 1
Resolv: DnsQuery: 0 (Windows)
Resolv: dimension.sassenheim.dmz Section 1 Type 1 Windows Record Length 4
        YES
dns_getcanonname: dimension.sassenheim.dmz
readcf: option TrustedUser may cause problems on systems
        which do not support fchown() if UseMSP is not set.
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> check_mail         input: daniel @ cygwin . com
Basic_check_mail   input: daniel @ cygwin . com
tls_client         input: $| MAIL
TLS_connection     input:
TLS_connection   returns:
tls_client       returns:
CanonAddr          input: < daniel @ cygwin . com >
canonify           input: < daniel @ cygwin . com >
Canonify2          input: daniel < @ cygwin . com >
dns_getcanonname(cygwin.com, trymx=1)
dns_getcanonname: trying cygwin.com. (A)
Resolv: querydomain "cygwin.com"  "" type 1
Resolv: query "cygwin.com." type 1
Resolv: DnsQuery: 0 (Windows)
Resolv: cygwin.com Section 1 Type 1 Windows Record Length 4
Resolv: ns2.redhat.com Section 3 Type 1 Windows Record Length 4
Resolv: ns1.redhat.com Section 3 Type 1 Windows Record Length 4
Resolv: ns3.redhat.com Section 3 Type 1 Windows Record Length 4
        YES
dns_getcanonname: cygwin.com
Canonify2        returns: daniel < @ cygwin . com . >
canonify         returns: daniel < @ cygwin . com . >
Parse0             input: daniel < @ cygwin . com . >
Parse0           returns: daniel < @ cygwin . com . >
CanonAddr        returns: daniel < @ cygwin . com . >
Basic_check_mail returns: @ daniel < @ cygwin . com >
check_mail       returns: @ daniel < @ cygwin . com >

It works. As you can see, this is done on a WinXP machine. I could also test on a
Win7 machine. I don't have Win8 or Win8.1.

Greetings,
Daniel


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019