smart_host on sendmail min config
Chuck Swiger
cswiger at mac.com
Mon Dec 10 11:49:52 PST 2007
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
More information about the freebsd-questions
mailing list