From owner-freebsd-questions Thu Oct 19 2: 7: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gray.westgate.gr (gray.westgate.gr [212.205.119.66]) by hub.freebsd.org (Postfix) with ESMTP id 273D737B4C5 for ; Thu, 19 Oct 2000 02:07:04 -0700 (PDT) Received: (from charon@localhost) by gray.westgate.gr (8.11.1/8.11.1) id e9J96sv02351; Thu, 19 Oct 2000 12:06:54 +0300 (EEST) Date: Thu, 19 Oct 2000 12:06:54 +0300 From: Giorgos Keramidas To: Matt Rudderham Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Slightly OT: Sendmail & Virtual Domains Message-ID: <20001019120654.A2236@gray.westgate.gr> References: <20001019043411.A10912@hades.hell.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from matt@researcher.com on Wed, Oct 18, 2000 at 11:34:43PM -0300 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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, 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