Lists.wikimedia.org

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(current setup)
(web server config)
Line 1: Line 1:
 +
The new Mailman setup lives on [[lily]], and uses the standard Ubuntu package <tt>mailman</tt>. The mailing list state is under <tt>/var/lib/mailman/</tt>, the global configuration is in <tt>/etc/mailman/</tt>.
 +
 +
The mail server used is [[Exim]], the web server used is [[lighttpd]].
 +
 +
=== Mail server setup ===
 +
 +
=== Web server setup ===
 +
To get Mailman running with lighttpd, a couple of small changes had to be made to the default configuration file. <tt>mod_cgi</tt> needs to be loaded:
 +
server.modules              = (
 +
            "mod_access",
 +
            "mod_alias",
 +
            "mod_accesslog",
 +
            "mod_cgi",
 +
)
 +
 +
To make path <tt>/mailman/</tt> invoke the correct CGI scripts, use:
 +
 +
# Mailman
 +
alias.url = (
 +
        "/mailman/"    => "/usr/lib/cgi-bin/mailman/",
 +
        "/pipermail/"  => "/var/lib/mailman/archives/public/",
 +
        "/images/"      => "/usr/share/images/",
 +
)
 +
 +
$HTTP["url"] =~ "^/mailman/" {
 +
        cgi.assign = ( "" => "" )
 +
}
 +
 +
See also http://www.gnu.org/software/mailman/mailman-install/node10.html
 +
 +
== Old setup ==
 +
 
Mailing lists live in <tt>/usr/local/mailman/</tt> on [[goeje]].   
 
Mailing lists live in <tt>/usr/local/mailman/</tt> on [[goeje]].   
  

Revision as of 19:28, 29 December 2006

The new Mailman setup lives on lily, and uses the standard Ubuntu package mailman. The mailing list state is under /var/lib/mailman/, the global configuration is in /etc/mailman/.

The mail server used is Exim, the web server used is lighttpd.

Mail server setup

Web server setup

To get Mailman running with lighttpd, a couple of small changes had to be made to the default configuration file. mod_cgi needs to be loaded:

server.modules              = (
           "mod_access",
           "mod_alias",
           "mod_accesslog",
           "mod_cgi",
)

To make path /mailman/ invoke the correct CGI scripts, use:

# Mailman
alias.url = (
       "/mailman/"     => "/usr/lib/cgi-bin/mailman/",
       "/pipermail/"   => "/var/lib/mailman/archives/public/",
       "/images/"      => "/usr/share/images/",
)

$HTTP["url"] =~ "^/mailman/" {
       cgi.assign = ( "" => "" )
}

See also http://www.gnu.org/software/mailman/mailman-install/node10.html

Old setup

Mailing lists live in /usr/local/mailman/ on goeje.

The current setup:

  • Does not use VERP
  • Does not use a separate lists domain

The templates for list messages etc. are in /usr/local/mailman/template/<langcode>; these can be customised per-list by copying them to /usr/local/mailman/lists/<listname>/<langcode>/ and editing them. Make sure they're still writable by Apache otherwise the mailman web interface doesn't work! (this means they have to be owned by group mailman and be g+w)

To add a new list:

 /usr/local/mailman/bin/newlist

Ensure /usr/local/mailman/aliases.mailman is up-to-date after doing this, and run newaliases and postfix reload.

The old symlink from /home/mailman to /usr/local/mailman has been removed as of February 15, 2006. Make sure any old directions and config files are updated to reflect this.

List archives are being removed from robots.txt as of November 3, 2006 to reduce annoying complaints about peoples' names appearing on google.

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox