Difference between revisions of "Amahi Mailman"

From Amahi Wiki
Jump to: navigation, search
Line 48: Line 48:
 
==== Conclusion ====
 
==== Conclusion ====
 
You should now be able to access mailman at:
 
You should now be able to access mailman at:
<nowiki>http://mailman.foo.com/mailman</nowiki>
+
{{Link|http://mailman.foo.com/mailman}}
  
 
==== Future Plans ====
 
==== Future Plans ====
 
Test this with Fedora 14.
 
Test this with Fedora 14.

Revision as of 04:04, 6 February 2011


NOTE: This should only be attempted by advanced users.

DISCLAIMER: 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.

Further DISCLAIMER: This tutorial is based on already having installed the Amahi Mail Server 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 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
bash code
​yum install mailman​
  • Set your mailman site password:
bash code
​/usr/lib/mailman/bin/mmsitepass _______​
  • Add/edit the following into /usr/lib/mailman/Mailman/mm_cfg.py
Text
​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.
bash code
​service httpd reload service postfix reload​
  • Create the main mailman list:
bash code
​/usr/lib/mailman/bin/newlist mailman​
  • NOTE: I had permissions problems later. So at this point fix your mailman permissions:
bash code
​/usr/lib/mailman/bin/check_perms -f​
  • Start mailman.
bash code
​service mailman start​


Conclusion

You should now be able to access mailman at:

Link
​http://mailman.foo.com/mailman​

Future Plans

Test this with Fedora 14.