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
mailman-owner@host, etc.
This results in confusion among users.

Since the "From" address of the reminder is mailman-
owner@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@servername instead of
the appropriate listname-bounces@host. 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

Search Discussions

  • SourceForge.net at Dec 23, 2004 at 12:12 pm
    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Þ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
    mailman-owner@host, etc.
    This results in confusion among users.

    Since the "From" address of the reminder is mailman-
    owner@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@servername instead of
    the appropriate listname-bounces@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_idu166

    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Þtail&atid0103&aid90208&group_id3

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-coders @
categoriespython
postedDec 23, '04 at 6:13a
activeDec 23, '04 at 12:12p
posts2
users1
websitelist.org

1 user in discussion

SourceForge.net: 2 posts

People

Translate

site design / logo © 2022 Grokbase