[Spambayes] procmail not executing hammiefilter.py
Skip Montanaro
skip at pobox.com
Tue Aug 12 13:54:57 EDT 2003
John> i'd like to get spambayes to run, but procmail doesn't let me. i
John> get stuff like this in the logs:
John> procmail: Executing "/home/johns/bin/spambayes/hammiefilter.py"
John> File "/home/johns/bin/spambayes/hammiefilter.py", line 89
John> print >> sys.stderr, msg
John> ^
John> SyntaxError: invalid syntax
John> procmail: Program failure (1) of
John> "/home/johns/bin/spambayes/hammiefilter.py"
Sounds like you're getting an old version of Python. If hammiefilter.py is
run with a minimalist PATH it's probably picking up /usr/bin/python or
/usr/local/bin/python.
Skip
More information about the Spambayes
mailing list