Wrong domain used in moderation message
Bug #266328 reported by
Brouhaha
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Mailman 2.1.7 is running on host foo.example.com, with
a mailing list on virtual domain bar.example.com. If a
posting will be moderated, an email is sent to the
poster offering a chance to cancel the message.
However, the cancel URL is on foo.example.com, rather
than bar.example.com.
The cancel URL works, but it exposes the real hostname,
whereas it should only show the virtual domain.
[http://
To post a comment you must log in.
The most likely cause of this is that the list attribute
web_page_url has the foo.example.com host name instead of
bar.example.com.
This in turn is caused by creating the list with the wrong
or the default host.
If this is the case, links in the web interface will likely
also be to foo.example.com, and the list won't appear on the
bar.example.com admin and listinfo overview pages. You can
fix this (assuming your VIRTUAL_HOSTS dictionary is correct
- add_virtualhost() directives in mm_cfg.py - by running
bin/fix_url.py on the list (just run bin/fix_url.py for
instructions).