I don't like the way Mailman checks posts in Hold.py -- I
posted to mailman-users and created a bug, but this
was probably too low of a priority for anyone to notice it.
Basically I want to know if a user posting to a list is a
subscriber (even if the list is moderated) when the list is
in "subscriber only" mode.
I went into Hold.py, knowing almost nothing about
Python, and basically took the if block that checks for
moderated status and moved it below the if block that
checks for subscriber status.
I created this patch by putting my version of Hold.py in
the root of the directory you get when you un-tar
mailman, then I ran:
diff -C 2 Mailman/Handlers/Hold.py Hold.py
This might not be the proper way to make the patch file,
but I've never done it before.
I would like some input/feedback on if this is safe. I
can't fathom this breaking anything, but others obviously
know this code much better than I do -- I just learned
how to compile my python script last night ;)
Log in to post a comment.