grants@syacus.acus.oz (Grant Sayer) (11/20/90)
With testing a connection between two machines (host1 and host2) using 'sendmail -v user@host1 < /dev/null' the SMTP connection works one way and not the other. For example, 1. sendmail -v user@host2 < dev/null (from host1) - results in mail transferred and normal 250 greeting messages 2. sendmail -v user@host1 < /dev/null (from host2) - results in error message user@host1: Deferred Host name lookup failure. The sendmails are running on SysV with BSD support for TCP/IP and similar sendmail.cf files. Each sendmail was invoked as 'sendmail -bd -q20m'. From examining some sendmail source (sendmail5.64) it appears that the errors are from daemon.c, printed using err.c after failure to resolve the host name (i.e error state is TRY_AGAIN+MAX_RETRIES) Any suggestions as to why the problem is only one-way ? Thanks In Advance Grant Sayer ACSnet : grants@syacus.acus.oz Ph : +61 2 887-6810 Internet : grants@syacus.acus.OZ.AU Fax: +61 2 888-2424 UUCP : uunet!munnari!syacus.acus.oz.au!grants
phil@inetg1.Arco.Com (Phil Meyer) (11/27/90)
In article <1195@syacus.acus.oz>, grants@syacus.acus.oz (Grant Sayer) writes: > With testing a connection between two machines (host1 and host2) > using 'sendmail -v user@host1 < /dev/null' the SMTP connection works > one way and not the other. For example, > 1. sendmail -v user@host2 < dev/null (from host1) > - results in mail transferred and normal 250 greeting messages > > 2. sendmail -v user@host1 < /dev/null (from host2) > - results in error message > user@host1: Deferred Host name lookup failure. > > > Any suggestions as to why the problem is only one-way ? > We have seen similar problems when running Yellow Pages, or otherwise when the /etc/hosts files do not match. Some systems (SGI 3.3.1) sendmail does NOT use Yellow Pages correctly. In our case, and possibly in yours, the CRrelay entry (where relay=relay host) was the sticker. The machine who is designated as the relay host, MUST appear in the local /etc/hosts file. Hope this helps. -- +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Phil Meyer phil@arco.com Work:(214) 754-6805 Home:(214) 625-4130 | +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+