Adrian Wells wrote:
>
>I have two questions concerning customizing message templates that I have
>not yet found answers for in the FAQ or mail archives (if I missed
>something please let me know and in that case I apologize for posting this
>message):
>
>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/[email protected]/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.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to