From owner-freebsd-questions@FreeBSD.ORG Tue Mar 21 16:57:35 2006 Return-Path: X-Original-To: freebsd-questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F351016A4CD for ; Tue, 21 Mar 2006 16:57:34 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1E6E43D45 for ; Tue, 21 Mar 2006 16:57:25 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (igloo.linux.gr [62.1.205.36]) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k2LGuplQ031695; Tue, 21 Mar 2006 18:56:52 +0200 Received: by flame.pc (Postfix, from userid 1001) id 54CB6A2; Tue, 21 Mar 2006 08:56:32 -0800 (PST) Date: Tue, 21 Mar 2006 08:56:32 -0800 From: Giorgos Keramidas To: fbsd_user Message-ID: <20060321165632.GA1289@flame.pc> References: <20060321041010.GA31160@flame.pc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.394, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 1.00, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: freebsd-questions@FreeBSD.org Subject: Re: sendmail & dns lookups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 16:57:35 -0000 On 2006-03-21 10:50, fbsd_user wrote: >Giorgos Keramidas [mailto:keramida@ceid.upatras.gr] wrote: >>On 2006-03-20 23:02, fbsd_user wrote: >>> How do you tell sendmail not to do dns lookups? >> >> You may be interested at the description of FEATURE(`nodns') in >> the file `/usr/share/sendmail/cf/README'. > > Yes this is what I want, but the instructions to install are > for native sendmail and not the FreeBSD way. What is the > FreeBSD way of activating the nodsn feature? The same as for any other Sendmail feature. You'd have to edit your local `sendmail.mc' or `hostname.mc' file in `/etc/mail', add the new feature line, and run (while still in `/etc/mail'): # make # make install # make restart The only FreeBSD-specific thing about enabling Sendmail features is that in FreeBSD the default `foo.mc' file that is used is the one that matches your hostname. So if your hostname is currently set to `foo.bar', look for `/etc/mail/foo.bar.mc' to add any new Sendmail features.