On Mon, Feb 03, 2003 at 11:11:29AM -0500, [EMAIL PROTECTED] wrote:

> In the mailpasswds script the variables used for 'hostname', 'useraddr',
> 'exreq', and 'owner' are listed as:
> 
>                  'hostname': host,
>                  'useraddr': addr,
>                  'exreq'   : r,
>                  'owner'   : mailman_owner,
> 
> What is the variable name used for listadmin-addr?  I've looked everyplace
> that I can think of and can't find it.  I'd like to replace the
> mailman_owner address used in the cronpass.txt to the listadmin-addr
> address.
 
You should be able to get the list's owner via mlist.GetOwnerEmail().
Once you have that value, just add a new variable token for the
cronpass.txt template, e.g.

    list_owner = mlist.GetOwnerEmail()
    ...
    'hostname' : host,
    'useraddr' : addr,
    'exreq'    : r,
    'owner'    : mailman_owner
    'listowner': list_owner

I'm just guessing at this, though, so your mileage may vary.

-- 
Jon Parise ([EMAIL PROTECTED])  ::  http://www.csh.rit.edu/~jon/

------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [email protected]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to