[Mailman-Users] how to revert back to local domain only?
This is my first time posting. I am a relatively inexperienced Mailman administrator but have no trouble with CLI. Context is that I have version 2.1.14 installed on an Apple Mac mini running client Mac OS 10.6.8. I used Larry Stone's instructions (dated May 2, 2010) for installing into /usr/local/mailman. MTA is Postfix. I believe that integration with Postfix in my case does NOT require postfix-to-mailman.py, but I do not understand enough about that to say more. My goal is to learn more about how Mailman works, how to administer it. I am trying different configurations--getting my feet wet so to speak. Above question arises out of curiosity. Having successfully implemented virtual domains I now arbitrarily wish to revert this installation to local-domain only. (It's not so arbitrary: I learn by undoing. Born analyst, I guess.) I fully expect to have to delete from main.cf and mm_cfg.py what I had to insert there to enable virtual domains. Postfix's virtual_alias_maps configuration in main.cf comes to mind. Likewise, I'm thinking Mailman's add_virtualhost configuration in from mm_cfg.py would be another. But what about Mailman's VIRTUAL_HOSTS.clear config in mm_cfg.py? Do I take that out too? Furthermore, I am aware that once configured for virtual domains, mailman automatically generates certain files: /usr/local/mailman/data/virtual_mailman, among others. However, it is not clear to me whether these files will automatically be removed or whether their removal requires my intervention. Indeed I don't even know that they would need to be removed. Finally, there is bound to be more to this than I merely anticipate. Perhaps there are other files to modify or remove. Someone please advise. Many thanks, Graham Young -- 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
Re: [Mailman-Users] how to revert back to local domain only?
Graham Young wrote: But what about Mailman's VIRTUAL_HOSTS.clear config in mm_cfg.py? Do I take that out too? It depends. If the configured values for DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in Defaults.py are correct, you don't need any add_virtualhost() or VIRTUAL_HOSTS.clear() directives in mm_cfg.py. If you need to change these or if you just want the settings in mm_cfg.py for documentation purposes, put DEFAULT_URL_HOST = '...' DEFAULT_EMAIL_HOST = '...' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) in mm_cfg.py. Note that you must have one VIRTUAL_HOSTS entry for DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST. This is added in Defaults.py, but may not be the correct names. The purpose of VIRTUAL_HOSTS.clear() in mm_cfg.py is to remove the possibly erroneous entry added in Defaults.py. It isn't really necessary to do this in any case, but it's cleaner. Furthermore, I am aware that once configured for virtual domains, mailman automatically generates certain files: /usr/local/mailman/data/virtual_mailman, among others. However, it is not clear to me whether these files will automatically be removed or whether their removal requires my intervention. Indeed I don't even know that they would need to be removed. They won't be removed, and they don't need to be, but the reference to data/virtual-mailman in Postfix virtual_alias_maps needs to be removed. Finally, there is bound to be more to this than I merely anticipate. Perhaps there are other files to modify or remove. Probably not. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter 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