[ mailman-Bugs-1461054 ] Wrong domain used in moderation message

SourceForge.net noreply at sourceforge.net
Fri Apr 14 23:25:27 CEST 2006


Bugs item #1461054, was opened at 2006-03-29 16:44
Message generated for change (Comment added) made by brouhaha
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1461054&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.1 (stable)
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Eric Smith (brouhaha)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wrong domain used in moderation message

Initial Comment:
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.


----------------------------------------------------------------------

>Comment By: Eric Smith (brouhaha)
Date: 2006-04-14 14:25

Message:
Logged In: YES 
user_id=10325

Never mind, I found the problem.  I misunderstood your
explanation.  I don't understand how this particular list
got this way, though, as it was created after the virtual
domain was set up and other lists on it were working fine
with the correct hostname.  Oh well.


----------------------------------------------------------------------

Comment By: Eric Smith (brouhaha)
Date: 2006-04-14 14:15

Message:
Logged In: YES 
user_id=10325

That is NOT the problem, as can be seen in the attached
example of a moderation message.  The message header shows
that it came from lists.brouhaha.com, which is the correct
virtual domain for the list, as configured, but the
moderation link in the message has the hostname
donnybrook.brouhaha.com, which is the primary hostname of
the machine.

I confirmed the list configuration using config_list:

% ~mailman/bin/config_list -o - test1 | grep ^host_name
host_name = 'lists.brouhaha.com'

The only occurrence of "donnybrook" in the output of
config_list is in a comment:
% ~mailman/bin/config_list -o - test1 | grep donnybrook
#
href="http://donnybrook.brouhaha.com/mailman/admin/test1/archive">Archival


(This comment generated by config_list is wrong, which is a
defect in config_list.)


----------------------------------------------------------------------

Comment By: SourceForge Robot (sf-robot)
Date: 2006-04-12 19:20

Message:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

----------------------------------------------------------------------

Comment By: Mark Sapiro (msapiro)
Date: 2006-03-29 17:14

Message:
Logged In: YES 
user_id=1123998

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).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1461054&group_id=103


More information about the Mailman-coders mailing list