Bug 57987 - MAILMAN_OWNER mis-interpolated with default mm_cfg.py
Summary: MAILMAN_OWNER mis-interpolated with default mm_cfg.py
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mailman
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-01-04 14:13 UTC by Michael K. Johnson
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-03-10 20:45:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael K. Johnson 2002-01-04 14:13:28 UTC
In Defaults.py, we have
DEFAULT_HOST_NAME   = 'localhost.localdomain'
MAILMAN_OWNER     = 'mailman-owner@%s' % DEFAULT_HOST_NAME

Then in mm_cfg.py, the user is expected to override DEFAULT_HOST_NAME with
DEFAULT_HOST_NAME = 'mailserver.example.com'
but MAILMAN_OWNER had already been interpolated with
'localhost.localdomain' -- meaning, for example, that when the
password reminders go out, they go out with

  If you have questions, problems, comments, etc, send them to
  mailman-owner.  Thanks!
                ^^^^^^^^^^^^^^^^^^^^^

even though DEFAULT_HOST_NAME has been set

Therefore, in the mm_cfg.py we ship, we should include both
a sample setting of DEFAULT_HOST_NAME, and then AFTER THAT LINE,
we should also copy in the
MAILMAN_OWNER     = 'mailman-owner@%s' % DEFAULT_HOST_NAME
line from Defaults.py so that MAILMAN_OWNER gets re-interpolated
with the newly, correctly-set DEFAULT_HOST_NAME

While it is possible for users to track this bug down and fix it
(I did...) it is a pain and the pain would be entirely removed
by this simple action.

Comment 1 Nalin Dahyabhai 2002-04-05 22:41:21 UTC
Fixing for 2.0.9-1.  Thanks!


Note You need to log in before you can comment on or make changes to this bug.