back to front page
To do
- Install new Switch - added 19th Jan 2003
- Improve Backups (limit size, start offsite backups) - added 19th Jan 2003
- Write/find procmail web interface - added 19th Jan 2003
IP addresses
butter 195.82.99.3
cheese 195.82.99.5
albert 195.82.99.7
Completed:
- Apache (1.3.22) with mod_perl, mod_so and php4
- Webmin - on port 10000, username=admin
- Qmail - for procmail see below
- IMAP + Pop Servers (2001a) - Install them + make them pick up from /home/$user/Mailbox and not /var/spool/mail
- Mailman - done, see below for more
- SquirrelMail - web mail interface, http://www.j-colo.net/mail/
- Update wget to 1.8.1 (Richard - 6/4/2002)
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
- To rock the party that rocks the body