Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jul 1997 14:51:17 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Paul <Apollo@thsos.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: sendmail version 
Message-ID:  <199707131351.OAA13392@awfulhak.org>
In-Reply-To: Your message of "Sat, 12 Jul 1997 19:38:46 CDT." <2.2.32.19970713003846.006d1e90@mail.thsos.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707131351.OAA13392>