Mailman: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 36: Line 36:


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.
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.
NOQUEUE: reject: RCPT from oproxy2-pub.bluehost.com[67.222.39.60]: 450 4.2.0 <[email protected]>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/hupi.org.html; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<oproxy2-pub.bluehost.com>


You can whitelist anyone manually by editing these files.
You can whitelist anyone manually by editing these files.

Revision as of 19:40, 27 February 2011

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.

NOQUEUE: reject: RCPT from oproxy2-pub.bluehost.com[67.222.39.60]: 450 4.2.0 <[email protected]>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/hupi.org.html; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<oproxy2-pub.bluehost.com>


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/