Difference between revisions of "Amahi Mailman"
(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...") |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{NeedsUpdate}} | ||
+ | |||
+ | |||
[[Category:Apps]] | [[Category:Apps]] | ||
+ | |||
==NOTE: This should only be attempted by advanced users.== | ==NOTE: This should only be attempted by advanced users.== | ||
Line 5: | Line 9: | ||
<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>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 | + | <b>Further DISCLAIMER:</b> This tutorial is based on already having installed the [http://wiki.amahi.org/index.php/Amahi_Mail_System Amahi Mail Server] which uses Postfix and mySQL. Further it is for Fedora 12. It has NOT been tested on Fedora 14. |
==== Purpose ==== | ==== 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. | + | 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/ www.list.org] for details. |
==== How to Install ==== | ==== How to Install ==== | ||
Line 20: | Line 24: | ||
/usr/lib/mailman/bin/mmsitepass _______ | /usr/lib/mailman/bin/mmsitepass _______ | ||
* Add/edit the following into /usr/lib/mailman/Mailman/mm_cfg.py | * Add/edit the following into /usr/lib/mailman/Mailman/mm_cfg.py | ||
− | + | <pre>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'</pre> | |
− | + | (where foo.com is your domain name) | |
* Make the following changes in /etc/postfix/main.cf | * Make the following changes in /etc/postfix/main.cf | ||
** Uncomment: recipient_delimiter = + | ** Uncomment: recipient_delimiter = + | ||
Line 48: | Line 52: | ||
==== Conclusion ==== | ==== Conclusion ==== | ||
You should now be able to access mailman at: | You should now be able to access mailman at: | ||
− | http://mailman.foo.com/mailman | + | <nowiki>http://mailman.foo.com/mailman</nowiki> |
− | |||
==== Future Plans ==== | ==== Future Plans ==== | ||
Test this with Fedora 14. | Test this with Fedora 14. |
Latest revision as of 02:07, 23 June 2020
Update Needed | |
---|---|
The contents of this page have become outdated or irrelevant. Please consider updating it. |
Contents
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
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.