[Mailman-Users] Still can't locate the place to change a virtual domain name's base URL for MM2.1b3
mail at freelock.com
Fri Oct 18 01:20:08 CEST 2002
Hey fuzzy, fix your MTA!
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
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!
Okay, sorry 'bout the flame. Back to your question:
> 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
> 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')
> 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 ?
> 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...
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.
More information about the Mailman-Users