Jim Tittsler wrote:
/usr/share/doc/mailman/README.Debian.gz suggests to add

GLOBAL_PIPELINE.insert(1, 'SpamAssassin')

to mm_cfg.py to activate the spamassassin plugin. On my system this
breaks mailman:

s:/etc/mailman# /etc/init.d/mailman start
Traceback (most recent call last):
  File "/var/lib/mailman/bin/list_lists", line 46, in ?
    from Mailman import mm_cfg
  File "/var/lib/mailman/Mailman/mm_cfg.py", line 20, in ?
    GLOBAL_PIPELINE.insert(1, 'SpamAssassin')
NameError: name 'GLOBAL_PIPELINE' is not defined

Line 20 is probably too early. You must put that line after the 'from Defaults import *' line. Put the line at the end of your mm_cfg.py
Yep, this was it. I had not read the comments for the other options where it says something about fiddling below that line. It's not clear IMHO that this applies to tho spamassassin activation line. If you clarify this e.g. in /usr/share/doc/mailman/README.Debian.gz I suggest to close this bug.
Site list for mailman (usually named mailman) missing
Please create it; until then, mailman will refuse to start


You need to create a site list called 'mailman'.


--Jim Tittsler     http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC      irc://irc.freenode.net/#mailman






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to