Re: Name resolution

2012-05-22 Thread Barbara M.
On Tue, 22 May 2012, Wietse Venema wrote: Barbara M.: Thanks. I put: smtp_host_lookup = native, dns In my idea this give higher priority to /etc/hosts Postfix works as documented. See: http://www.postfix.org/postconf.5.html#smtp_host_lookup Then search for any text that promises that Post

Re: Name resolution

2012-05-22 Thread Wietse Venema
Barbara M.: > Thanks. > > I put: > > smtp_host_lookup = native, dns > > In my idea this give higher priority to /etc/hosts Postfix works as documented. See: http://www.postfix.org/postconf.5.html#smtp_host_lookup Then search for any text that promises that Postfix gives priority. If such text

Re: Name resolution

2012-05-22 Thread Barbara M.
On Tue, 22 May 2012, Reindl Harald wrote: Am 22.05.2012 12:15, schrieb Barbara M.: # telnet mail.aaa.tld 25 Trying 192.168.1.25... Connected to mail.aaa.tld. Escape character is '^]'. 220 mail.aaa.tld ESMTP . . . . but Postfix seems to still search the real IP via DNS. Why? Any trick/config

Re: Name resolution

2012-05-22 Thread Wietse Venema
Barbara M.: > > How work name resolution in Postfix? > http://www.postfix.org/postconf.5.html#smtp_host_lookup Wietse smtp_host_lookup (default: dns) What mechanisms the Postfix SMTP client uses to look up a host's IP address. This parameter is ignored when DNS lookups are

Re: Name resolution

2012-05-22 Thread Martin Schütte
On 05/22/12 12:15, Barbara M. wrote: > Any trick/config/workaround to force Postfix to consider /etc/hosts? To use other data sources than DNS you need the smtp_host_lookup option (http://www.postfix.org/postconf.5.html#smtp_host_lookup). -- Martin

Re: Name resolution

2012-05-22 Thread Reindl Harald
Am 22.05.2012 12:15, schrieb Barbara M.: > # telnet mail.aaa.tld 25 > Trying 192.168.1.25... > Connected to mail.aaa.tld. > Escape character is '^]'. > 220 mail.aaa.tld ESMTP > . . . . > > > but Postfix seems to still search the real IP via DNS. > > Why? > Any trick/config/workaround to force