From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 09:56:13 2003 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 4327D37B401 for ; Thu, 26 Jun 2003 09:56:13 -0700 (PDT) Received: from pop017.verizon.net (pop017pub.verizon.net [206.46.170.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3511943FCB for ; Thu, 26 Jun 2003 09:56:12 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030626165611.TUPW27254.pop017.verizon.net@mac.com>; Thu, 26 Jun 2003 11:56:11 -0500 Message-ID: <3EFB25A9.4050205@mac.com> Date: Thu, 26 Jun 2003 12:56:09 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Supote Leelasupphakorn References: <20030626040316.24118.qmail@web40613.mail.yahoo.com> In-Reply-To: <20030626040316.24118.qmail@web40613.mail.yahoo.com> X-Enigmail-Version: 0.76.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [141.149.47.46] at Thu, 26 Jun 2003 11:56:11 -0500 cc: freebsd-questions@freebsd.org Subject: Re: Help: can't send email from my box. 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: Thu, 26 Jun 2003 16:56:13 -0000 Supote Leelasupphakorn wrote: [ ... ] > My question are > 1. Is it possible for sending emails from the host that hasn't run "sendmail" > on it. Sure, but you will have to use a program like pine or Mozilla, which lets you configure it to use a remote SMTP host. > 2. It seem "mail" try to connect SMTP on localhost.mytestdomain.com. If I want > "mail" connect to SMTP on the remote host (@mydomain.com's mail server), or > say I want to change my "outgoing mail host". How can I do this ? The command-line mail program expects sendmail to be working locally; I don't believe you can tell it not to connect to localhost. To change your default mail host, look for the SMART_HOST directive in /etc/mail/freebsd.mc... -- -Chuck