Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!ames!haven!adm!smoke!w8sdz From: w8sdz@smoke.BRL.MIL (Keith Petersen) Newsgroups: comp.mail.sendmail Subject: sendmail host table lookup rule needed Summary: Deliver with our mailer if host known, else send elsewhere Message-ID: <11367@smoke.BRL.MIL> Date: 21 Oct 89 05:53:07 GMT Reply-To: w8sdz@wsmr-simtel20.army.mil (Keith Petersen) Organization: The SIMTEL20 Archives Lines: 23 I would like a ruleset for sendmail.cf which does the following: 1 - look up recipient's address in /etc/hosts 2 - if not found then send message to host with smarter mailer 3 - if found then send message from our host or if this logic works better: 1 - look up recipient's address in /etc/hosts 2 - if found then send message from our host 3 - else send message to host with smarter mailer I assume this would be done in ruleset zero. This is for a host on the Internet that uses smtp only (no uucp). The operating system is BSD4.3. Keith Petersen -- Maintainer of SIMTEL20's CP/M, MSDOS, & MISC archives [IP address 26.2.0.74] w8sdz@WSMR-SIMTEL20.Army.Mil, w8sdz@smoke.brl.mil, w8sdz@sadis01.af.mil w8sdz@tacom-emh1.army.mil, w8sdz@eddie.mit.edu, w8sdz@unix.secs.oakland.edu Uucp: {ames,decwrl,harvard,rutgers,ucbvax,uunet}!wsmr-simtel20.army.mil!w8sdz