Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2007 11:49:51 -0800
From:      Chuck Swiger <cswiger@mac.com>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: smart_host on sendmail min config
Message-ID:  <24B63B5B-74E3-4F5C-B0C4-D44EBF797966@mac.com>
In-Reply-To: <bef9a7920712101140m631c7770nb1b865dd938bf186@mail.gmail.com>
References:  <bef9a7920712101140m631c7770nb1b865dd938bf186@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 10, 2007, at 11:40 AM, 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):
>
> OSTYPE(`freebsd6')dnl
> define(`SMART_HOST', `mx2.optonline.net')dnl

Look at /etc/mail/freebsd.mc and edit the SMART_HOST line as above.   
(Note that you can copy freebsd.mc to hostname.mc and use the latter  
filename in order to avoid modifying the generic template file.)

> btw shouldn't there be a frebsd7 or freebsd8 OSTYPE? (I run -current)

There eventually will be, but there isn't likely to be a difference  
between the freebsd6.m4 file and a freebsd7.m4...nothing has changed  
which would affect sendmail.

-- 
-Chuck
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24B63B5B-74E3-4F5C-B0C4-D44EBF797966>