blob: 510df37463d1c6e0ab3e787a6b53e1474cb3b39d (
plain)
1
2 README for mailman
3
4
5 PRE-INSTALL
6
7 Execute the pre-install script to add a new mailman user/group
8
9
10 POST-INSTALL
11
12 Mailman required the creation of a list on the server called 'mailman'.
13 You should create it manually to avoid this message:
14 'Site list is missing: mailman'
15 Follow NOTES section in this README file for more information.
16
17
18 NOTES
19
20 Configure options:
21
22 $ less /usr/lib/mailman/Mailman/Defaults.py
23 $ sudo vim /etc/mailman/mm_cfg.py
24
25 Configure aliases for Postfix MTA:
26
27 $ sudo /usr/lib/mailman/bin/genaliases
28 $ sudo vim /etc/postfix/main.cf
29
30 [...]
31 alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases, ...
32 [...]
33
34 $ sudo newaliases
35
36 To create a new list:
37
38 $ sudo /usr/lib/mailman/bin/newlist <list_name>
39
40 To check perimissions:
41
42 $ sudo /usr/lib/mailman/bin/check_perms -v
43
44 Maybe after create your first list you need to setup some directories/files:
45
46 $ sudo chown mailman:mailman /etc/mailman/aliases*
47 $ sudo chmod 660 /etc/mailman/aliases.db
48
49 To configure httpd settings (without vhosts) append this to your httpd.conf:
50
51 [...]
52 ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
53 <Directory "/usr/lib/mailman/cgi-bin/">
54 AllowOverride None
55 Options ExecCGI
56 Order allow,deny
57 Allow from all
58 </Directory>
59
60 Alias /pipermail/ /var/lib/mailman/archives/public/
61 <Directory "/var/lib/mailman/archives/public">
62 Options +FollowSymLinks
63 Order allow,deny
64 Allow from all
65 </Directory>
66
67 # Uncomment the following line, replacing www.example.com with your server's
68 # name, to redirect queries to /mailman to the listinfo page (recommended).
69 RedirectMatch ^/mailman[/]*$ http://www.example.com/mailman/listinfo
70 [...]
71
72
73 IMPORTANT: If archives/private is not o+x, then the owner of archives/private
74 must be the web server user whatever that is - i.e. the web server user must be
75 able to search in archives/private.
76
77 $ ls -ld /var/lib/mailman/archives/p*
78 drwxrws--x 6 root mailman 4096 Jan 12 17:02 /var/lib/mailman/archives/private
79 drwxrwsr-x 2 root mailman 4096 Jan 12 17:02 /var/lib/mailman/archives/public
80
81 The owner (root) is not important. the group is Mailman's group and may or may
82 not be 'mailman' (e.g. on a debian/ubuntu package install, it is 'list')
83
84 For more information:
85 http://www.gnu.org/software/mailman/mailman-install/node9.html
|