Hey fuzzy, fix your MTA! <Off-Topic Rant> Responding via the list, because your MTA is bouncing mail from me... because, according to your MTA, my mail's coming from a spam-friendly domain...
I'm relaying my mail through my ISP, AT&T Broadband (attbi.com), and you're bouncing all mail from there. Hate to think how many legitimate messages you're bouncing... and if you're taking a stand against the biggest cable operator for spam, I'm not sure how you can expect anybody to help you, when they can't even email you! </Off-Topic Rant> Okay, sorry 'bout the flame. Back to your question: Fuzzy said: <snip> > I just tried that I have a bunch of lists that are now virtually > hosted, (they were on the main domain qhen created). > > mt - Multiple Treasures > mt-bj - Multiple Treasures - Beginning of Journey > mt-littles - Multiple Treasures Littles > mt-rr - MT's Reading Room > mt-so - Multiple Treasures SO's > mt-staff - Multiple Treasures Staff > mt2 - Multiple Treasures Two > > I copied fix_url.py and changed the line as shown... > > #! /usr/local/bin/python > > """Reset a list's web_page_url attribute to > http://www.multipletreasures.org/mailman > > This script is intended to be run as a bin/withlist script, i.e. > > % bin/withlist -l -r fix_url_mt <mylist> > """ > > import paths > from Mailman import mm_cfg > from Mailman.i18n import _ > > > > def fix_url(mlist): > mlist.web_page_url = 'http://www.multipletreasures.org/mailman' > print _('Saving list') > mlist.Save() > mlist.Unlock() > > > > if __name__ == '__main__': > print _(__doc__.replace('%', '%%')) > > Then I ran bin/withlist fix_url_mt.py mt > and got the following traceback? > > Importing fix_url_mt... > Running fix_url_mt.py()... > Traceback (most recent call last): > File "bin/withlist", line 271, in ? > main() > File "bin/withlist", line 246, in main > func = getattr(mod, callable) > AttributeError: 'module' object has no attribute 'py' > > I also tried without the .py and got 'has no attriubute fix_url_mt'? > bin/withlist -l -r fix_url_mt mt You forgot the flags... Type bin/withlist for command line help... -l locks the list while the change is being made... -r indicates the next arg is a script to execute... You don't need the .py. Cheers, John ------------------------------------------------------ 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/