From owner-freebsd-isp Sat May 10 09:52:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA11030 for isp-outgoing; Sat, 10 May 1997 09:52:04 -0700 (PDT) Received: from tok.qiv.com ([204.214.141.211]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA11025 for ; Sat, 10 May 1997 09:52:02 -0700 (PDT) Received: (from uucp@localhost) by tok.qiv.com (8.8.5/8.8.5) with UUCP id LAA02020; Sat, 10 May 1997 11:48:41 -0500 (CDT) Received: from localhost (jdn@localhost) by acp.qiv.com (8.8.5/8.8.5) with SMTP id LAA00537; Sat, 10 May 1997 11:45:29 -0500 (CDT) X-Authentication-Warning: acp.qiv.com: jdn owned process doing -bs Date: Sat, 10 May 1997 11:45:28 -0500 (CDT) From: "Jay D. Nelson" To: Ruslan Shevchenko cc: freebsd-isp@FreeBSD.ORG, dk+@ua.net Subject: Re: UUCP server tuning [Q] In-Reply-To: <33745FEF.3BD3@cki.ipri.kiev.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm doing the same thing. I haven't worried about DNS. We have hosts that are unknown to DNS so I have my /etc/resolv.conf set up with a lookup order of hosts, bind. If sendmail can resolve the address, it makes no difference if the destination is internal or external. The exception is UUCP. I use a mailertable for my UUCP neighbors, most with the uucp-dom mailer. I think if you rebuild your sendmail.cf with the uucp mailer and put the hosts you want to reach through UUCP in the mailer table, you'll have what you want. If sendmail can resolve to a host in the mailertable, it will use whatever mailer you've specified. In other words, I'm using DNS and UUCP with no problems. Mailertable: acp.qiv.com uucp-dom:acp charon uucp-dom:acp cityhall uucp:cityhall My mc file: divert(0)dnl VERSIONID(`@(#)tok-bsd.mc 8.2 (Berkeley) 3/12/97') OSTYPE(bsd4.4)dnl FEATURE(mailertable)dnl FEATURE(local_procmail)dnl MASQUERADE_AS(qiv.com)dnl MAILER(local)dnl MAILER(smtp)dnl MAILER(uucp)dnl -- Jay On Sat, 10 May 1997, Ruslan Shevchenko wrote: ->Jay D. Nelson wrote: ->> ->> If I understand your situation, you want one machine to MX for the kiev.ua ->> domain, but have everything else forwarded to your upstream UUCP ->> connection. ->> -> ->No. The proble, that i want use: -> -> 1. smtp to outside world (to provider, with or without DNS) -> 2. smtp to my local net (with DNS!!!) -> 3. uucp -> ->and all oo *one* mashine. -> ->but uucp require nodns. -> ->So, I need in : -> 1. table lookup without DNS -> 2. if NOT FOUND --- DNS, latest table lookup. -> ->Is it possible ? ->