On Tue, 29 Mar 2005, Jeffrey Laramie wrote: > Hello All, > > I need some help updating the python script that intergrates XMail with the > mailman list manager. Unfortunately I didn't write the script, and since my > programming skills are quite limited and don't include python, my attempts to > modify the script aren't going anywhere.
I have no clue about Python (and not even have urgent plans to learn it), but google always helps ... > The 2 specific problems I have are: > > 1. If the sender uses capitalization in the list name, XMail correctly > recognizes it and executes the correct command alias but the script doesn't > match the name to the correct list. You might want to use a convetion for file names, and than use lower() to convert email addresses: http://python.active-venture.com/lib/module-string.html > 2. The script doesn't append entries to the log file, but instead writes over > the first line each time. You'll have to add an "a" to the open-mode of the log file (or add a seek to the end). - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]