From owner-freebsd-questions@FreeBSD.ORG Sun Dec 27 02:14:58 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 7656C1065670 for ; Sun, 27 Dec 2009 02:14:58 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 48D708FC16 for ; Sun, 27 Dec 2009 02:14:58 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.2) with ESMTP id nBR2EvgF095695 for ; Sat, 26 Dec 2009 18:14:57 -0800 (PST) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id nBR2Ev8J046873 for ; Sat, 26 Dec 2009 18:14:57 -0800 (PST) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id nBR2Evxw046872 for freebsd-questions@freebsd.org; Sat, 26 Dec 2009 18:14:57 -0800 (PST) (envelope-from freebsd@optimis.net) Date: Sat, 26 Dec 2009 18:14:57 -0800 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20091227021457.GA46531@marvin.optimis.net> References: <305263.35898.qm@web56204.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <305263.35898.qm@web56204.mail.re3.yahoo.com> User-Agent: Mutt/1.5.19 (2009-01-05) 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: Sun, 27 Dec 2009 02:14:58 -0000 On Sat, Dec 26, 2009 at 11:20:27AM -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. Fix your word wrap. Have you checked the Handbook? If not, start with Section 28.10 SMTP Authentication. Read that and follow the link to http://www.sendmail.org/~ca/email/auth.html where you'll find the rest of what you need to know. You're using sendmail as a client, so be sure to focus on the section entitled "Using sendmail as a client with AUTH". Fairly straightforward stuff, but there may be a lot to take in at first glance. Post back if you have any questions or need to be walked through any part of the process. -- George