[Mailman-Users] got_owner_email, got_moderator_email?

Mark Sapiro msapiro at value.net
Wed Jul 20 17:29:39 CEST 2005


James wrote:

>Is there a list of the codes/values that can be used in postheld.txt?

>From Hold.hold_for_approval()

    d = {'listname'   : listname,
         'hostname'   : mlist.host_name,
         'reason'     : _(reason),
         'sender'     : sender,
         'subject'    : usersubject,
         'admindb_url': mlist.GetScriptURL('admindb', absolute=1),
         }
and
        d['confirmurl'] = '%s/%s' % (mlist.GetScriptURL('confirm',
absolute=1),
                                     cookie)

I.e. the replacements you can use are listname, hostname, reason,
sender, subject, admindb_url and confirmurl. Sone of these are
intended to be used in the notice to the admin (postauth.txt) and
aren't to meaningful in the notice to the user, e.g., admindb_url.

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




More information about the Mailman-Users mailing list