Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2007 13:23:17 +0100
From:      "Daniel Eriksson" <daniel_k_eriksson@telia.com>
To:        <freebsd-questions@freebsd.org>
Cc:        Aryeh Friedman <aryeh.friedman@gmail.com>
Subject:   RE: smart_host on sendmail min config
Message-ID:  <4F9C9299A10AE74E89EA580D14AA10A61A1865@royal64.emp.zapto.org>
In-Reply-To: <bef9a7920712101140m631c7770nb1b865dd938bf186@mail.gmail.com>
References:  <bef9a7920712101140m631c7770nb1b865dd938bf186@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Aryeh Friedman wrote:

> What else do I need to add to this to make it work (i.e. send all mail
> via mx1.optonline.net):

If your hostname is myhostname.mydomain.tld, then do the following:

* cd /etc/mail
* make all
* edit myhostname.mydomain.tld.mc (it was created by the previous step)
and change the smart host line like you already have done:
define(`SMART_HOST', `mx2.optonline.net')dnl
* make all install restart
* try to send mail again

/Daniel Eriksson



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