Robert Moskowitz wrote: >I have totally rebuilt my system and am trying to 'Do It Right The First >Time' (DIRTFT). > >Not quite succeeding. See below, I am hung up with no >/etc/mailman/virtual-mailman [...] >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: > >/usr/lib/mailman/bin/newlist mailman > >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 >> >> /usr/lib/mailman/bin/genaliases >> >> to rebuild the aliases and virtual-mailman files from the current >> config. >> > > >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 entries. >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' >>> >>> VIRTUAL_HOSTS.clear() >>> 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 >> it >> >> 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 <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org