[Mailman-Users] Trying again from the start -- Re: Help in understandingMailman setup
mark at msapiro.net
Mon Dec 6 17:28:47 CET 2010
Robert Moskowitz wrote:
>I have totally rebuilt my system and am trying to 'Do It Right The First
>Not quite succeeding. See below, I am hung up with no
>This time I 'thought' I had everything together. I had my mm_cfg.py
>configured as before; I had copied it from the system before the
>reinstall and just overwrote what was there. I modified
>/etc/postfix/main.cf as instructed. I was able to run the:
>And it created the /etc/mailman/aliases and aliases.db files. But no
>virtual-mailman files. Ooops. I did not setup a SQL table entry for my
>virtual host: mailman.htt-consult.com. I went back and added this to
>the domain table and ran the
>> Run as root or mailman
>> to rebuild the aliases and virtual-mailman files from the current
>But still no virtual-mailman.
The lack of the virtual host definition in Postfix would have no effect
on whether or not Mailman creates the virtual-mailman file. Mailman
creates virtual-mailman if and only if there is a list or lists with a
host_name that matches one of the POSTFIX_STYLE_VIRTUAL_DOMAINS
>Also I am not getting the URL
>http://mailman.htt-consult.com/mailman to work. I **THINK** I have
>properly merged the Amahi template with the mailman.conf files in
>/etc/httpd/conf.d/ But either I still have it wrong, or the lack of the
>virtual-mailman files is impacting this as well.
This is strictly a web server configuration issue. it has nothing to do
with virtual-mailman which affects only Postfix.
>So do I delete the mailman list (how?) and try again???
You can delete lists with Mailman's bin/rmlist, but you don't need to.
Once you get mm_cfg.py correct, you can run bin/genaliases to create
virtual-mailman. If you make changes to DEFAULT_EMAIL_HOST, you may
first need to run
bin/withlist -l -r fix_url mailman
to fix the mailman list's host_name.
>>> DEFAULT_URL_HOST = 'mailman.htt-consult.com'
>>> DEFAULT_EMAIL_HOST = 'mailman.htt-consult.com'
>>> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>>> 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'
Did you make the above change to POSTFIX_STYLE_VIRTUAL_DOMAINS? If not,
that explains the lack of virtual-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