Minires truncates host names

Corinna Vinschen
Mon Jul 21 08:21:00 GMT 2014

On Jul 20 10:59, D. Boland wrote:
> Corinna Vinschen wrote:
> > 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.

No reason to do that!  libresolv.a is generated as part of the Cygwin
package.  It's not referencing the minres DLL, but the 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:
> [...]
> dns_getcanonname(, trymx=1)
> dns_getcanonname: trying (A)
> Resolv: querydomain ""  "" type 1
> Resolv: query "" type 1
> Resolv: DnsQuery: 0 (Windows)
> Resolv: Section 1 Type 1 Windows Record Length 4
> Resolv: Section 3 Type 1 Windows Record Length 4
> Resolv: Section 3 Type 1 Windows Record Length 4
> Resolv: Section 3 Type 1 Windows Record Length 4
>         YES
> dns_getcanonname:
> [...]
> 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.

That's fine.  Thanks a lot for confirming again that Pierre's patch
works and the latest Cygwin DLL is doing the right thing here.

Out of curiosity, did you manage to build sendmail on 64 bit Cygwin yet?
And more importantly, are you going to become Cygwin maintainer for the
sendmail package?  This would be way cool.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Cygwin mailing list