Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2001 10:35:02 +1030
From:      Greg Lehey <grog@FreeBSD.org>
To:        "H. Wade Minter" <minter@lunenburg.org>
Cc:        Steve Brown <gtabug@prayforwind.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: How do I make "mail" (sendmail?) use remote SMTP server?
Message-ID:  <20011117103502.A13204@monorchid.lemis.com>
In-Reply-To: <20011115230731.U2537-100000@bunning.skiltech.com>
References:  <20011115224014.P6830-100000@prayforwind.com> <20011115230731.U2537-100000@bunning.skiltech.com>

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




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