Bugs item #1090208, was opened at 2004-12-22 21:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid0103&aid90208&group_id3
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
[email protected], etc.
This results in confusion among users.
Since the "From" address of the reminder is mailman-
[email protected] 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 [email protected] instead of
the appropriate [email protected]. But, I don't
think this matters as much as making sure the siteowner
and sitereq addresses are correct.)
Thank you!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?funcÞtail&atid0103&aid90208&group_id3