From owner-freebsd-questions@FreeBSD.ORG Tue Aug 5 12:24:44 2003 Return-Path: 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 29E5137B401 for ; Tue, 5 Aug 2003 12:24:44 -0700 (PDT) Received: from mhub-w2.tc.umn.edu (mhub-w2.tc.umn.edu [160.94.160.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 400FC43FD7 for ; Tue, 5 Aug 2003 12:24:43 -0700 (PDT) (envelope-from kwythers@umn.edu) Received: from [128.101.74.47] (x74-47.forestry.umn.edu [128.101.74.47] (may be forged)) by mhub-w2.tc.umn.edu with ESMTP; Tue, 5 Aug 2003 14:24:42 -0500 (CDT) X-Umn-Remote-Mta: [N] x74-47.forestry.umn.edu #+HF+LO From: "Kirk R. Wythers" To: "Michael K. Smith" In-Reply-To: References: Content-Type: text/plain Message-Id: <1060111750.23050.81.camel@lorax.forestry.umn.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 05 Aug 2003 19:29:10 +0000 Content-Transfer-Encoding: 7bit cc: FreeBSD Questions Subject: Re: sendmail configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 19:24:44 -0000 On Tue, 2003-08-05 at 18:41, Michael K. Smith wrote: > On 8/5/03 11:40 AM, "Kirk R. Wythers" wrote: > > > On Tue, 2003-08-05 at 16:51, Michael K. Smith wrote: > >> On 8/5/03 9:32 AM, "Kirk R. Wythers" wrote: > >> > >>> On Mon, 2003-08-04 at 15:40, Jonathan Chen wrote: > >>>> On Mon, Aug 04, 2003 at 03:00:38PM -0500, Kirk R. Wythers wrote: > >>>>> I am adding a dynamic dns host to my server and need want to add to > >>>>> these options to sendmail > >>>>> > >>>>> > >>>>> MASQUERADE_AS(`neighborsunited.net')dnl > >>>>> FEATURE(masquerade_envelope)dnl > >>>>> > >>>>> Is this done with freebsd.submit.mc or freebsd.mc? > >>>> > >>>> It should be done to your local copy of the freebsd.mc file, ie: > >>>> > >>>> # cd /etc/mail > >>>> # cp freebsd.mc `hostname`.mc > >>>> # vi `hostname`.mc > >>>> # make > >>>> # make install > >>>> # sh /etc/rc.sendmail restart > >>> > >>> I did all that, but sendmail does not seem to be sending out mail. Is > >>> there anything that needs to be done to make sure that 'hostname.mc' > >>> gets activated? Should the 'make' and 'make install' commands take > >>> 'hostname.mc' as an agrument? > >>> > >>> I just seems like I have all these .mc files in /etc/mail, do they all > >>> get made and installed with 'make intall'? > >>>> > >>>> Cheers. > >> > >> Try "make install-cf CF=hostname" > > > > That yield the message: > > > > root@lorax:103 make install -cf CF=nieghborsunited.net > > make: illegal option -- c > > usage: make [-Beiknqrstv] [-D variable] [-d flags] [-E variable] [-f > > makefile] > > [-I directory] [-j max_jobs] [-m directory] [-V variable] > > [variable=value] [target ...] > > root@lorax:104 make install-cf CF=nieghborsunited.net > > install -m 444 lorax.forestry.umn.edu.cf /etc/mail/sendmail.cf > > > > The domain that I want to be configured into sendmail.cf is > > neighborsunited.net. Why does the install message refer to > > lorax.forestry.umn.edu? > > > > No space between install and "-cf" So, it's make install-cf > CF=neighborsunited.net OK... not space between the install and -cf 'make install-cf CF=neighborsunited' gives the message root@lorax:133 make install-cf CF=neighborsunited.net install -m 444 lorax.forestry.umn.edu.cf /etc/mail/sendmail.cf How can I tell (other than new lists created with mailman still do not send messages), if this worked. Me thinks it is still broken... shouldn't there be some reference to: MASQUERADE_AS(`neighborsunited.org')dnl FEATURE(masquerade_envelope)dnl in sendmail.cf? > > Mike -- Kirk R. Wythers Department of Forest Resources Tel: 612.625.2261 University of Minnesota Fax: 612.625.521 1530 Cleveland Ave. N Email: kwythers@umn.edu Saint Paul, MN 55108 USA