From owner-freebsd-questions@FreeBSD.ORG Wed Apr 20 19:35:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6614106566C for ; Wed, 20 Apr 2011 19:35:10 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 63AC18FC1A for ; Wed, 20 Apr 2011 19:35:10 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p3KJZ6M2075240 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 20 Apr 2011 15:35:06 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4DAF3562.80308@sentex.net> Date: Wed, 20 Apr 2011 15:34:58 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Martin McCormick References: <201104201847.p3KIlapX097441@dc.cis.okstate.edu> In-Reply-To: <201104201847.p3KIlapX097441@dc.cis.okstate.edu> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: Modifying Sendmail's Configuration the Correct way. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2011 19:35:10 -0000 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/