How It Works | |
How to use Mailman with Postfix without fiddling with postfix's config files. A problem with mailman is that, when you create or delete a list, you have to synchronize your /etc/aliases file. There's more than one way to do it, see mailman's documentation for the standard way. What we use here is different: regular expressions in postfix's virtual maps. Let's see how it works: A full domain is used by the list manager. A message arriving for truc@listes.rezo.net is handled for list truc, and not the user truc. (Note: this domain can be hidden entirely from users, via more virtuals.) In Postfix's configuration, we just declare mailman calls in a generic way (independently of the list name, that we'll have to pass in the variable $EXTENSION):
/etc/aliases - we also call a regexp virtual, in order to pass the list name in the variable $EXTENSION, via an address of the form mailman-action+listname@...
/etc/postfix/main.cf
/etc/postfix/virtual-regexp * * * Hope this can help... (in French) (You might want to check Dax Kelson's slightly different approach, called postfix-to-mailman.py.)
Une initiative de Rezo.net, le portail des copains |