From owner-freebsd-questions Sun Jul 13 15:34:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA10788 for questions-outgoing; Sun, 13 Jul 1997 15:34:15 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA10750 for ; Sun, 13 Jul 1997 15:34:05 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id OAA00294; Sun, 13 Jul 1997 14:51:17 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id OAA13392; Sun, 13 Jul 1997 14:51:17 +0100 (BST) Message-Id: <199707131351.OAA13392@awfulhak.org> X-Mailer: exmh version 2.0delta 6/3/97 To: Paul cc: questions@FreeBSD.ORG Subject: Re: sendmail version In-reply-to: Your message of "Sat, 12 Jul 1997 19:38:46 CDT." <2.2.32.19970713003846.006d1e90@mail.thsos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 13 Jul 1997 14:51:17 +0100 From: Brian Somers Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hello, > > ok, > I compiled ver 8 sendmail using makesendmail > I created a new file called myfile.mc in cf/cf directory > using this configuration... > > VERSIONID(`myfile.mc 1.0') > OSTYPE(bsd4.4)dnl > DOMAIN(generic)dnl > MAILER(local)dnl > MAILER(smtp)dnl > Cwmail.mydomain.com > Cwmydomain.com > MASQUERADE_AS(`mydomain.com')dnl > FEATURE(allmasquerade)dnl > FEATURE(nocanonify)dnl > FEATURE(nodns)dnl > FEATURE(virtusertable)dnl > define(`confDOMAIN_NAME',`mydomain.com')dnl > > Then ran: > > # m4 -D_CF_DIR_=/usr/src/usr.sbin/sendmail/cf/ \ > > /usr/src/usr.sbin/sendmail/cf/m4/cf.m4 myfile.mc >sendmail.cf > > I want pretty much the standard > package?? with my email domain virtualized and have use > of virtusertable.... I have previously been doing this with > aliases file and the sendmail.cw file.... > How can I tell which version of sendmail I am using? It's mentioned in the log file when sendmail starts up. > Am I supposed to put the sendmail.cf file in my /etc directory? Yep, or use the -C option. > also do I need to create a virtusertable file in the /etc directory? I believe so, but I haven't used these. You may also want FEATURE(masquerade_envelope). -- Brian , Don't _EVER_ lose your sense of humour....