Re: Minires truncates host names

2014-07-22 Thread Corinna Vinschen
Hi Daniel, On Jul 21 21:11, D. Boland wrote: > Hi Corinna, > > Corinna Vinschen wrote: > > > > > 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

Re: Minires truncates host names

2014-07-21 Thread D. Boland
Hi Corinna, Corinna Vinschen wrote: > > > 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 r

Re: Minires truncates host names

2014-07-21 Thread Corinna Vinschen
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

Re: Minires truncates host names

2014-07-20 Thread D. Boland
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 b

Re: Minires truncates host names

2014-07-18 Thread Corinna Vinschen
On Jul 18 10:17, Corinna Vinschen wrote: > On Jul 17 22:29, D. Boland wrote: > > 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.

Re: Minires truncates host names

2014-07-18 Thread Corinna Vinschen
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

Re: Minires truncates host names

2014-07-17 Thread D. Boland
Hi Corinna, Corinna Vinschen wrote: > > On Jul 17 20:14, D. Boland wrote: > > 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

Re: Minires truncates host names

2014-07-17 Thread Andrey Repin
Greetings, D. Boland! > 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 m

Re: Minires truncates host names

2014-07-17 Thread Corinna Vinschen
On Jul 17 20:14, D. Boland wrote: > 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 &

Re: Minires truncates host names

2014-07-17 Thread D. Boland
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", > N

Re: Minires truncates host names

2014-07-11 Thread Marco Atzeri
On 11/07/2014 08:00, D. Boland wrote: Hi Corinna, Corinna Vinschen wrote: I've checked that in. I also changed the debug output to print "Resolv" instead of "Minires" to make sure that people don't think they are stil using the external Minres lib. How can I test the new code? I've tried u

Re: Minires truncates host names

2014-07-10 Thread D. Boland
Hi Corinna, Corinna Vinschen wrote: > > I've checked that in. I also changed the debug output to print > "Resolv" instead of "Minires" to make sure that people don't think > they are stil using the external Minres lib. > How can I test the new code? I've tried updating with the Cygwin install

Re: Minires truncates host names

2014-07-07 Thread Corinna Vinschen
On Jul 7 07:27, D. Boland wrote: > 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 &

Re: Minires truncates host names

2014-07-07 Thread Corinna Vinschen
On Jul 6 19:47, Pierre A. Humblet wrote: > > -Original Message- > > From: D. Boland > > Sent: Sunday, July 06, 2014 03:08 > > > > Thanks for the swift reply! > > > > I looked at Sendmails' source code. Here's the snippet which produces > > the output from my first email. It's taken from

Re: Minires truncates host names

2014-07-06 Thread D. Boland
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", > N

RE: Minires truncates host names

2014-07-06 Thread Pierre A. Humblet
> -Original Message- > From: D. Boland > Sent: Sunday, July 06, 2014 03:08 > > Thanks for the swift reply! > > I looked at Sendmails' source code. Here's the snippet which produces > the output from my first email. It's taken from the file sendmail/domain.c: > >

Re: Minires truncates host names

2014-07-06 Thread D. Boland
"Pierre A. Humblet" wrote: > To me it looks like the string was already truncated when it was passed to > the function. > > You can test e.g. by using exim -d+resolver -bt dan...@cygwin.com > > It's wonderful that you got sendmail to work. > > Pierre > Thanks for the swift reply! I looked

RE: Minires truncates host names

2014-07-05 Thread Pierre A. Humblet
> -Original Message- > From: D. Boland > Sent: Saturday, July 05, 2014 16:12 > > Hi Group, > > I finally got Sendmail ported to Cygwin. But when looking up valid hostnames > from sender addresses, Minires fails. Here's the output, testing one of > Sendmails' rules. > > $ echo "check_mail

Minires truncates host names

2014-07-05 Thread D. Boland
Hi Group, I finally got Sendmail ported to Cygwin. But when looking up valid hostnames from sender addresses, Minires fails. Here's the output, testing one of Sendmails' rules. $ echo "check_mail dan...@cygwin.com" | /usr/sbin/sendmail -d8.20 -bt readcf: option TrustedUser may cause problems on