Differences between revisions 1 and 2
Revision 1 as of 2011-06-07 06:26:32
Size: 629
Editor: sohmc
Comment:
Revision 2 as of 2011-06-07 07:35:18
Size: 1512
Editor: sohmc
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/12517388
This instruction set is written for those who wish to integrate Mailman with the postfix MTA.  The documentation currently available does not cover in detail how to use virtual hosts and MySQL-based aliases.
#pragma page-filename DOC/versions/13303908
This instruction set is written for those who wish to integrate Mailman with the postfix MTA.  The [[http://www.list.org/mailman-install/node12.html|documentation currently available]] does not cover in detail how to use virtual hosts and MySQL-based aliases.
Line 7: Line 7:

    * h2. Normal postfix Integration
If you do not have any subdomains or do not plan on using virtual hosts within postfix, follow the steps below to integrate Mailman with your system.

 1. Add this to the bottom of the $prefix/Mailman/mm_cfg.py file:
{{{
MTA = 'Postfix'
}}}

Please note that depending on your specific distribution, this setting may be set within $prefix/Mailman/Defaults.py.

 1. Run the following command to initialize your mailman aliases:
{{{
$prefix/bin/genaliases
}}}

The command creates two files: aliases and aliases.db. These files ''are usually'' created within $prefix/data, but may be located elsewhere, depending on your configuration. They may sometimes be found within /var/lib/mailman/data.

 1. Make sure that the owner and group owner of these files are set to mailman

This instruction set is written for those who wish to integrate Mailman with the postfix MTA.  The documentation currently available does not cover in detail how to use virtual hosts and MySQL-based aliases.

Please note: The instructions here are based on the Ubuntu 10.10 Linux distribution, loaded on a VPS.  Specific file locations may differ.

Before beginning, postfix should be installed and working correctly.  If you are using or plan to use virtual hosts, set this up prior to installing and configuring Mailman.

  • h2. Normal postfix Integration

If you do not have any subdomains or do not plan on using virtual hosts within postfix, follow the steps below to integrate Mailman with your system.

  1. Add this to the bottom of the $prefix/Mailman/mm_cfg.py file:

MTA = 'Postfix'

Please note that depending on your specific distribution, this setting may be set within $prefix/Mailman/Defaults.py.

  1. Run the following command to initialize your mailman aliases:

$prefix/bin/genaliases

The command creates two files: aliases and aliases.db. These files are usually created within $prefix/data, but may be located elsewhere, depending on your configuration. They may sometimes be found within /var/lib/mailman/data.

  1. Make sure that the owner and group owner of these files are set to mailman


Comments

Mark Sapiro

I do not recommend people follow this article. I do not recommend postfix_to_mailman.py which is a 3rd party module neither distributed nor officially supported by the GNU Mailman project. I also don't understand what is lacking in the official installation manual ("the documentation currently available" link at the beginning of this article, and I don't understand why there would be anything in even these instructions that would prevent them working with lists created via the web interface as long as the permissions are correct on Mailman's data/aliases and data/virtual-mailman files which aren't even used by postfix_to_mailman.py anyway.

MailmanWiki: DOC/Integrating Mailman with postfix (last edited 2014-07-21 18:55:48 by msapiro)