jsd@esl.ESL.COM (Jeff Dalton) (09/26/90)
Is there a straight forward way of making sendmail know of the following line in /etc/hosts: 1.2.3.4 nodename nodename.DOMAIN.ORG and consequently sending mail addressed to nodename.DOMAIN.ORG directly to nodename and not go thru unnecessary nodes like DOMAIN.ORG? The real problem is that the majority of our traffic is between local nodes (ie. in /etc/hosts and on a reliable network), but we still need to be part of the DOMAIN.ORG for remote mail. The network to DOMAIN.ORG is "less than reliable", so we don't want our local traffic depending on it. $uname -a HP-UX jade 7.0 B 9000/360 jade -- Jeff Dalton, ESL Inc. Real programmers can write jsd@esl.com Fortran in any language.
graham@hparc0.HP.COM (Graham Eddy) (09/27/90)
the easiest way i know of to get aliases from /etc/hosts included in the systems understood by sendmail is to define a new class S which grabs all names from specified file as SMTP-connectable. next approach would be to make class S a program which grabs the data from /etc/hosts itself. lastly, and this is can-of-worms stuff, rewrite the parsing to recognise local hosts. all you need for the latter is a degree in sendmail and years of experience.. -graham "representing noone's opinion but his own"