3485
Comment: fix listinfo link
|
5723
mention ssl support, update instructions for requesting a list name change.
|
Deletions are marked like this. | Additions are marked like this. |
Line 5: | Line 5: |
[[TableOfContents]] /!\ '''This page is currently in flux.''' We are still figuring out the details of how we want DomTool to interact with Mailman. |
<<TableOfContents>> |
Line 11: | Line 9: |
If you would like a mailing list managed by our global [http://www.gnu.org/software/mailman/ Mailman] [https://lists.hcoop.net/listinfo installation], you must first [https://members2.hcoop.net/portal/list place a request on the portal]. | If you would like a mailing list managed by our global [[http://www.gnu.org/software/mailman/|Mailman]] [[https://lists.hcoop.net/listinfo|installation]], you must '''first follow the setup instructions''' below to tweak your DomTool configuration, and then [[https://members.hcoop.net/portal/list|place a request on the portal]]. If you do things in this order, the portal will be able to correctly deduce what URL you want for the web interface of the new mailing list. |
Line 15: | Line 13: |
You then have a choice between doing list management at [https://lists.hcoop.net/admin/LISTNAME https://lists.hcoop.net/admin/LISTNAME] or at your own domain. | You then have a choice between doing list management at [[https://lists.hcoop.net/admin/LISTNAME|https://lists.hcoop.net/admin/LISTNAME]] or at your own domain. |
Line 17: | Line 15: |
== Using https://hcoop.net/ for the web interface == | == Using https://lists.hcoop.net/ for the web interface == |
Line 19: | Line 17: |
If you are fine with using the main hcoop.net site for your list's web interface, then there is nothing left to do except wait for the list to be created. | If you are fine with using the main hcoop.net site for your list's web interface, then there is nothing left to do before making a list request on the portal and wait for the list to be created. |
Line 21: | Line 19: |
You can then access your list at {{{https://hcoop.net/admin/LISTNAME}}}, where '''LISTNAME''' is the name of your list. | You can then access your list at {{{https://lists.hcoop.net/admin/LISTNAME}}}, where '''LISTNAME''' is the name of your list. If you requested a list where the address will be at your own domain, even if you are using lists.hcoop.net for the management URL, you will need to add the following line mailmanWebHost "lists.hcoop.net"; to your domtool configuration for that domain. In addition to configuring the Mailman web interface, it also configures the mail server to forward incoming mail to Mailman for processing. |
Line 27: | Line 31: |
* '''LISTNAME''' is the name you gave your list, * '''DOMAIN''' is your domain, * '''VHOST''' is the virtual subdomain you would like the web interface to be accesible from. * '''USER''' is your HCoop username. |
* '''$LISTNAME''' is the name you gave your list, * '''$DOMAIN''' is your domain, * '''$VHOST''' is the virtual subdomain you would like the web interface to be accesible from. * '''$USER''' is your HCoop username. |
Line 32: | Line 36: |
If you want to access the site from your domain with no subdomain, then use the default virtual host for ''VHOST'' (in other words, "www"). | If you want to access the site from your domain with no subdomain, then use the default virtual host for ''$VHOST'' (in other words, "www"). |
Line 35: | Line 39: |
domain "DOMAIN" with | domain "$DOMAIN" with |
Line 38: | Line 42: |
mailmanWebHost "VHOST.DOMAIN"; end; |
mailman "$VHOST"; (* Make list interface available over SSL as well *) mailman "$VHOST" where SSL = $your_ssl_cert; end; |
Line 41: | Line 48: |
(* This has to be its own subdomain, if you want to be able to *) (* provide the alias "mailman@VHOST.DOMAIN", which is advertised *) (* on http://VHOST.DOMAIN/listinfo. Alas, there is no way to *) (* change that alias to "mailman@DOMAIN", short of patching *) (* Mailman. Otherwise, you could get by with a dnsIP line. *) (* Perhaps this is something best generated automatically by *) (* Domtool. *) domain "VHOST.DOMAIN" with nameserver "ns1.hcoop.net"; nameserver "ns3.hcoop.net"; dnsDefault "69.90.123.67"; |
(* Do the following if you want the email address given on *) (* http://$VHOST.$DOMAIN/listinfo to work. *) |
Line 53: | Line 51: |
emailAlias "mailman" "USER"; | emailAlias "mailman" "$USER"; |
Line 57: | Line 55: |
The list admin web interface then will be available at {{{http://VHOST.DOMAIN.TLD/admin/LISTNAME}}}. | Now request the list using the portal. The list admin web interface then will be available at {{{http://$VHOST.$DOMAIN/admin/$LISTNAME}}}. /!\ Be sure to change the '''host_name''' setting for the list to be "$DOMAIN" (namely, your domain name) using the list admin web interface, or messages sent to that list will come from the wrong domain! If you want to do anything more complicated than the above, read on. == Putting the list email address and web interface on different domains == Say you want to receive email to a list at {{{mylist@emailsub.domain.tld}}}, but you want the web interface for the list to be at {{{http://lists.domaintwo.tld}}}. Here is how you accomplish that. * Make sure that you have been granted the {{{domaintwo.tld}}} domain. * Add the following domtool configuration {{{ domain "domaintwo.tld" with mailmanVhost "lists"; end; domain "domain.tld" with mailmanWebHost "lists.domaintwo.tld"; end; }}} * Tell the list admin to update your list url to `http://lists.domaintwo.tld`, by filing a request in the portal with the "list" category. == Permitting email for the same list to be delivered to multiple domains == Say you have a list called "listname". If you want to permit email from both "listname@domain.tld" and "listname@domaintwo.tld", then you will need to do the following. * Choose a "canonical" domain, between the two. Mailman will only get the links correct on the web interface with this domain name. We will denote the other domain as the secondary domain. * Add a "mailmanVhost" line to the domtool configuration for each domain, or make one domain an alias of the other. The canonical domain should not be an alias. In the case that you are adding a "mailmanVhost" line, be sure that the canonical domain comes before the secondary domain. * Using the web interface, edit acceptable_aliases to include a regexp like {{{ ^listname@domaintwo\.tld$}}} * File a request on the "list" category of the portal, mentioning that you want to do this, and mention which domain is the canonical one. MichaelOlson will take care of the rest. |
Line 63: | Line 91: |
The best way of doing this is for you to point your domain's MX record to `deleuze.hcoop.net`. If you want to use the Mailman webinterface on a subdomain, then point that subdomain at `deleuze.hcoop.net`, as well. | The best way of doing this is for you to point your domain's MX record to `mail.hcoop.net`. If you want to use the Mailman webinterface on a subdomain, then be sure to point that subdomain at `mail.hcoop.net`. |
Line 67: | Line 95: |
If you previously hosted a mailing list on Fyodor, our old machine, then file a request at [https://bugzilla.hcoop.net/enter_bug.cgi Our bug-tracker], using the '''Mailman''' component. Be sure to tell us what the name of your list is. | If you previously hosted a mailing list on Fyodor, our old machine, then file a request at [[https://bugzilla.hcoop.net/enter_bug.cgi|Our bug-tracker]], using the '''Mailman''' component. Be sure to tell us what the name of your list is. |
Line 69: | Line 97: |
If you haven't hosted a mailing list with us before, it is still possible to migrate a list over to our machines, provided that you have an mbox file containing the archives, and the file {{{config.pck}}} containing your settings. File a request at [https://bugzilla.hcoop.net/enter_bug.cgi Our bug-tracker], using the '''Mailman''' component, and we will help you out. | If you haven't hosted a mailing list with us before, it is still possible to migrate a list over to our machines, provided that you have an mbox file containing the archives, and the file {{{config.pck}}} containing your settings. File a request at [[https://bugzilla.hcoop.net/enter_bug.cgi|Our bug-tracker]], using the '''Mailman''' component, and we will help you out. ---- CategoryMemberManual |
This page describes how to set up and manage mailing lists on your domain.
Contents
Request a Mailing List
If you would like a mailing list managed by our global Mailman installation, you must first follow the setup instructions below to tweak your DomTool configuration, and then place a request on the portal. If you do things in this order, the portal will be able to correctly deduce what URL you want for the web interface of the new mailing list.
Setup Instructions
You then have a choice between doing list management at https://lists.hcoop.net/admin/LISTNAME or at your own domain.
Using https://lists.hcoop.net/ for the web interface
If you are fine with using the main hcoop.net site for your list's web interface, then there is nothing left to do before making a list request on the portal and wait for the list to be created.
You can then access your list at https://lists.hcoop.net/admin/LISTNAME, where LISTNAME is the name of your list.
If you requested a list where the address will be at your own domain, even if you are using lists.hcoop.net for the management URL, you will need to add the following line
- mailmanWebHost "lists.hcoop.net";
to your domtool configuration for that domain. In addition to configuring the Mailman web interface, it also configures the mail server to forward incoming mail to Mailman for processing.
Using your own domain for the web interface
If you would like the web interface to be at your own domain, then you must do some simple domain configuration.
$LISTNAME is the name you gave your list,
$DOMAIN is your domain,
$VHOST is the virtual subdomain you would like the web interface to be accesible from.
$USER is your HCoop username.
If you want to access the site from your domain with no subdomain, then use the default virtual host for $VHOST (in other words, "www").
domain "$DOMAIN" with (* Other configuration stuff... *) mailman "$VHOST"; (* Make list interface available over SSL as well *) mailman "$VHOST" where SSL = $your_ssl_cert; end; (* Do the following if you want the email address given on *) (* http://$VHOST.$DOMAIN/listinfo to work. *) handleMail; emailAlias "mailman" "$USER"; end;
Now request the list using the portal. The list admin web interface then will be available at http://$VHOST.$DOMAIN/admin/$LISTNAME.
Be sure to change the host_name setting for the list to be "$DOMAIN" (namely, your domain name) using the list admin web interface, or messages sent to that list will come from the wrong domain!
If you want to do anything more complicated than the above, read on.
Putting the list email address and web interface on different domains
Say you want to receive email to a list at mylist@emailsub.domain.tld, but you want the web interface for the list to be at http://lists.domaintwo.tld. Here is how you accomplish that.
Make sure that you have been granted the domaintwo.tld domain.
Add the following domtool configuration
domain "domaintwo.tld" with mailmanVhost "lists"; end; domain "domain.tld" with mailmanWebHost "lists.domaintwo.tld"; end;
Tell the list admin to update your list url to http://lists.domaintwo.tld, by filing a request in the portal with the "list" category.
Permitting email for the same list to be delivered to multiple domains
Say you have a list called "listname". If you want to permit email from both "listname@domain.tld" and "listname@domaintwo.tld", then you will need to do the following.
- Choose a "canonical" domain, between the two. Mailman will only get the links correct on the web interface with this domain name. We will denote the other domain as the secondary domain.
- Add a "mailmanVhost" line to the domtool configuration for each domain, or make one domain an alias of the other. The canonical domain should not be an alias. In the case that you are adding a "mailmanVhost" line, be sure that the canonical domain comes before the secondary domain.
Using the web interface, edit acceptable_aliases to include a regexp like
^listname@domaintwo\.tld$
File a request on the "list" category of the portal, mentioning that you want to do this, and mention which domain is the canonical one. MichaelOlson will take care of the rest.
Hosting Domains Elsewhere
You can host mailing lists with us that use your own domains, even if your domain is primarily hosted elsewhere.
The best way of doing this is for you to point your domain's MX record to mail.hcoop.net. If you want to use the Mailman webinterface on a subdomain, then be sure to point that subdomain at mail.hcoop.net.
Migrating an Existing List
If you previously hosted a mailing list on Fyodor, our old machine, then file a request at Our bug-tracker, using the Mailman component. Be sure to tell us what the name of your list is.
If you haven't hosted a mailing list with us before, it is still possible to migrate a list over to our machines, provided that you have an mbox file containing the archives, and the file config.pck containing your settings. File a request at Our bug-tracker, using the Mailman component, and we will help you out.