From owner-freebsd-questions Mon Jul 17 14:43:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pc759.cs.msu.su (pc759.cs.msu.su [158.250.10.223]) by hub.freebsd.org (Postfix) with ESMTP id 2631637B7EC for ; Mon, 17 Jul 2000 14:43:25 -0700 (PDT) (envelope-from der@pc759.cs.msu.su) Received: from pc759.cs.msu.su (uucp@localhost) by pc759.cs.msu.su (8.9.3/8.9.3) with UUCP id BAA53793; Tue, 18 Jul 2000 01:58:19 +0400 (MSD) (envelope-from der@pc759.cs.msu.su) Received: from pc759.cs.msu.su (megagame.my.home [10.0.1.5]) by gateway.my.home (8.8.8/8.8.8) with ESMTP id VAA02490; Mon, 17 Jul 2000 21:00:23 +0400 (MSD) (envelope-from der@pc759.cs.msu.su) Message-ID: <39733D6C.1349411F@pc759.cs.msu.su> Date: Mon, 17 Jul 2000 21:07:56 +0400 From: Alexander Derevyanko X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: Harry Putnam Cc: FreeBSD.ORG!freebsd-questions@pc759.cs.msu.su Subject: Re: Sendmail /noconnonify nodns References: <87aefif0tg.fsf@satellite.local.lan> Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG  
divert(0)dnl
VERSIONID(`@(#)freebsd.mc       $Revision: 1.1.4.4 $')
OSTYPE(bsd4.4)dnl
FEATURE(nodns)dnl
FEATURE(nocanonify)dnl
MASQUERADE_AS(pc759.cs.msu.su)dnl
FEATURE(masquerade_envelope)dnl
--->  define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
define(`SMART_HOST',uucp-uudom:pc759)dnl
define(`UUCP_MAILER_MAX',2000000)dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(uucp)dnl
SITECONFIG(uucp.gateway,gateway,U)dnl

Harry Putnam wrote:

I hoped that noconnonify and nodns as part of senmail.mc file would
cause sendmail not to do lookups.
Upper was my sendmail.cf. I use uucp, but the problem same. I select by '--->' the most vital string
 

Apparently not... I have fetchmail run through a ssh tunnel from my
laptop to a parent machine (on local network) and collect from a user
spool on that parent. So don't really want DNS lookups etc being done
since the fetching might be done while offline.

Do you use SMTP mode of fetching mail ? You force you parent machine to connect the laptop ?
 

But watching the action in trafshow I see my ISP nameserver is being
contacted for every message.   If I shut down the DSL link to the

Install caching DNS and private DNS domain on you parent machine, and it will be OK.
 
internet fetchmail/sendmail stop in there tracks.

How can I set this up using sendmail where no lookups are done?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message