Re: [Mailman-Users] list name in email

2007-01-09 Thread Mark Sapiro
Zbigniew Szalbot wrote: > >If I ever want to upgrade mailman (currently I have the latest >stable version so no problem), can /usr/local/mailman/Mailman/MailList.py >be overwritten during upgrade or is it one of those files that don't get >updated? It is one of the files that definitely does get

Re: [Mailman-Users] list name in email

2007-01-09 Thread Zbigniew Szalbot
Hello, >>Thanks a lot. But this does not give me the full name of the list as on >>the mailman homepage for the list (where I took the MM-List-Name variable >>from) but again expands into ppl which is the real name of the list. > > > Then I'm guessing what you want is the list description (self.

Re: [Mailman-Users] list name in email

2007-01-09 Thread Mark Sapiro
Zbigniew Szalbot wrote > >Thanks a lot. But this does not give me the full name of the list as on >the mailman homepage for the list (where I took the MM-List-Name variable >from) but again expands into ppl which is the real name of the list. Then I'm guessing what you want is the list descriptio

Re: [Mailman-Users] list name in email

2007-01-09 Thread Mark Sapiro
Zbigniew Szalbot wrote: > >> Yes, you made a mistake. You'll probably find tracebacks from the >> exception in Mailman's error log. The problem is the value you have >> assigned to the key 'MM-List-Name' is not a defined variable. You need >> >> 'MM-List-Name' : mlist.real_name, >>

Re: [Mailman-Users] list name in email

2007-01-09 Thread Zbigniew Szalbot
Hello again, > And I made a mistake too. It should be > > 'MM-List-Name' : self.real_name, Thanks a lot. But this does not give me the full name of the list as on the mailman homepage for the list (where I took the MM-List-Name variable from) but again expands into ppl which is t

Re: [Mailman-Users] list name in email

2007-01-09 Thread Zbigniew Szalbot
Hi there again, > Yes, you made a mistake. You'll probably find tracebacks from the > exception in Mailman's error log. The problem is the value you have > assigned to the key 'MM-List-Name' is not a defined variable. You need > > 'MM-List-Name' : mlist.real_name, > > rather than

Re: [Mailman-Users] list name in email

2007-01-09 Thread Mark Sapiro
Zbigniew Szalbot wrote: > >I tried your advice and added such a line: > > 'MM-List-Name' : mm_list_name, > >However, mailman stopped sending confirmation messages to me so I guess I >must have made a mistake (I added %(mm_list_name)s to verify.txt. Yes, you made a mistake. You'll

Re: [Mailman-Users] list name in email

2007-01-09 Thread Zbigniew Szalbot
Hello, > The substititions in templates are defined in a Python dictionary that > is passed to the call to produce the substituted template. In general, > the parameters which can be substituted are specific to a given > template and are only those which appear in the base template. > > In this ca

Re: [Mailman-Users] list name in email

2007-01-09 Thread Mark Sapiro
Zbigniew Szalbot wrote: > >Is it possible to insert an equivalent of %(MM-List-Name)s into verity.txt >template? For example, I have list which real name is ppl. It is an >abbreviation and does not mean anything. But when people get the >confirmation message, they should see a full name. > >I tried

[Mailman-Users] list name in email

2007-01-09 Thread Zbigniew Szalbot
Hello, Is it possible to insert an equivalent of %(MM-List-Name)s into verity.txt template? For example, I have list which real name is ppl. It is an abbreviation and does not mean anything. But when people get the confirmation message, they should see a full name. I tried %(MM-List-Name)s, then