Date: Thu, 19 Oct 2000 12:06:54 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Matt Rudderham <matt@researcher.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Slightly OT: Sendmail & Virtual Domains Message-ID: <20001019120654.A2236@gray.westgate.gr> In-Reply-To: <NDBBLEKOOLGIBFPGLFEKEEIGCFAA.matt@researcher.com>; from matt@researcher.com on Wed, Oct 18, 2000 at 11:34:43PM -0300 References: <20001019043411.A10912@hades.hell.gr> <NDBBLEKOOLGIBFPGLFEKEEIGCFAA.matt@researcher.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 18, 2000 at 11:34:43PM -0300, Matt Rudderham wrote: > > >1. Add FEATURE(`virtusertable', `-o /etc/mail/virtusertable') to my > > master-config file, and regenerate my sendmail.cf file. > > > > % cd ~/sendmail > > % vi gray.mc > > [ add FEATURE(`virtusertable', `-o /etc/mail/virtusertable') ] > > % make gray.cf > > [ ./Makefile takes care of generating gray.cf from gray.mc ] > > Hmm, this is where the problem starts, I have an installation of sendmail > which was included when I did my initial install of FreeBSD 4.0-RELEASE. In > /etc/mail I have my sendmail.cf, however I have no mc file that I can find. You can either use /usr/src/etc/sendmail/freebsd.mc as a starting example, or browse to my homepage at http://students.ceid.upatras.gr/~keramida/sendmail/ and see a couple of sample .mc files. [...] > > >3. Add "hell.gr" to the /etc/mail/sendmail.cw file. > > I don't have a .cw file? Is there a specific format or algorithm to create > one I should follow? This is the file that contains the hostnames for which mail will be delivered locally. For instance my sendmail.cw after the virtual domain that I added as described in that post, contains: % cat /etc/mail/sendmail.cw localhost gray gray.somewhere.gr hell.gr mail.hell.gr www.hell.gr You should put all the host names and all the aliases that you will receive mail for in this file. Ciao. -- Giorgos Keramidas, <keramida@ceid.upatras.gr> For my public pgp2 key: finger -l keramida@diogenis.ceid.upatras.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001019120654.A2236>