From owner-freebsd-questions Fri Nov 16 16: 5: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from monorchid.lemis.com (monorchid.lemis.com [192.109.197.75]) by hub.freebsd.org (Postfix) with ESMTP id E4EF037B405 for ; Fri, 16 Nov 2001 16:05:04 -0800 (PST) Received: by monorchid.lemis.com (Postfix, from userid 1004) id DC6F1786E6; Sat, 17 Nov 2001 10:35:02 +1030 (CST) Date: Sat, 17 Nov 2001 10:35:02 +1030 From: Greg Lehey To: "H. Wade Minter" Cc: Steve Brown , freebsd-questions@FreeBSD.ORG Subject: Re: How do I make "mail" (sendmail?) use remote SMTP server? Message-ID: <20011117103502.A13204@monorchid.lemis.com> References: <20011115224014.P6830-100000@prayforwind.com> <20011115230731.U2537-100000@bunning.skiltech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011115230731.U2537-100000@bunning.skiltech.com> User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday, 15 November 2001 at 23:08:21 -0500, H. Wade Minter wrote: > On Thu, 15 Nov 2001, Steve Brown wrote: > >> Hello there, >> >> My ISP is now blocking access to any SMTP servers other than theirs, and >> blocking mail sent from "localhost". So I can no longer use mail or mutt >> to send a message to anyone except my own users. >> >> Can I configure something ([mail & mutt] or sendmail) to use their SMTP >> server? I'd like to be able to do something like this: >> >> cat | mail someone@somewhere.com >> >> and have it go out. > > I'd recommend editing /etc/mail/sendmail.cf and changing the line that > reads: > > # "Smart" relay host (may be null) > DS > > to read > > # "Smart" relay host (may be null) > DSyoursmtphost.isp.com Note the reference to "localhost". If the system has an incorrectly configured hostname, the ISP's server might accept it, but FreeBSD.org won't. The name must be valid, and it must resolve. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message