From owner-freebsd-questions@FreeBSD.ORG Sat Jan 24 14:15:27 2004 Return-Path: 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 2025616A50A for ; Sat, 24 Jan 2004 14:15:27 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6387243D4C for ; Sat, 24 Jan 2004 14:15:25 -0800 (PST) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.103]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040124221522.CJEC9070.mta10.adelphia.net@barbish> for ; Sat, 24 Jan 2004 17:15:22 -0500 From: "JJB" To: "freebsd-questions@FreeBSD. ORG" Date: Sat, 24 Jan 2004 17:15:19 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: sendmail /etc/mail/Makefile usage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 22:15:27 -0000 Looking for explanation documentation on the customization process of FBSD's sendmail. The /etc/mail/README talks about using the m4 command to customize sendmail. I have all ready been told that process is incorrect for the built in version of sendmail as delivered by the FBSD install. Previous posters to my sendmail questions said to read the /etc/mail/Makefile which I have. It does not explain the overall process either. It just gives some hints. I am only interested in 2 things, have sendmail use 'fbsdjones.com' as the local domain and tell sendmail not to do reverse DNS lookups. I have /etc/rc.conf hostname='gateway.fbsdjones.com' for the gateway/firewall/sendmail PC which is the doorway to my private Lan. The other FBSD PCs on the Lan have hostnames= of tom.fbsdjones.com, bob.fbsdjones.com, dad.fbsdjones.com, and mom.fbsdjones.com. I am not running an DNS server and don't want to for this very small Lan. The gateway /etc/hosts file has this ::1 localhost localhost.my.domain myname.my.domain 127.0.0.1 gateway gateway.fbsdjones.com fbsdjones.com # fbsdjones.com Private IP address network. 10.0.10.2 Landad dad.fbsdjones.com 10.0.10.3 Lanmom mom.fbsdjones.com 10.0.10.4 Lantom tom.fbsdjones.com 10.0.10.5 Lanbob bob.fbsdjones.com When I use the 'mail' command to send mail it creates the senders email as dad@gateway.fbsdjones.com. It should be dad@fbsdjones.com. If I am on the dad.fbsdjones.com Lan PC and use mail command the senders email address is dad@dad.fbsdjones.com. Same thing for the other Lan PCs. Do I have to change all the hostname= statements to hostname=fbsdjones.com to get all the separate PCs aligned to use the same domain name? Or do I have to customize sendmail on all PCs to use fbsdjones.com as domain name and not the hostname=value name? Is there an way to customize the client program called 'mail' so it knows the correct domain name to use for the sender? Is there an better mail client program that is delivered as part of the basic install? I all ready know there are better ones in the port system. Previous posters said in reply to my question about 'telling sendmail not to do reverse DNS lookups', that I need an /etc/mail/service.switch file which I have to create new. So what is the single statement I have to put in this file to tell sendmail to stop doing reverse DNS lookups? Do I have to do anything special to this file to activate it? Thanks in advance.