[CrackMonkey] Aha! I found it!

Nick Moffitt nick at zork.net
Wed Mar 15 17:18:16 PST 2000


	I got this little beauty from the mailman-users list.


	Not bad.


----- Jim Tittsler <jwt at dskk.co.jp> -----

On Wed, Mar 15, 2000 at 02:38:43PM -0800, Nick Moffitt wrote:
>[...] But unfortunately lynx strips trailing whitespace from input
> boxes.  So instead, my subject lines look like this:
> 
> Subject: [listname]hello, world.
> 
> 	Since mailman doesn't seem to use plain-text configuration
> files, I can't just go in and manually add the space.

You can modify the configuration at the command line by taking
advantage of the bin/withlist tool:

(open the list configuration database with locking, change it, save
it, and unlock it)

$ python -i bin/withlist -l my-list
>>> print m.subject_prefix
[My-list] 
>>> m.subject_prefix = "[My-list] "
>>> m.Save()
>>> m.Unlock()
>>> EOF (Ctrl-D for Unix)

Alternatively, if you need to do this to a lot of lists,
Utils.map_maillists can be used to apply a function of your own
devising across your lists.


-- 
Jim Tittsler, Tokyo
Python Starship     http://starship.python.net/crew/jwt/


------------------------------------------------------
Mailman-Users maillist  -  Mailman-Users at python.org
http://www.python.org/mailman/listinfo/mailman-users

----- End forwarded message -----

-- 
CrackMonkey.Org - Non-sequitur arguments and ad-hominem personal attacks
LinuxCabal.Org  - Co-location facilities and meeting space 
Pigdog.Org      - The Online Handbook for Bad People of the Future
                You are not entitled to your opinions.





More information about the Crackmonkey mailing list