How to configure Mailman to handle https redirects to public archives
for virtual domains?

This is for a server with a canonical name of mail.domain1.tld, and
virtual names of lists.domain2.tld, lists.domain3.tld, etc.

With the mm.cfg config pasted below, clicking the archives link on a
list page for lists.domain2.tld redirects to

https://mail.domain1.tld/pipermail/listname

which fails because the list name is associated with domain2.tld and not
domain1.tld.

Not sure if this is related, but this is after running 'withlist -l -r
fix_url listname' on domain2.tld's mailing list and restarting mailman.

Thanks in advance for configuration clues.

dn


# Put YOUR site-specific settings below this line.
MTA = 'Postfix'
MAILMAN_SITE_LIST = 'mailman'
DEFAULT_EMAIL_HOST = 'mail.domain1.tld'
DEFAULT_URL_HOST = 'mail.domain1.tld'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'
# Clear the Defaults.py VIRTUAL_HOSTS entry
VIRTUAL_HOSTS.clear()
add_virtualhost('lists.domain2.tld','lists.domain2.tld')
add_virtualhost('lists.domain3.tld','lists.domain3.tld')
add_virtualhost('lists.domain4.tld','lists.domain4.tld')
add_virtualhost('lists.domain5.tld','lists.domain5.tld')
VERP_PASSWORD_REMINDERS = Yes
VERP_PERSONALIZED_DELIVERIES = Yes
VERP_DELIVERY_INTERVAL = Yes
VERP_CONFIRMATIONS = Yes
VERP_DELIVERY_INTERVAL = 1
OWNERS_CAN_ENABLE_PERSONALIZATION = 1
------------------------------------------------------
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

Reply via email to