back to front page


To do


IP addresses

butter 195.82.99.3
cheese 195.82.99.5
albert 195.82.99.7

Completed:


Apache conf on j-colo

Apache config is in /usr/local/apache/conf/httpd.conf
vhosts are added and edited in /usr/local/apache/conf/vhosts.conf

qmail on j-colo

a. point dns at the box

b. edit /var/qmail/control/virtualdomains and rcpthosts

c. restart qmail, kill the processes and start is from /var/qmail/rc

d. place a .qmail file in the home directory of the user, or to control by name place a .qmail-domain file in the home directory. The contents of this file should be the username you want the mail to go to.


Adding / Changing DNS on j-colo.

2 Servers are involved.

Primary = cheese
Secondary = butter

on cheese add a zone file to /var/named/master/

a. cd to /var/named/master/
b. cp tmpl.dom (template) to the domain you are creating e.g. smeg.com
c. edit this file - change the serial, defaults should be fine normally.
d. edit /etc/named.conf
e. restart named, kill -1 `cat /var/run/named.pid`

f. scp or ftp the zone file file to butter but this time it goes in /var/named/slave/
g. edit /etc/named.conf
h. restart named (as above)

use the dig and or nslookup commands to check it worked.


How to use mailman...

To set up a new list:
su - mailman
./bin/newlist
Admin of the list should get a mail

The above assumes q-mail is all setup to work for your domain. j-colo is setup + its the default.

If you want to do virtual domains in mailman, you simply ;

a. do the dns,
b. qmail setup, you need to add to the /var/qmail/control/virtualdomains and rcpthosts files + make sure the domain you are using (lists.blah.com) is pointing at the mailman user,
c. then create the list in mailman (as above)
d. In the webmin admin interface edit "Base URL for Mailman" to reflect the domain you are using. Your list should now work.

NB. you can't have multiple lists with the same name, i.e. [email protected] and [email protected], + the lists will work on any domain that is sent by qmail to the user mailman.

How to use procmail on j-colo (i.e. with q-mail).

vi .qmail-domain-default

make it look like this;

| preline procmail


then

vi .procmailrc

make it look like this;

PATH=/usr/bin:/bin:/usr/local/bin
SHELL=/bin/sh
MAILDIR=$HOME
DEFAULT=$HOME/Mailbox
LOGFILE=$HOME/procmail.log
LOGABSTRACT="all"
VERBOSE="on"

[add your procmail recipes here]


that's all folks!

Other concerns