From owner-freebsd-questions Wed Oct 18 19:35:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from munich.v-net.org (u57n248.hfx.eastlink.ca [24.222.57.248]) by hub.freebsd.org (Postfix) with ESMTP id 9A3BC37B4D7 for ; Wed, 18 Oct 2000 19:35:30 -0700 (PDT) Received: from unisys (Windozzze [192.168.8.2]) by munich.v-net.org (8.9.3/8.9.3) with SMTP id XAA05986; Wed, 18 Oct 2000 23:34:29 -0300 (ADT) (envelope-from matt@researcher.com) From: "Matt Rudderham" To: "Giorgos Keramidas" Cc: Subject: RE: Slightly OT: Sendmail & Virtual Domains Date: Wed, 18 Oct 2000 23:34:43 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20001019043411.A10912@hades.hell.gr> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> Hello, >> I'm currently trying to setup my virtual domains in sendmail. > >Well, you can find a detailed responce of mine about this very topic, >written about a week ago, in the archives :-) Found it:) I have a few questions, I don't know if you or anyone can answer them. To install a virtual domain called hell.gr to a machine today, I took the following steps: >0. Set up the DNS server to point the primary MX record to the machine, > and the secondary MX record to some other machine. Done. >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. In /usr/src/contrib/sendmail/cf/ I have MANY .mc files, however, they all appear to be linked to an OS, ie ucbvax.ms, generic-bsd4.4.mc, etc... However none that appears to correspond directly to FreeBSD, I know FreeBSD is based on 4.4 BSD by glancing at my Walnut Creek CDs, but is this appropriate to use? >2. Copy my new configuration to /etc/mail/sendmail.cf Shouldn't Be a Problem:) >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? The rest of the steps shouldn't be a problem either (I guess I'll find out when I get to them, but these are really throwing me for a loop:) Thanks. - Matt Rudderham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message