From owner-freebsd-questions@FreeBSD.ORG Thu Nov 10 10:38:35 2005 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 809E516A41F for ; Thu, 10 Nov 2005 10:38:35 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.web-strider.com [65.75.192.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AF4543D49 for ; Thu, 10 Nov 2005 10:38:34 +0000 (GMT) (envelope-from tedm@toybox.placo.com) Received: from tedwin2k (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id jAAAfQb94928; Thu, 10 Nov 2005 02:41:27 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Brooke Landers" , Date: Thu, 10 Nov 2005 02:38:31 -0800 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.1506 In-Reply-To: Importance: Normal Cc: Subject: RE: Configuring default 6.0 install to send mail 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: Thu, 10 Nov 2005 10:38:35 -0000 >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Brooke Landers >Sent: Wednesday, November 09, 2005 6:38 PM >To: freebsd-questions@freebsd.org >Subject: Configuring default 6.0 install to send mail > > >Hello list. I am learning FreeBSD and I'd like to know how to configure >Sendmail to simply forward mail although it seems it's doing this by >default. I can send mail, but it's being rejected since >mylocalhost.mydomain.com doesn't resolve. I'm using internal >hosts that will >never have DNS entries. > >I'm looking for somewhere where I can specify that >user@mylocalhost can send >mail as user@mydomain.com. I'm pretty sure that my mail would >be accepted if >I can do this. > >I don't want to set up a mail server, I'd just like to know how >I can get my >logs and admin mail forwarded to an external address. Set macro DS in /etc/mail/sendmail.cf to the real mailserver, reboot. DSfoo.example.com Ted