I have a number of Mailman (2.1.9) lists configured on a couple of
different servers, all of which are configured to send out monthly
password reminders. The URL and designated email hostname for these
lists are defined in add_virtualhost calls in mm_cfg.py, and the lists
work as expected in most respects. Both the list email addresses and
the URLs for each list reference virtual mail and web servers.

There's one catch. Monthly password reminders go out to subscribers to
each list, from "mailman-owner@<list_host>", not a problem in and of
itself, however the text of each of these messages suggest mailing to
"mailman-request@<list host>" and "mailman-owner@<list host>. The
"mailman" list is the system mailman list which isn't addressable via
virtual domains, only by addressing mailman at the primary host name. I
can configure a "mailman" alias for each virtual mail domain, however
mail to "mailman-request" at this domain sends back information on the
mailman list, not the list to which the person is subscribed, and mail
to "mailman-owner" comes to me, rather than the list owner as it should.

A specific example:

I have a list addressed as "players at autoharp.org" which sends out a
monthly reminder which comes from "mailman-owner at autoharp.org". The
message contains the text:

"For more info, send a message to the '-request' address of
the list (for example, mailman-request at autoharp.org) ..." and "If you
have questions, problems, comments, etc, send them to
mailman-owner at autoharp.org."

These addresses should be "players-request at autoharp.org" and
"players-owner at autoharp.org". I host these lists commercially and don't
want to have to deal with questions which should go to the list admins.

Looking at the code, these addresses appear to rely on the singular
variable MAILMAN_SITE_LIST which is site-wide and can't be set per-list.

Is there any way to fix this?

--
Lindsay Haisley | "In an open world, | PGP public key
FMP Computer Services | who needs Windows | available at
512-259-1190 | or Gates" | http://pubkeys.fmp.com
http://www.fmp.com | |

Search Discussions

  • Mark Sapiro at Sep 4, 2008 at 1:58 am

    Lindsay Haisley wrote:
    There's one catch. Monthly password reminders go out to subscribers to
    each list, from "mailman-owner@<list_host>", not a problem in and of
    itself, however the text of each of these messages suggest mailing to
    "mailman-request@<list host>" and "mailman-owner@<list host>. The
    "mailman" list is the system mailman list which isn't addressable via
    virtual domains, only by addressing mailman at the primary host name. I
    can configure a "mailman" alias for each virtual mail domain, however
    mail to "mailman-request" at this domain sends back information on the
    mailman list, not the list to which the person is subscribed, and mail
    to "mailman-owner" comes to me, rather than the list owner as it should.

    Except if a user is subscribed to more than one list in a domain. she
    gets one reminder covering all lists. Thus, it is not appropriate to
    send it from list1 when it contains reminders for list1, list2, ...

    That's why it comes from the site list.

    Is there any way to fix this?

    These things are set in cron/mailpasswds. You could modify that code,
    but it's not straightforward.

    Perhaps a better way to accomplish what you want is to make a site
    specific edited version of templates/<lang>/cronpass.txt per
    <http://wiki.list.org/x/jYA9>, and just eliminate the reference to
    "(for example, %(exreq)s)" and replace "%(owner)s" with a reference to
    "the -owner address of the list".

    Note that this must be a 'site' template and not a 'list' or 'domain'
    template because it is a 'site' message.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Lindsay Haisley at Sep 4, 2008 at 2:58 am

    On Wed, 2008-09-03 at 18:58 -0700, Mark Sapiro wrote:
    That's why it comes from the site list.
    Which is useless if the lists on the site have no relationship to each
    other, nor any relationship to me, as the administrator of a commercial
    hosting service.
    Is there any way to fix this?

    These things are set in cron/mailpasswds. You could modify that code,
    but it's not straightforward.
    You're right. I looked.
    Perhaps a better way to accomplish what you want is to make a site
    specific edited version of templates/<lang>/cronpass.txt per
    <http://wiki.list.org/x/jYA9>, and just eliminate the reference to
    "(for example, %(exreq)s)" and replace "%(owner)s" with a reference to
    "the -owner address of the list".

    Note that this must be a 'site' template and not a 'list' or 'domain'
    template because it is a 'site' message.
    This is probably as good an idea as there is. Where does one find, or
    place "list" templates so as distinguish them from "site" templates?

    --
    Lindsay Haisley | "In an open world, | PGP public key
    FMP Computer Services | who needs Windows | available at
    512-259-1190 | or Gates" | http://pubkeys.fmp.com
    http://www.fmp.com | |
  • Brad Knowles at Sep 4, 2008 at 4:55 am

    At 9:58 PM -0500 9/3/08, Lindsay Haisley wrote:

    That's why it comes from the site list.
    Which is useless if the lists on the site have no relationship to each
    other, nor any relationship to me, as the administrator of a commercial
    hosting service.
    That's one of the reasons why we're going to be getting rid of this
    process in the future, and instead just let users get their password
    reset on demand, and sent to them by e-mail when they reset it.

    But we're not there yet.
    These things are set in cron/mailpasswds. You could modify that code,
    but it's not straightforward.
    You're right. I looked.
    Of course, you could always just turn off this feature entirely. If
    the passwords don't get sent out on a monthly basis, then the site
    list problem goes away, right?
    Note that this must be a 'site' template and not a 'list' or 'domain'
    template because it is a 'site' message.
    This is probably as good an idea as there is. Where does one find, or
    place "list" templates so as distinguish them from "site" templates?
    See FAQ 4.48 at <http://wiki.list.org/pages/viewpage.action?pageId@30605>.

    --
    Brad Knowles <brad at shub-internet.org>
    LinkedIn Profile: <http://tinyurl.com/y8kpxu>

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedSep 4, '08 at 1:12a
activeSep 4, '08 at 4:55a
posts4
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase