[Mailman-Users] admin notifications for held messages

Saurav Pathak saurav at sas.upenn.edu
Thu Oct 9 02:39:31 CEST 2003




Thus spake Richard Barrett:

+  As it stands, the patch has to be applied to the Mailman source  
+  distribution and there are only versions for MM 2.1.2 and MM 2.1.3
+  
+  That said, it will probably work with earlier versions of MM 2.1 or can  
+  be trivially adapted to work with them. The code changes themselves are  
+  really quite small and could be added by hand to an installed system if  
+  you really wanted to.

thanks for the patch.  i added the patch by hand, but got the
following error while trying to access the admin webpage:

--------------
Bug in Mailman version <undetermined>

We're sorry, we hit a bug!

If you would like to help us identify the problem, please email a
copy of this page to the webmaster for this site with a description
of what happened. Thanks!
Traceback:

Traceback (most recent call last):
  File "/var/mailman/scripts/driver", line 114, in print_traceback
    from Mailman.mm_cfg import VERSION
ImportError: cannot import name VERSION
--------------

i donot understand why i should be getting this. 

instead of the patches in all the files, I decided to add it in the
Default.py alone.  With all the other files as they were, and only
the Default.py patched, i still get the error.  

saurav
ps: the patch i am applying is:

--------------
diff -r -u -P mailman-2.1.2/Mailman/Defaults.py.in
mailman-2.1.2-mod/Mailman/Defaults.py.in
--- mailman-2.1.2/Mailman/Defaults.py.in        Sun Apr 20 05:02:03 2003
+++ mailman-2.1.2-mod/Mailman/Defaults.py.in    Wed Jun 25 15:49:37 2003
@@ -934,7 +934,9 @@
 # Check for administrivia in messages sent to the main list?
 DEFAULT_ADMINISTRIVIA = Yes
 
-
+# Should the body of a message requiring moderation be included in the
+# request to the moderator(s)
+DEFAULT_MODERATE_INC_BODY = Yes
 ^L
 #####
 # Digestification defaults.  Same caveat applies here as with list defaults.
--------------




More information about the Mailman-Users mailing list