Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 1999 15:41:28 -0400
From:      "WholesaleHosting.com" <admin@wholesalehosting.com>
To:        freebsd-isp@freebsd.org
Subject:   Good Grief
Message-ID:  <37236FE81C2.6E0AADMIN@domains.md>
In-Reply-To: <199904212253.SAA29062@mail.com>
References:  <199904212253.SAA29062@mail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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... 

<VirtualHost 209.140.103.69>
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
</VirtualHost>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37236FE81C2.6E0AADMIN>