Re: Problem DNS-resolving single helo-hostnames

2009-01-26 Thread Noel Jones
Schilling, Timo wrote: The only question left is, why this line negates the "saved_options"? If it wouldn't, a postfix, which is used in the internet, have to ask the dns-server more often, because of the own domain which is appended. It would be very wrong for postfix to append the local domai

Re: Problem DNS-resolving single helo-hostnames

2009-01-26 Thread Wietse Venema
Schilling, Timo: > The only question left is, why this line negates the "saved_options"? Because it makes no sense to append MY OWN DOMAIN to the hostname from a REMOTE client. Wietse

Re: Problem DNS-resolving single helo-hostnames

2009-01-25 Thread Schilling, Timo
Noel Jones wrote: > Schilling, Timo wrote: >> Wietse Venema wrote: >>> Schilling, Timo: Postfix shouldn't negate the flag (from 1 to 0) so that the function "res_search" doesn't append the known domain-informations. But it is done in the above mentioned file, but why? >>> Because it

Re: Problem DNS-resolving single helo-hostnames

2009-01-23 Thread Noel Jones
Schilling, Timo wrote: Wietse Venema wrote: Schilling, Timo: Postfix shouldn't negate the flag (from 1 to 0) so that the function "res_search" doesn't append the known domain-informations. But it is done in the above mentioned file, but why? Because it makes no sense to append MY OWN DOMAIN to

Re: Problem DNS-resolving single helo-hostnames

2009-01-23 Thread Wietse Venema
Schilling, Timo: > Wietse Venema wrote: > > Schilling, Timo: > >> Postfix shouldn't negate the flag (from 1 to 0) so that the function > >> "res_search" doesn't append the known domain-informations. > >> But it is done in the above mentioned file, but why? > > > > Because it makes no sense to appe

Re: Problem DNS-resolving single helo-hostnames

2009-01-23 Thread Schilling, Timo
Wietse Venema wrote: > Schilling, Timo: >> Postfix shouldn't negate the flag (from 1 to 0) so that the function >> "res_search" doesn't append the known domain-informations. >> But it is done in the above mentioned file, but why? > > Because it makes no sense to append MY OWN DOMAIN to > the host

Re: Problem DNS-resolving single helo-hostnames

2009-01-23 Thread Wietse Venema
Schilling, Timo: > Postfix shouldn't negate the flag (from 1 to 0) so that the function > "res_search" doesn't append the known domain-informations. > But it is done in the above mentioned file, but why? Because it makes no sense to append MY OWN DOMAIN to the hostname from a REMOTE client.

Re: Problem DNS-resolving single helo-hostnames

2009-01-23 Thread Schilling, Timo
Victor Duchovni wrote: > On Thu, Jan 22, 2009 at 12:57:30PM +0100, Schilling, Timo wrote: > >> Hello to everybody, >> >> while we use the option "reject_unknown_helo_hostname" we noticed, that >> single hostnames will be rejected without contacting the dns-servers. >> After some debugging of the s

Re: Problem DNS-resolving single helo-hostnames

2009-01-22 Thread Victor Duchovni
On Thu, Jan 22, 2009 at 12:57:30PM +0100, Schilling, Timo wrote: > Hello to everybody, > > while we use the option "reject_unknown_helo_hostname" we noticed, that > single hostnames will be rejected without contacting the dns-servers. > After some debugging of the source code we got to this line:

Problem DNS-resolving single helo-hostnames

2009-01-22 Thread Schilling, Timo
Hello to everybody, while we use the option "reject_unknown_helo_hostname" we noticed, that single hostnames will be rejected without contacting the dns-servers. After some debugging of the source code we got to this line: 226 _res.options &= ~saved_options; where the flag "RES_DEFNAMES" will be