smart_host on sendmail min config

Daniel Eriksson daniel_k_eriksson at telia.com
Tue Dec 11 05:33:25 PST 2007


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


More information about the freebsd-questions mailing list