[Mailman-Users] Help in understanding Mailman setup

Mark Sapiro mark at msapiro.net
Fri Dec 3 01:21:55 CET 2010

Robert Moskowitz wrote:

>Major success.  See below.
>On this fedora 12 system I finally found the directory at:

See the FAQ at <http://wiki.list.org/x/KYCB>.

>Is there a 'good' way to list the content of the config.pck file?  
>special characters in it.

/usr/lib/mailman/bin/dumpdb /var/lib/mailman/lists/LISTNAME/config.pck

>this is the same as the doc files I have been reading.  So I studied 
>postfix a bit more and took a plunge and got most things working.  
>Rather I got the list I created with the web interface working, but not 
>the mailman list I created with the script in the beginning.  Now that 
>might have been because I did not have other things set up right.
>I have one test user subscribed to both the 'mailman' and the 'newlist' 
>lists.  The 'newlist' works.  But with the 'mailman' list I get the error:
><mailman at mailman.htt-consult.com>: mail for mailman.htt-consult.com 
>loops back to myself
>Note this is the same domain as newlist at mailman.htt-consult.com  And 
>mailman.htt-consult.com is a virtual host name.

I'm guessing you followed the Postfix integration instructions as
indicated by the below, but you had previously created the 'mailman'
list so its virtual mappings are not in virtual-mailman.

Run as root or mailman


to rebuild the aliases and virtual-mailman files from the current

>> If you need further help, please post the output of 'postconf -n', the
>> relevant parts of main.cf and the delivery status message from the
>> Postfix log or the received DSN when you attempt to mail to a list
>> address.
>When I first ran the '.../newlist mailman' it created the mailman list 
>and printed out lines to add to /etc/aliases and then to run 
>newaliases.  Now when I ran this I had NOT added the MTA line to the 
>mm_cfg.py file and that might have been why it was printed in this 
>manner?  Anyway below is my current mm_cfg.py and output from 'postconf 
>-n'.  I am planning on doing a rebuild of the system and see if I can 
>get through in one go-around a complete system build.  If I can, then I 
>can move my mail folders over from the running system and go live with 
>the new.  If not, well some more fiddling until I can try again....
>mm-cfg.py (comment lines pulled for compactness):
>DEFAULT_URL_HOST   = 'mailman.htt-consult.com'
>DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com'
>POSTFIX_STYLE_VIRTUAL_DOMAINS = 'mailman.htt-consult.com'

The above is a problem. It needs to be a sequence of domains, not a
single domain. This needs to be fixed before running genaliases. Make

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mailman.htt-consult.com']

The square brackets are important.

>MTA = 'Postfix'
>postconf -n:

This looks OK to me. The important things are the mailman entries in 

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases


virtual_alias_maps = 

However, you probably also want

recipient_delimiter = +

if you are ever going to enable any VERP options in Mailman.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list