From owner-freebsd-questions Mon May 21 19:52:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id 7B32437B422 for ; Mon, 21 May 2001 19:52:48 -0700 (PDT) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id MAA69803; Tue, 22 May 2001 12:52:47 +1000 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id MAA09245; Tue, 22 May 2001 12:52:47 +1000 (EST) Message-Id: <200105220252.MAA09245@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Doug Young" Cc: "Keith Spencer" , freebsd-questions@FreeBSD.ORG Subject: Re: sendmail is broken...I am in deep here Help please! In-Reply-To: Message from "Doug Young" of "Tue, 22 May 2001 11:58:17 +1000." <019e01c0e262$c7f5c8e0$0300a8c0@oracle> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 May 2001 12:52:46 +1000 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dougy@brizzie.org said: > I had a poke through sendmail docs & couldn't see much difference > between the versions used with FreeBSD 4.1 / 4.2 / 4.3 . The only > files I've ever needed to edit are as listed below, so maybe any > changes don't affect those > etc/hosts, etc/hosts-allow I assume you mean /etc/hosts.allow? These files are not part of the sendmail-specific configuration, and as such haven't been changed by sendmail. > etc/mail/access etc/mail/sendmail.cw etc/mail/relay-domains The location of all these files is defined in sendmail.cf. If you use an old sendmail.cf, you'll get the old locations as well. Note, for example, that the default name that used to be "sendmail.cw" is now "local-host-names". If you were to rebuild from a ".mc" file without explicitly defining confCW_FILE, then it would no longer read "sendmail.cw", looking instead for "local-host-names". The problems are more where you need to graft something from a new configuration into an old configuration file. The number of internal dependencies in a sendmail.cf is great, and grafting may not maintain those dependencies. However, the problem that Keith is having is due to a change in the file locking that isn't supported by his configuration. It's either graft or rebuild from a ".mc". Since most people don't want to get their hands dirty with hacking into sendmail.cf, I'm assuming he doesn't want to go through and check the dependencies, in which case he should start with a sendmail.cf that matches the current version of sendmail, either by rebuilding from a ".mc", or by starting with a current sendmail.cf and re-implementing his customisations. Personally, I prefer to start from a ".mc" because it also produces warning messages about obsolete features, and so on. It's also easier to compare a 10 or 20 line ".mc" than the ~1500 line sendmail.cf... YMMV, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message