[Mailman-Users] Temporary ban on lists?

Mark Sapiro mark at msapiro.net
Sun Feb 10 01:52:37 CET 2008

Dennis Carr wrote:
>I can do that, and can use set_mod.py, but how do I get withlist to
>recognize it as a module?  Using the prescribed command line in the
>URL, it does this:
>list at kimba:~$ /usr/sbin/withlist -r /usr/sbin/set_mod.py ffml -s
>dennisthetiger at chez-vrolet.net Importing /usr/sbin/set_mod...
>Traceback (most recent call last):
>  File "/usr/sbin/withlist", line 297, in ?
>    main()
>  File "/usr/sbin/withlist", line 266, in main
>    mod = __import__(module)
>ImportError: No module named /usr/sbin/set_mod

The correct command line with both withlist and set_mod.py stored in
/usr/sbin/ is

/usr/sbin/withlist -r set_mod ffml -s dennisthetiger at chez-vrolet.net

I.e. set_mod.py is in the same directory as withlist and no path and no
.py extension are given in the command.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list