From owner-freebsd-questions@FreeBSD.ORG Wed May 19 09:10:38 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 5828C16A4CE for ; Wed, 19 May 2004 09:10:38 -0700 (PDT) Received: from mailgate-internal2.sri.com (mailgate-internal2.SRI.COM [128.18.84.104]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C99543D4C for ; Wed, 19 May 2004 09:10:38 -0700 (PDT) (envelope-from hogsett@csl.sri.com) Received: (qmail 1751 invoked from network); 19 May 2004 16:10:02 -0000 Received: from localhost (HELO mailgate-internal2.SRI.COM) (127.0.0.1) by mailgate-internal2.sri.com with SMTP; 19 May 2004 16:10:02 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) M2004051909100227932 ; Wed, 19 May 2004 09:10:02 -0700 Received: from beast.csl.sri.com (beast.csl.sri.com [130.107.2.57]) by quarter.csl.sri.com (8.12.9/8.12.10) with ESMTP id i4JGA2G4010290; Wed, 19 May 2004 09:10:02 -0700 Received: from beast.csl.sri.com (localhost.localdomain [127.0.0.1]) by beast.csl.sri.com (8.12.10/8.12.10) with ESMTP id i4JGA2wR028149; Wed, 19 May 2004 09:10:02 -0700 Received: from beast.csl.sri.com (hogsett@localhost)i4JGA2X4028145; Wed, 19 May 2004 09:10:02 -0700 Message-Id: <200405191610.i4JGA2X4028145@beast.csl.sri.com> To: fbsd_user@a1poweruser.com In-Reply-To: Message from "fbsd_user" User-Agent: SEMI/1.14.4 (Hosorogi) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Date: Wed, 19 May 2004 09:10:02 -0700 From: Mike Hogsett cc: "freebsd-questions@FreeBSD. ORG" Subject: Re: how-to tell sendmail to mail thru my ISP 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, 19 May 2004 16:10:38 -0000 > I have dynamic IP address and ISP blocks inbound port 25 so any > recipients email server that checks back before accepting says I an > invalid sender. Going through my ISP email server should fix this. > > How do I tell sendmail to send, relay my outgoing email through > my ISP email server? 1) go to /etc/mail 2) type make 3) edit /etc/mail/.mc 4) locate line containing "SMART_HOST" 5) remove `dnl' from the start of the line 6) change `your.isp.mail.server' with the name of your ISP's SMTP server. 6a) NOTE NOTE NOTE: make sure your quotes around hostname are right first is ` and second is ' 7) save file and exit 8) in /etc/mail type, make, make install, and make restart That should do it.