"Heule Daniel" <cour...@blackcrypt.ch> writes:
Hello,
i have installed the Pythonfilter for Courier,
but i have an error !
Feb 10 09:41:07 chsfsr00016 courierfilter: Starting pythonfilter
Feb 10 09:41:07 chsfsr00016 courierfilter: Failed to open correspondents db
in /var/state/pythonfilter, make sure that the directory exists
Feb 10 09:41:07 chsfsr00016 courierfilter: pythonfilter failed to load
modules from /usr/lib/pythonfilter
Feb 10 09:41:23 chsfsr00016 courierfilter: Stopping pythonfilter
the dir /var/state/pythonfilter exist and is owned by the courier user.
What is wrong with my install.
How can help me ?
Thank's Daniel Heule
This is due to the fact that by default, all of the sample filter
modules in the "filters" subdirectory will get installed when you invoke
"python setup.py install". One of those sample filters, "comeagain.py",
is generating this error.
I recommend that you only install the filters that you need. To disable
the installtion of a given filter, append the two following option
values to the "python setup.py install" command line for that filter
that you don't want to install:
--without-filter FILTERNAME.py
... where FILTERNAME.py is one of the modules in the "filters"
subdirectory; i.e., "comeagain.py", "dialback.py", "ratelimit.py",
"spf.py", or "whitelist.py". You have to repeat both arguments for each
filter that you don't want to install.