[Mailman-Users] Additional Customization of Message Templates?

Adrian Wells adrian at whatifnet.com
Tue Mar 22 03:48:02 CET 2005


Mark Sapiro <msapiro at value.net> on Monday, March 21, 2005 at 5:36 PM +0000
wrote:
>>1)  How does one access list specific variables such as 'description' and
>>'info' in templates such as verify.txt and subscribeack.txt?
>>It sounds like this is possible by modifying MailList.py.  In fact there
>>appears to be a previous thread on this subject
>><http://www.mail-archive.com/mailman-users@python.org/msg29827.html>.  
>>Does the information in this apply to this question?
>
>Yes, it does, but MailList.py is not always the module that needs to be
>modified. The second post in the previous thread mentions using grep
>to find the module(s) that reference the template. In the case of
>subscribeack.txt, that module is Deliverer.py
>
>>2)  How does one customize the From and Subject fields in the Welcome or
>>Goodbye messages sent out from a list?
>>It would be great if the value used in the From field was taken from the
>>"Explicit Reply-To: header" specified under General Options on Mailman's
>>default administrative web interface. 
>
>These two messages at least are generated in Deliverer.py by calling
>Message.UserNotification(). The arguments of this call specify To,
>From, Subject, message and language.


Thank you for your quick and informative reply.  I found the answer to my
first question shortly before receiving your reply and after I performed a
bit more grep'ing (and careful reading of the results).  To give proper
credit, there is another post in the archives which also helped to answer
the first question:
<http://www.mail-archive.com/mailman-users@python.org/msg30735.html>.




More information about the Mailman-Users mailing list