[Mailman-Users] 2.1.5 fedora core 3 prevent mailbody problem
msapiro at value.net
Mon Jun 13 22:07:18 CEST 2005
Andy Heath wrote:
>so how does "subject:.*[SPAM}.*" (admitredly meaning s or p etc) trigger
>the behaviour but "subject.*spam" not trigger it ?
Because on the second and subsequent passes through it is looking at
the subject of the notice to the owner which contains 's', 'p', 'a'
and 'm' but not 'spam'. I.e. it is looking at
Subject: %(listname)s post from %(sender)s requires approval
with the appropriate substitutions for %(listname)s and %(sender)s.
>Also - where is this code normally ? I presume SpamDetect just
>calls the rules defined in the spam section, nothing
The handler Mailman/Handlers/SpamDetect.py just implements
header_filter_rules and if there is a match and the action is Hold, it
calls the hold_for_approval() method in Mailman/Handlers/Hold.py to
actually hold the message and send the notice.
>And if I do decide to separate owners and
>moderators I may need to do the same trick for moderators -
>where is that code ? (sorry but with directories all over
>the place its horrible finding and grepping.) - presume
>there's a MODERATOR_PIPELINE or similar.
No. There's little if any difference between an owner and a moderator
except for which password(s) they know. There is no MODERATOR_PIPELINE
because there is no listname-moderator address. There is an ability
internally in mailman to send to owners, not including moderators, but
I think this is used only by bounce processing.
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users