From owner-freebsd-questions@FreeBSD.ORG Fri Jun 9 20:02:01 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F06E16A418 for ; Fri, 9 Jun 2006 20:02:01 +0000 (UTC) (envelope-from wmc20@xxiii.com) Received: from cartman.xxiii.com (cartman.xxiii.com [208.62.177.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F99943D72 for ; Fri, 9 Jun 2006 20:02:00 +0000 (GMT) (envelope-from wmc20@xxiii.com) Received: from [192.168.0.218] (lan23.xxiii.com [208.62.177.50]) by cartman.xxiii.com (8.13.4/8.13.4) with ESMTP id k59K1xEe058612; Fri, 9 Jun 2006 16:02:00 -0400 (EDT) (envelope-from wmc20@xxiii.com) Message-ID: <4489D3BB.6090403@xxiii.com> Date: Fri, 09 Jun 2006 16:02:03 -0400 From: Wayne User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Freminlins References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Sendmail = mind boggling 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: Fri, 09 Jun 2006 20:02:01 -0000 Freminlins wrote: > I want to keep running Exim on port 25. I want Sendmail to run on a > different port. So I am trying to use the "O DaemonPortOptions=Port=2525" > option. However, I have 6 cf files in /etc/mail - freebsd.cf, For quite some time now, it has been strongly suggested that you DO NOT try to manually edit the .cf file. You edit the something.mc file, and use the m4 macro processor to generate a .cf file. FreeBSD comes with a Makefile in /etc/mail to simplify (or compplicate?) things. Read the top of it for info. Basically, it looks for "hostname.mc" in /etc/mail, and failing that uses freebsd.mc. It spits out .cf files with the same prefix as the .mc file it used. "make install" will write that file to /etc/mail/sendmail.cf which is the one the daemon really reads. -Wayne