Email Help wrote:

>I host several mailing lists off a single mailman server. I would like 
>to be able to modify the subject line of the initial welcome message for 
>some of the mailing lists. Is this possible?  I was able to modify the 
>subject line of messages being posted by modifying the global pipeline, 
>but did not see my welcome messages subject being changed.


Mailman generated messages are not processed through the
GLOBAL_PIPELINE. They are processed by VirginRunner through a hard
coded pipeline consisting of CookHeaders and ToOutgoing. VirginRunner
also sets _fasttrack = 1 in the message metadata which causes even
parts of CookHeaders to be skipped.

The actual welcome subject is hard coded in Deliverer in the
SendSubscribeAck method.

So you could (possibly conditionally) modify the subject in
Mailman/Deliverer.py or modify the pipeline in
Mailman/Queue/VirginRunner.py to include your subject munging handler.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9

Reply via email to