From owner-freebsd-questions Wed Dec 22 18:25:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from elvis.mu.org (elvis.mu.org [207.154.226.10]) by hub.freebsd.org (Postfix) with ESMTP id 8C57E14CE1 for ; Wed, 22 Dec 1999 18:25:47 -0800 (PST) (envelope-from paul@elvis.mu.org) Received: (from paul@localhost) by elvis.mu.org (8.9.1/8.9.1) id UAA04061; Wed, 22 Dec 1999 20:25:35 -0600 (CST) (envelope-from paul) Date: Wed, 22 Dec 1999 20:25:35 -0600 From: Paul Saab To: Christian DeKonink Cc: Aleksandar Simic , freebsd-questions@FreeBSD.ORG Subject: Re: Yo .mc Sendmail in the house ? Message-ID: <19991222202535.A3993@elvis.mu.org> References: <19991223015400.A384@frustum.clara.co.uk> <99122222173201.52658@c725342-a.frmt1.sfba.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: <99122222173201.52658@c725342-a.frmt1.sfba.home.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You have to generate the .cf file from the .mc, not use the .mc file. Please read /usr/src/contrib/sendmail/cf/README on how to do this. paul Christian DeKonink (panther@catalan.net) wrote: > fix your spelling first > sorry i had to suggest it because if you cut and paste its wrong > > On Thu, 23 Dec > 1999, Aleksandar Simic wrote: > I am trying to set up Sendmail's .mc file for > Sendmail 8.9.3 on > FreeBSD 3.3 for a machine with a dynamic IP. > > > > After successfully compiling the following file and palacing it in > > /etc/sendmail.cf > > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > VERSIONID(`myname.my.domain Sendmail 8.9.3') > > OSTYPE(bsd4.4)dnl > > FEATURE(nouucp)dnl > > MAILER(local)dnl > > MAILER(smtp)dnl > > Cwlocalhost > > Cwmyname.my.domain > > MASQUEARADE_AS(`clara.co.uk')dnl > > FEATURE(allmasquerade)dnl > > FEATURE(masquerade_envelope)dnl > > FEATURE(nocanonify)dnl > > FEATRUE(nodns)dnl > > define(SMART_HOST, `relay.clara.net') > > Dmmyname.my.domain > > define(`confDOMAIN_NAME',`myname.my.domain')dnl > > define(`confDELIVERY_MODE',`deferred')dnl > > > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > > > Following commands were issued to sendmail via /etc/rc.conf : > > > > sendmail_enable="YES" > > sendmail_flags="-bd -q5m" > > > > I then rebooted. > > > > Only to be greeted on boot up with the following messages: > > > > /etc/sendmail.cf: line 34: MASQUEARADE_AS(clara.co.uk): A= argument > > required > > > > /etc/sendmail.cf: line 40: fileclass: cannot open ATRUE(nodns): No > > such file or directory > > > > In /etc/senmail.cf line 34 looks like this: > > > > MASQUEARADE_AS(clara.co.uk) > > > > and > > > > line 40 looks like this: > > > > FEATRUE(nodns) > > > > This file's aim is to send my local mail to my ISP's machine to be > > relayed. > > > > > > Any helpful hints would be welcome. > > > > > > Thank you, Alex > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message