Mailman

From Wildsong
Jump to navigationJump to search

Some tips on using mailman

I am using the standard Ubuntu package. This means things are symlinked from the normal places in /var to where they are really installed in /usr

User.group = list.list not the usual mailman.mailman

Various config files including mm_cfg.py are in /etc/mailman I am using postfix as the MTA

Pipermail is installed

master.cf has this /usr/lib/mailman/bin/postfix-to-mailman.py

Notes in mailman docs

Integrating Postfix with Mailman

Create a list

http://hupi.org/cgi-bin/mailman/create

Move a list from a different server

Spam control

Postgrey

I am using postgrey (installed from Ubuntu package).

Home page http://postgrey.schweikert.ch/

See http://www.howtoforge.com/greylisting_postfix_postgrey

Postgrey simply sends a message back on first connection refusing email and saying "come back later". It then creates a database (whitelist) entry and if the server connects to try again, lets it through.

You can whitelist anyone manually by editing these files.

/etc/postgrey/whitelist_clients
/etc/postgrey/whitelist_recipients

Local (internal) mail is unaffected.

Databases are in /var/lib/postgrey/

Dump current whitelist database

perl /usr/share/doc/postgrey/postgrey_clients_dump

See also

man postgreyreport

More anti-spam

http://www.fatofthelan.com/technical/how-to-install-postfix-dovecot-amavis-clamav-and-spamassassin-etch/