Hi all,

I'm running mailman 2.1.x.  I haven't had need to create a new list in years, 
but now I need to.  Trying to do so from the web UI here:
 <https://mail.rogue-research.com/mailman/create>

results in:
 "Error: Unknown virtual host: mail.rogue-research.com".

After searching for this, I now have a partial understanding of the problem.

In my Defaults.py I see:

DEFAULT_EMAIL_HOST = 'foo.rogue-research.com'
DEFAULT_URL_HOST = 'foo.rogue-research.com'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'

foo is the real hostname of the machine. I guess that's how it ended up there? 
After reading the comments in that file and FAQ 4.29, I *think* the correct 
solution is to append the following 5 lines to my mm_cfg.py:

DEFAULT_EMAIL_HOST = 'rogue-research.com'
DEFAULT_URL_HOST = 'mail.rogue-research.com'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

Is that correct?

Many thanks,

Sean

------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to