much appreciated i will look into your suggestions and advise back




Happy Sunday !!!
Thanks - paul

Paul Kudla


Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3

Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email [email protected]

On 11/5/2022 8:30 AM, Wietse Venema wrote:

Paul Kudla:
www-1       11-05 06:24:55 {postfix.in/smtpd[56748] (1239357351)
warning: hostname syslog-local.scom.ca does not resolve to address
10.220.0.6
www-1       11-05 06:24:55 {postfix.in/smtpd[56748] (1239357352) connect
from unknown[10.220.0.6]

The Postfix SMTP server does not use DNS to look up the client name
and address. Instead it uses the system library functions getnameinfo()
and getaddrinfo(). These may use /etc/hosts, DNS, or both.

Possible sources of discrepancy:

- Your /etc/hosts and DNS disagree.

- Postfix is chrooted, and the chroot jail has incorrect info
   in /var/spool/postfix/etc/{nsswitch,resolv,host}.conf . Do

     # postconf -F smtp/inet/chroot=n
     # postfix reload

and see if that fixes the problem.

To investigate further, in the Postfix source tree there are test
programs in directory auxiliary/name-addr-test.

On the www-1 server, in directory auxiliary/name-addr-test, do:

     $ make getaddrinfo getnameinfo
     $ ./getnameinfo 10.220.0.6
     $ ./getaddrinfo <the result from getnameinfo>

The result from getaddrinfo should contain 10.220.0.6 (it should
list all IP address for that host).

If you really can't make it work, use different names for each
interface address (foo and foo-internal, for example).

        Wietse

Reply via email to