[ mailman-Bugs-1090208 ] Password reminder bug (wrong "From"
address, etc)
SourceForge.net
noreply at sourceforge.net
Thu Dec 23 12:12:13 CET 2004
Bugs item #1090208, was opened at 2004-12-23 05:13
Message generated for change (Comment added) made by ppsys
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1090208&group_id=103
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Garrett (dolphyn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Password reminder bug (wrong "From" address, etc)
Initial Comment:
Summary of bug: On a system with multiple domains and
multiple lists, the password reminder sometimes contains
information about a list to which the user is not
subscribed, or in some cases, about a list that does not
exist. Likewise, the "From" address of the password
reminder can be incorrect.
Details:
The cron script "mailpasswds" contains the following
code:
siteowner = Utils.get_site_email(host, 'owner')
sitereq = Utils.get_site_email(host, 'request')
sitebounce = Utils.get_site_email
(host, 'bounces')
The problem is, this code is oblivious to the user's actual
subscriptions.
On a CPanel server, for example, it always defaults to
mailman-owner at host, etc.
This results in confusion among users.
Since the "From" address of the reminder is mailman-
owner at host and that address is also referenced in the
mail, users send their questions to that address -- which
may go to the server administrator, or to nobody at all,
instead of the appropriate list owner.
On my setup (a CPanel system) the following
replacement code appears to correct most of the
problem (in combination with an "import string"
statement near the top of the script):
siteowner = string.replace ( listaddr, '@', '-
owner@' )
sitereq = string.replace ( listaddr, '@', '-
request@' )
sitebounce = string.replace ( listaddr, '@', '-
bounces@' )
I have not tested it thoroughly, but I think it corrects
the siteowner and sitereq values.
(For some reason the corrected sitebounce address does
not have any effect. The reminder messages still have a
return-path of mailman-bounces at servername instead of
the appropriate listname-bounces at host. But, I don't
think this matters as much as making sure the siteowner
and sitereq addresses are correct.)
Thank you!
----------------------------------------------------------------------
Comment By: Richard Barrett (ppsys)
Date: 2004-12-23 11:12
Message:
Logged In: YES
user_id=75166
CPanel sells a modified version of Mailman as part of its
commercial hosting product. They have not made their modifications
available to the Open Source developers and users of Mailman.
Unless you can identify that this problem is present with unmodified,
stable Mailman distribution source from sourceforge you will have to
take this matter up with your ISP/or CPanel. This is not least because
without the source code of the CPanel modifications it will be problematic
diagnosing the cause of the problem you observe.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1090208&group_id=103
More information about the Mailman-coders
mailing list