From owner-freebsd-isp Sun Apr 25 13:14: 2 1999 Delivered-To: freebsd-isp@freebsd.org Received: from andromeda. (www.chrysalis.md [209.26.120.204]) by hub.freebsd.org (Postfix) with SMTP id 7808814C94 for ; Sun, 25 Apr 1999 13:13:59 -0700 (PDT) (envelope-from admin@wholesalehosting.com) Received: from z0p3t2 by andromeda. (SMI-8.6/SMI-SVR4) id QAA12052; Sun, 25 Apr 1999 16:16:50 -0400 Date: Sun, 25 Apr 1999 15:41:28 -0400 From: "WholesaleHosting.com" To: freebsd-isp@freebsd.org Subject: Good Grief In-Reply-To: <199904212253.SAA29062@mail.com> References: <199904212253.SAA29062@mail.com> Message-Id: <37236FE81C2.6E0AADMIN@domains.md> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver 1.24 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org B.) To add a user and his domain... with pop email service.. Not using scripts.. I do this. (not including adduser - because.. i pretty much can handle that) 1.) Because i'm using Bind 8 .. I need to edit /etc/named.conf and add an entry like this... zone "wholesalehosting.net" { type master; file "db.wholesalehosting.net"; }; 2.) then create the accomptning /etc/namedb/db.wholesalehosting.net file which resembles this. (apache 1.3.4) @ IN SOA ns1.wholesalehosting.net. hostmaster.wholesalehosting.net. ( 1999042301 ; Serial XX yyyymmddxx XX 10800 ; Refresh after 3 hours 1800 ; Retry after 30 minutes 1209600 ; expire (14 days) 1800 ) ; minimum (30 mins) ; ; Name servers ; IN NS ns1.wholesalehosting.net. IN NS ns2.wholesalehosting.net. ; ; wholesalehosting.com. IN A 209.140.103.69 www IN CNAME wholesalehosting.com. ftp IN CNAME wholesalehosting.com. mail IN CNAME wholesalehosting.com. 3.) That should take care of the BIND info: NEXT: /var/www/conf/httpd.conf adding the domains entry to the end of the list as-so... ServerName www.wholesalehosting.com ServerAdmin webmaster@wholesalehosting.net ServerAlias wholesalehosting.com DocumentRoot /usr/home/wholecom/www Alias /reports /var/www/reports/wholecom ScriptAlias /cgi-bin /usr/home/wholecom/www/cgi-bin 4.) That should take care of DNS and WWW... now to take care of the mail services. Using sendmail 8.9.3/8.9.3 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 delivering the mail to the local user.. in this case 'admin') adding something like this... @wholesalehosting.com admin Restart the name server, then restart the httpd and fially the sendmail and all should work.. no? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message