From owner-freebsd-isp Sun Apr 25 16:19:47 1999 Delivered-To: freebsd-isp@freebsd.org Received: from host07.rwsystems.net (kasie.rwsystems.net [209.197.192.103]) by hub.freebsd.org (Postfix) with ESMTP id C3C6314C59 for ; Sun, 25 Apr 1999 16:19:41 -0700 (PDT) (envelope-from jwyatt@RWSystems.net) Received: from kasie.rwsystems.net([209.197.192.103]) (2366 bytes) by host07.rwsystems.net via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Sun, 25 Apr 1999 18:08:02 -0500 (CDT) (Smail-3.2.0.104 1998-Nov-20 #1 built 1998-Dec-24) Date: Sun, 25 Apr 1999 18:08:01 -0500 (CDT) From: James Wyatt To: "WholesaleHosting.com" Cc: freebsd-isp@freebsd.org Subject: Re: Good Grief In-Reply-To: <37236FE81C2.6E0AADMIN@domains.md> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org You about have it though. As you see, it is highly inline so it begs to be wrapped by a program. You could put most of what was shown here in a perl script without too much effort. If you do, I would put customer-specific data in a source file and build the named.conf, access.conf, master passwd, sendmail.cw, virtusertable, aliases, etc files from it. On Sun, 25 Apr 1999, WholesaleHosting.com wrote: > B.) To add a user and his domain... with pop email service.. Not using [ ... ] > 1.) Because i'm using Bind 8 .. I need to edit /etc/named.conf and add [ ... ] > 2.) then create the accomptning /etc/namedb/db.wholesalehosting.net file [ ... ] NOTE: I would definately add MX and MX-to-backup record here! > 3.) That should take care of the BIND info: > NEXT: /var/www/conf/httpd.conf adding the domains entry to the end of [ ... ] > 4.) That should take care of DNS and WWW... now to take care of the mail [ ... ] > a) edit /etc/sendmail.cw to include the domain for which i wish to be > recieving the mail.. in this case wholesalehosting.com > b) edit /etc/virtusertable (to include the format for [ ... ] > Restart the name server, then restart the httpd and fially the sendmail By restart, you mean 'kill -hup', right? You don't *really* have to stop and start most daemons. I would also add config for whatever web-stat program you like and/or MRTG entries for web/mail/etc using local scripts run from cron. This is another (few) reason(s) why FLAMS was created. It does other things as well... It was started as a dialup ISP package, but we do vdomains with it as well. Runs on FreeBSD and MySQL. It tracks payments and quarrentines(sp?) customers' web sites/mail until they pay, etc... http://www.flams.com Hope this helps in some way. - Jy@ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message