[Mailman-Users] spamassassin with mm2.1.3
Jon Carnes
jonc at nc.rr.com
Fri Oct 17 21:16:17 CEST 2003
Helpful Button - Off.
I'm not looking to start a Holy War here but I think it is bit
ridiculous to run SpamAssassin as a plug-in to Mailman. SpamAssassin
works 100% of the time when used as a plug-in with your MTA (or via
MailScanner), and there are no (as in none: circle-with-a-slash)
integration issues. Unless you upgrade your MTA as often as you do
Mailman, look at using SA with your MTA instead of calling it via
Mailman.
Helpful Button - On
Jon Carnes
On Fri, 2003-10-17 at 14:13, Dave Stern - Former Rocket Scientist wrote:
> Has anyone gotten this to work?
>
> I followed the instructions at
> http://www.daa.com.au/~james/articles/mailman-spamassassin/
>
> but now nothing goes thru and the error log says
>
> Oct 17 14:01:07 2003 (29854) Uncaught runner exception: global name 'False' is not defined
> Oct 17 14:01:07 2003 (29854) Traceback (most recent call last):
> File "/fs/mailman2/Mailman/Queue/Runner.py", line 110, in _oneloop
> self._onefile(msg, msgdata)
> File "/fs/mailman2/Mailman/Queue/Runner.py", line 160, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/fs/mailman2/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
> more = self._dopipeline(mlist, msg, msgdata, pipeline)
> File "/fs/mailman2/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
> File "/fs/mailman2/Mailman/Handlers/SpamAssassin.py", line 76, in process
> score, symbols = check_message(mlist, str(msg))
> File "/fs/mailman2/Mailman/Handlers/SpamAssassin.py", line 58, in check_message
> connection = spamd.SpamdConnection(SPAMD_HOST)
> File "/fs/mailman2/Mailman/Handlers/spamd.py", line 79, in __init__
> self.request_headers = mimetools.Message(StringIO.StringIO(), seekable=False)
> NameError: global name 'False' is not defined
>
> Oct 17 14:01:07 2003 (29854) SHUNTING: 1066413667.322263+e093d2f8ddc007ba43f897f8caa718ced2d9fb58
>
>
> I also tried modifying Defaults.py and adding into the GLOBAL_PIPELINE sections
> a line saying `SpamAssassin', just like the other modules but that didn't
> work either.
>
> TIA
>
> =-=-=-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
> David Stern University of Maryland
> Institute for Advanced Computer Studies
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> 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/
>
> This message was sent to: jonc at nc.rr.com
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com
More information about the Mailman-Users
mailing list