System
I started to install mailman on a fresh Debian testing (lenny) system with
- Apache2
- Php5
- MySQL Server
- PhpMyAdmin
- Webmin
- add deb http://download.webmin.com/download/repository sarge contrib to /etc/apt/source.list
- apt-get update
- apt-get install webmin
DNS
I'm running on a local network and need to bind my DNS. I will do the configuration for pys60.info:
- put pys60.info in /etc/hostname
- install bind
: apt-get install bind
- Edit /etc/bind/named.conf and add:
zone "pys60.info" {
type master;
file "/etc/bind/pys60.info";
};
zone "177.13.10.in-addr.arp" {
type master;
file "/etc/bind/177.13.10.reverse";
};
- create /etc/bind/pys60.info and add:
; ——————————————————-
$TTL 604800
@ IN SOA pys60.info. root.pys60.info. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS pys60.info.
@ A 10.13.177.60
www A 10.13.177.60
scm A 10.13.177.60
lists A 10.13.177.60
- Create/Edit __/etc/bind/177.13.10-reverse:
; ———————————————————
$TTL 604800
@ IN SOA pys60.info. root.pys60.info. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS pys60.info.
60 IN PTR pys60.info.
60 IN PTR scm.pys60.info.
60 IN PTR lists.pys60.info.
named-checkconf /etc/bind/named.conf
named-checkzone pys60.info /etc/bind/pys60.info
named-checkzone 177.13.10.in-addr.arp /etc/bind/177.13.10.reverse
GForge
The Debian packages for GForge are generously broken. For this reason you will need to install the unstable packages. Change /etc/apt/source.list from:
deb http://ftp.fi.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fi.debian.org/debian/ lenny main contrib non-free
deb http://download.webmin.com/download/repository sarge contrib
to:
deb http://ftp.fi.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.fi.debian.org/debian/ unstable main contrib non-free
deb http://download.webmin.com/download/repository sarge contrib
ProFTPd
apt-get install proftpd
At the time i'm writting, the package is broken and the installation will fail if you choose the standalone mode. You have to choose inet mode
Mailman:
Installing mailman will also install exim4, exim4-config, exim4-base, exim4-daemon-light
apt-get install mailman
You need to create a new list:
newlist
I gave:
- name: mailman
- email: webmaster@pys60.info
- password: xxxx ;)
If you tried to install mailman and that the hostname was different, adding the new list will generate error. To correct this you just have to edit
nano /etc/mailman/mm_cfg.py
and change
DEFAULT_EMAIL_HOST = "pys60.info"
DEFAULT_URL_HOST = "pys60.info"
GForge
apt-get install gforge gforge-lists-mailman