Version 4 (modified by simonmar, 7 years ago) (diff)

add Mailman info


lun is a vm, running on lambda. It runs the community services.


The config is in lambda:/etc/libvirt/qemu/community.xml, and the disk image /srv/community/vdisk.img.

It's controlled by virsh, e.g.:

lambda$ sudo virsh list --all
 Id Name                 State
  - community            shut off

lambda$ sudo virsh start community
Domain community started

lambda$ sudo virsh list --all
 Id Name                 State
  2 community            running

To start it with a console, use:

lambda$ sudo virsh start community --console

or to connect to the console if it's already running:

lambda$ sudo virsh console community

and Ctrl+] to exit the console.

See the virsh manpage for more information.


The config is in /etc/exim4/exim4.conf.template with local changes delimited by:

# start lun local
# end lun local

After changing, run /usr/sbin/update-exim4.conf then /etc/init.d/exim4 reload.


The various sites are configured in /etc/apache2/sites-available/*. Symlinks in /etc/apache2/sites-enabled/ enable them.

Modules are similarly enabled by symlinks in /etc/apache2/mods-enabled/.

After changing anything, run /etc/init.d/apache2 reload.


User data for service foo is generally in /srv/foo.


The mrtg config is in /etc/mrtg.cfg, some helpers are in /srv/local/mrtg/, and the output goes to /var/www/mrtg. The URL for it is


To restart the Mailman daemons:

/etc/init.d/mailman restart

The data is stored in /var/lib/mailman, and Mailman itself is in /usr/lib/mailman.

Web interface

The top-level list-of-lists is here:

The web interface is configured via /etc/apache2/sites-available/projects, and is currently

    Alias /pipermail/ /var/lib/mailman/archives/public/
    <Directory /var/lib/mailman/archives/public>
      Options +FollowSymLinks

    ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
    <Directory "/usr/lib/cgi-bin/mailman">
        AllowOverride None
        Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all

    Alias /images/mailman/ /usr/share/images/mailman/
    <Directory "/usr/share/images/mailman">
        AllowOverride None
        Order allow,deny
        Allow from all

sample configuration is in /etc/mailman/apache.conf.

Adding a new list

Use the newlist command (see man newlist).

Email aliases

Where are these configured for exim?


Archives are stored in /var/lib/mailman/archives.