diff options
author | Jose V Beneyto <sepen@crux.nu> | 2010-10-07 10:55:35 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2010-10-07 11:00:12 +0200 |
commit | cbef4ac0035152bc984b1233822bb918580e8ac3 (patch) | |
tree | 934506eefb7115d6c801c7999eaf96e9df34510d /mailman/README | |
parent | 509d26e645e1e581d3c7ad0ecaeae20aa9c960da (diff) | |
download | opt-cbef4ac0035152bc984b1233822bb918580e8ac3.tar.gz opt-cbef4ac0035152bc984b1233822bb918580e8ac3.tar.xz |
mailman: initial import
Diffstat (limited to 'mailman/README')
-rw-r--r-- | mailman/README | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/mailman/README b/mailman/README new file mode 100644 index 000000000..1b41a4ad6 --- /dev/null +++ b/mailman/README @@ -0,0 +1,76 @@ + +README for mailman + + +PRE-INSTALL + + Execute the pre-install script to add a new mailman user/group + + +NOTES + + Configure options: + + $ less /usr/lib/mailman/Mailman/Defaults.py + $ sudo vim /etc/mailman/mm_cfg.py + + Configure aliases for Postfix MTA: + + $ sudo /usr/lib/mailman/bin/genaliases + $ sudo vim /etc/postfix/main.cf + + [...] + alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases, ... + [...] + + $ sudo newaliases + + To create a new list: + + $ sudo /usr/lib/mailman/bin/newlist + + To check perimissions: + + $ sudo /usr/lib/mailman/bin/check_perms -v + + Maybe after create your first list you need to setup some directories/files: + + $ sudo chown mailman:mailman /etc/mailman/aliases* + $ sudo chmod 660 /etc/mailman/aliases.db + + To configure httpd settings (without vhosts) append this to your httpd.conf: + + [...] + ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ + <Directory "/usr/lib/mailman/cgi-bin/"> + AllowOverride None + Options ExecCGI + Order allow,deny + Allow from all + </Directory> + + Alias /pipermail/ /var/lib/mailman/archives/public/ + <Directory "/var/lib/mailman/archives/public"> + Options +FollowSymLinks + Order allow,deny + Allow from all + </Directory> + + # Uncomment the following line, replacing www.example.com with your server's + # name, to redirect queries to /mailman to the listinfo page (recommended). + RedirectMatch ^/mailman[/]*$ http://www.example.com/mailman/listinfo + [...] + + + + + IMPORTANT: If archives/private is not o+x, then the owner of archives/private + must be the web server user whatever that is - i.e. the web server user must be + able to search in archives/private. + + $ ls -ld /var/lib/mailman/archives/p* + drwxrws--x 6 root mailman 4096 Jan 12 17:02 /var/lib/mailman/archives/private + drwxrwsr-x 2 root mailman 4096 Jan 12 17:02 /var/lib/mailman/archives/public + + The owner (root) is not important. the group is Mailman's group and may or may + not be 'mailman' (e.g. on a debian/ubuntu package install, it is 'list') |