FAQ
Hello,

I searched the archive, but could find no answer to my question. Is
it possible to edit/modify the contents of the membership reminder
that is sent out monthly by email?

Mikael

Search Discussions

  • Brad Knowles at Jan 15, 2008 at 6:43 pm

    On 1/15/08, Mikael Hansen wrote:

    I searched the archive, but could find no answer to my question. Is
    it possible to edit/modify the contents of the membership reminder
    that is sent out monthly by email?
    It's a template stored in /usr/local/mailman/templates/en/, which you
    can copy to /usr/local/mailman/lists/<listname>/en/, and then edit it
    locally in that directory.

    If you don't have privileged site admin access to the server where
    Mailman is installed and running, then you'll need to ask your site
    admin to do this on your behalf.

    --
    Brad Knowles <brad at shub-internet.org>
    LinkedIn Profile: <http://tinyurl.com/y8kpxu>
  • Charles Marcus at Jan 15, 2008 at 8:33 pm

    On 1/15/2008, Brad Knowles (brad at shub-internet.org) wrote:
    I searched the archive, but could find no answer to my question. Is
    it possible to edit/modify the contents of the membership reminder
    that is sent out monthly by email?
    It's a template stored in /usr/local/mailman/templates/en/, which you
    can copy to /usr/local/mailman/lists/<listname>/en/, and then edit it
    locally in that directory.
    Oops...

    I take it thats the way you should do it for any of them?

    I edited the 'postheld.txt' template in the templates/en directory,
    instead of copying it to the list subdir.

    It works, and I did want the change for all lists - but it is good to
    know how to do a custom one for an individual list if I need to...

    Thanks for the tip...

    --

    Best regards,

    Charles
  • Brad Knowles at Jan 15, 2008 at 8:45 pm

    On 1/15/08, Charles Marcus wrote:

    I take it thats the way you should do it for any of them?

    I edited the 'postheld.txt' template in the templates/en directory,
    instead of copying it to the list subdir.
    If you edited the file in-place, then when you do your next upgrade,
    that template will get replaced.

    If you copy it to a list-specific subdirectory (as I suggested), then
    it won't get replaced as part of the next upgrade.
    It works, and I did want the change for all lists - but it is good to
    know how to do a custom one for an individual list if I need to...
    FAQ 4.48 at
    <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp>
    has more information about editing the templates and what you need to
    do in order to get them to be picked up.

    --
    Brad Knowles <brad at shub-internet.org>
    LinkedIn Profile: <http://tinyurl.com/y8kpxu>
  • Charles Marcus at Jan 15, 2008 at 9:34 pm

    On 1/15/2008, Brad Knowles (brad at shub-internet.org) wrote:
    I take it thats the way you should do it for any of them?

    I edited the 'postheld.txt' template in the templates/en directory,
    instead of copying it to the list subdir.
    If you edited the file in-place, then when you do your next upgrade,
    that template will get replaced.

    If you copy it to a list-specific subdirectory (as I suggested), then
    it won't get replaced as part of the next upgrade.
    It works, and I did want the change for all lists - but it is good
    to know how to do a custom one for an individual list if I need
    to...
    FAQ 4.48 at
    <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp>

    has more information about editing the templates and what you need to
    do in order to get them to be picked up.
    Ok, thanks, some good info there...

    --

    Best regards,

    Charles
  • Mikael Hansen at Jan 16, 2008 at 2:30 am

    On Jan 15, 2008, at 10:43, Brad Knowles wrote:

    It's a template stored in /usr/local/mailman/templates/en/, which
    you can copy to /usr/local/mailman/lists/<listname>/en/, and then
    edit it locally in that directory.
    Done, including sudo bin/mailmanctl restart, but unfortunately my
    list-specific cronpass.txt does not override the standard :-(

    Mikael
  • Mark Sapiro at Jan 16, 2008 at 8:21 pm

    Mikael Hansen wrote:
    On Jan 15, 2008, at 10:43, Brad Knowles wrote:

    It's a template stored in /usr/local/mailman/templates/en/, which
    you can copy to /usr/local/mailman/lists/<listname>/en/, and then
    edit it locally in that directory.
    Done, including sudo bin/mailmanctl restart, but unfortunately my
    list-specific cronpass.txt does not override the standard :-(

    Did you put it in the existing 'lists/listname/en' directory of your
    Mailman installation which may not be
    /usr/local/mailman/lists/<listname>/en?

    Is this an English language list?

    Did you refer to the FAQ for other locations you might want to put the
    edited template to make it domain or site wide?

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 29, 2008 at 11:17 pm

    Mikael Hansen wrote:
    On Jan 15, 2008, at 10:43, Brad Knowles wrote:

    It's a template stored in /usr/local/mailman/templates/en/, which
    you can copy to /usr/local/mailman/lists/<listname>/en/, and then
    edit it locally in that directory.
    Done, including sudo bin/mailmanctl restart, but unfortunately my
    list-specific cronpass.txt does not override the standard :-(

    After much puzzling, this is solved.

    Monthly password reminders are not sent on behalf of a specific list
    even if the remindee is only a member of one list. Therefore, list
    specific (and for implementation reasons, domain specific)
    cronpass.txt templates don't work.

    An edited cronpass.txt must be in
    templates/site/<language>/cronpass.txt.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 15, '08 at 5:34p
activeJan 29, '08 at 11:17p
posts8
users4
websitelist.org

People

Translate

site design / logo © 2022 Grokbase