From owner-freebsd-questions@FreeBSD.ORG Wed Feb 25 13:56:24 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 2C76E16A4CE for ; Wed, 25 Feb 2004 13:56:24 -0800 (PST) Received: from aci.on.ca (mail.aci.on.ca [205.207.148.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id C681243D2D for ; Wed, 25 Feb 2004 13:56:23 -0800 (PST) (envelope-from mgreene@aci.on.ca) Received: from (client is using the wrong hostname!) pepstep(xtreme-26-177.dyn.aci.on.ca[69.17.185.177] port=63100) (1683 bytes) by aci.on.ca([205.207.148.251] port=25) via TCP with esmtp (sender: ) id for ; (dest:remote)(R=bind_hosts)(T=inet_zone_bind_smtp) Wed, 25 Feb 2004 16:56:20 -0500 (EST) (Smail-3.2.0.116-Pre 2003-Jun-18 #1 built 2004-Feb-11) From: "Marco Greene (Home)" To: "'List, FreeBSD Questions'" Date: Wed, 25 Feb 2004 16:56:15 -0500 Message-ID: <000801c3fbea$32c49950$f6c8a8c0@pepstep> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: Sendmail in a DMZ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 21:56:24 -0000 This is probably a stupid question...but I have a FreeBSD 4.9 server, = which does not have access to a DNS server. However, I need to send mail from = it. I have a relay host setup in the same subnet which I have tested works = with telnet mailhost 25...and then giving it the sendmail commands.... However, when I send mail from the host it does not go leave the local /var/spool/clientmqueue directory and no traffic is attempted between = this host and the mailhost. (Verified with tcpdump). I have put an entry "ns2" in my local host file and setup the define = SMART HOST in /etc/mail/freebsd.mc...then went on to run the following = commands from the /etc/mail directory: -make all -make install -make restart I confirmed the the /etc/mail/sendmail.cf file has the DS macro set to = "ns2" like I expected; however, when I send a mail message the maillog = indicates that the relay=3Droot@localhost. Any thoughts? TIA Marco