Changes

From Amahi Wiki
Jump to: navigation, search
2,636 bytes added ,  17:08, 7 December 2010
Created page with "Category:Apps ==NOTE: This should only be attempted by advanced users.== <b>DISCLAIMER:</b> Although this has been tested, use at your own risk. I cannot guarantee that it..."
[[Category:Apps]]

==NOTE: This should only be attempted by advanced users.==

<b>DISCLAIMER:</b> Although this has been tested, use at your own risk. I cannot guarantee that it will work for your system or not cause any serious problems.

<b>Further DISCLAIMER:</b> This tutorial is based on already having installed the Amahi Mail Server [http://wiki.amahi.org/index.php/Amahi_Mail_System] which uses Postfix and mySQL. Further it is for Fedora 12. It has NOT been tested on Fedora 14.

==== Purpose ====
Mailman is free software for managing electronic mail discussion and e-newsletter lists. Mailman is integrated with the web, making it easy for users to manage their accounts and for list owners to administer their lists. Mailman supports built-in archiving, automatic bounce processing, content filtering, digest delivery, spam filters, and more. See [http://www.list.org/] for details.

==== How to Install ====
Here's the sequence of events to get mailman up and running:

* Enable Advanced Settings in the Amahi Dashboard (Settings-->Settings)
* Create a web app in Amahi named '''mailman'''.
* Open a terminal window, become '''root''', and run
yum install mailman
* Set your mailman site password:
/usr/lib/mailman/bin/mmsitepass _______
* Add/edit the following into /usr/lib/mailman/Mailman/mm_cfg.py
DEFAULT_URL_HOST = 'mailman.foo.com'
DEFAULT_EMAIL_HOST = 'foo.com'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mailman.foo.com']
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
MTA = 'Postfix'
(where foo.com is your domain name)
* Make the following changes in /etc/postfix/main.cf
** Uncomment: recipient_delimiter = +
** Append to virtual_alias_maps , hash:/etc/mailman/virtual-mailman
** Append to alias_maps , hash:/etc/mailman/aliases
* Edit /etc/httpd/conf.d/10nn-mailman.conf using /etc/httpd/conf.d/mailman.conf
** Replace the <Directory> section in 10nn-mailman.conf with the total content of mailman.conf
** Uncomment and edit the RedirectMatch line with the ServerAlias name.
* Rename /etc/httpd/conf.d/mailman.conf to something NOT ending in .conf
* Add the domain mailman.foo.com to the Email domain SQL table.
* Reload httpd and postfix.
service httpd reload
service postfix reload
* Create the main mailman list:
/usr/lib/mailman/bin/newlist mailman
* NOTE: I had permissions problems later. So at this point fix your mailman permissions:
/usr/lib/mailman/bin/check_perms -f
* Start mailman.
service mailman start

==== Conclusion ====
You should now be able to access mailman at:
http://mailman.foo.com/mailman


==== Future Plans ====
Test this with Fedora 14.
16

edits