From owner-freebsd-questions@FreeBSD.ORG Sat Dec 26 23:51:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80880106568B for ; Sat, 26 Dec 2009 23:51:15 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-junco.atl.sa.earthlink.net (elasmtp-junco.atl.sa.earthlink.net [209.86.89.63]) by mx1.freebsd.org (Postfix) with ESMTP id 517808FC14 for ; Sat, 26 Dec 2009 23:51:15 +0000 (UTC) Received: from [66.166.135.148] (helo=mail.joeandlane.com) by elasmtp-junco.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1NOgOz-000327-Mt; Sat, 26 Dec 2009 18:50:29 -0500 Received: from [192.168.1.2] (lholcombe-desktop.localnet.local [192.168.1.2]) by mail.joeandlane.com (8.14.3/8.14.3) with ESMTP id nBQNoE92001214; Sat, 26 Dec 2009 17:50:14 -0600 (CST) (envelope-from lane@joeandlane.com) From: Lane Holcombe To: Aflatoon Aflatooni In-Reply-To: <305263.35898.qm@web56204.mail.re3.yahoo.com> References: <305263.35898.qm@web56204.mail.re3.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Sat, 26 Dec 2009 17:50:39 -0600 Message-ID: <1261871439.24773.12.camel@lholcombe-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-DooleyDiligent-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: nBQNoE92001214 X-DooleyDiligent-MailScanner: Found to be clean X-DooleyDiligent-MailScanner-From: lane@joeandlane.com X-Spam-Status: No X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec7982f25f8df2f0844e120100bf55da01cd350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.166.135.148 Cc: freebsd-questions@freebsd.org Subject: Re: Sendmail client configuration to connect to ISP's SMTP server 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: Sat, 26 Dec 2009 23:51:15 -0000 On Sat, 2009-12-26 at 11:20 -0800, Aflatoon Aflatooni wrote: > What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server? > The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails. > > The client also needs to be authenticated as well. > > Please help > > Thanks > Afi > Hey, afi Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README The change doesn't go in freebsd.submit.mc, but in freebsd.mc. Or .mc, if you've already tweaked it before SMART_HOST is the upstream smtp server where all outgoing email is sent. lane