newlist --emailhost does not create virtual aliases in virtual-mailman

Bug #950542 reported by Chris Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Undecided
Mark Sapiro

Bug Description

Version mailman-2.1.14

With the virtual URL and domain already configured in mm_cfg.py (below), running newlist with --emailhost and --urlhost does not populate the virtual-mailman specific aliases. Adding the list via a browser using the virtual URL results in the expected behavior. It would seem that the browser based method is doing something differently.

mm_cfg.py

MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['example.com']
add_virtualhost('lists.example.com', 'example.com')

Revision history for this message
Mark Sapiro (msapiro) wrote :

Does the list get created with host_name attribute equal to the --emailhost argument?

If so, I don't see how this can occur because the code in Mailman/MTA/Postfix.py looks only at whether the list's host_name is in POSTFIX_STYLE_VIRTUAL_DOMAINS in deciding whether to create virtual-mailman entries.

If not, what is the exact bin/newlist command you give and what is the host_name of the created list?

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
status: New → Incomplete
Revision history for this message
Chris Miller (shkfclc5t) wrote :

Mark,
   the POSTFIX_STYLE_VIRTUAL_DOMAINS did not contain the subdomain for this list, just the base domain. I tested after correcting and everything works as expected. Sorry for the false alarm. Thanks for the prompt response.

Chris

Mark Sapiro (msapiro)
Changed in mailman:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.