Mark Sapiro said:
> You're almost there. If you look at lines 97 and 98 in
> /usr/local/mailman/Mailman/Handlers/SpamDetect.py, you'll see
>
> for header, regex in mm_cfg.KNOWN_SPAMMERS:
> cre = re.compile(regex, re.IGNORECASE)
>
> Thus, the bad regex is in the KNOWN_SPAMMERS list in mm_cfg.py.
>
> Note that the format of this list is for example
>
> KNOWN_SPAMMERS = [
> ('subject', '.*[s$]ex'),
> ('header2', 'regex2'),
> ('header3', 'regex3')
> ]
>
> Also, see the discussion in Defaults.py about KNOWN_SPAMMERS in
> Defaults.py. It may be preferable to use Privacy options...Spam
> filters in the list configuration.
>
Thanks. I saw my problem with the KNOWN_SPAMMERS, but after fixing it I
still the same error. I even removed KNOWN_SPAMMERS from my mm_cfg.py and
I still get the error.
Looking at the code in SpamDetect, I don't see how it could get that
error without KNOWN_SPAMMERS defined. It shouldn't enter the loop at all.
Is the config file cached somewhere?
Thanks again for the response.
/dwight
--
Dwight N. Tovey
email: [EMAIL PROTECTED]
web: http://www.dtovey.net/~dwight
-----------
"All that is necessary for the triumph of evil is that good men do
nothing." Edmund Burke
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp