HOWTO Setup Mailman on Debian wheezy

Followed this to configure basic mail for a single domain without a virtual host (use, not for mail setup. Ignore list creation and web interface bits:

Then create actual lists like:

newlist –

Follow the directions and paste the resulting aliases into /etc/aliases, then run ‘newaliases’.

Archiving does not seem to work by default, until permissions are fixed on the directories and files at ’/var/lib/mailman/archives/private/*’.

In the admin interface, you probably want to edit the description, the footer message (in “Non-digest options”), and subscribe yourself.

thttpd isn’t in wheezy. manually download ‘squeeze’ thttpd package and install with dpkg:

Then follow this to configure web interface with nginx; use vhost:

Then set up SPF records in DNS (TXT record: “v=spf1 +a +mx ~all”), confirm with:

If using public mailing lists archives, add lines like the following around /usr/lib/mailman/Mailman/Archiver/ = = 'redacted'

Notes: - run thttpd as list user? - don’t forget to set “nochroot” in /etc/thttpd/thttpd.conf - run newlist as root? - edit DEFAULT_URL_PATTERN, DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST in /etc/mailman/ - after above, to fix “instant logout” problem (no cookies set): while read list stuff; do withlist -l -r fix_url “$list”; done < <(list_lists)

(ignore the error?)

check_perms -f

needed to allow symlinks from nginx to get ‘list’ group-owned archives to work.