Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 15:34:58 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Martin McCormick <martin@dc.cis.okstate.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Modifying Sendmail's Configuration the Correct way.
Message-ID:  <4DAF3562.80308@sentex.net>
In-Reply-To: <201104201847.p3KIlapX097441@dc.cis.okstate.edu>
References:  <201104201847.p3KIlapX097441@dc.cis.okstate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/20/2011 2:47 PM, Martin McCormick wrote:
> dnl Dialup users should uncomment and define this appropriately
> dnl define(`SMART_HOST', `your.isp.mail.server')
> define(`SMART_HOST', `mailserver.okstate.edu')
> 

I usually do
make
make install
make stop
make start


after the first make, you should be able to diff the created .cf file
and the actuall sendmail.cf file. It doesnt actually install it, it just
creates a temp copy.


0(cage)# make
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/
/usr/share/sendmail/cf/m4/cf.m4 cage.simianscience.com.mc >
cage.simianscience.com.cf
0(cage)# diff -u sendmail.cf cage.simianscience.com.cf
--- sendmail.cf 2011-04-20 15:32:46.000000000 -0400
+++ cage.simianscience.com.cf   2011-04-20 15:32:52.000000000 -0400
@@ -76,6 +76,7 @@



+
 #####  $Id: proto.m4,v 8.741 2009/12/11 00:04:53 ca Exp $  #####

 # level 10 config file format
@@ -110,7 +111,7 @@
 CP.

 # "Smart" relay host (may be null)
-DS
+DSsmarthost2.sentex.ca


 # operators that cannot be in local usernames (i.e., network indicators)
1(cage)#

Then a full stop and start after the install should get you what you want.

	---Mike




-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, mike@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/



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