Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 12:56:09 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Supote Leelasupphakorn <pjn0211@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help: can't send email from my box.
Message-ID:  <3EFB25A9.4050205@mac.com>
In-Reply-To: <20030626040316.24118.qmail@web40613.mail.yahoo.com>
References:  <20030626040316.24118.qmail@web40613.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EFB25A9.4050205>