Pieter Donche wrote: >I set up a mailman list server on a host host.mydom.mycountry >Mails to this machine are sent to an alias mail.mydom.mycountry > >Although I have set in my /usr/local/mailman/Mailman/mm_cfg.py >DEFAULT_URL_HOST = 'www.mydom.mycountry' >DEFAULT_MAIL_HOST = 'mail.mydom.mycountry' >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > >and did a restart of the mailman program (and even a stop and a start) > >When I create a list via the web interface, the mailing list is >created with mail address for post: mylistn...@host.mydom.mycountry > >Of course I can change this as administrator of the list, but why does >it not create the list with mail.mydom.mycountry since it is in the >/usr/local/mailman/Mailman/mm_cfg.py file ? >How to make this behaviour correct..
Are you accessing the create page via a URL with host name 'www.mydom.mycountry'? Note that it is best to clear the Defaults.py settings from VIRTUAL_HOSTS by putting VIRTUAL_HOSTS.clear() in mm_cfg.py preceeding the add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) line, but if you are accessing the web create page via a URL with host name 'www.mydom.mycountry', you should get the list's host_name set to 'mail.mydom.mycountry' with the above settings. -- 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 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9