3 messages in net.sourceforge.lists.courier-users[courier-users] Re: Problems with Pyt...
FromSent OnAttachments
Heule DanielFeb 10, 2004 12:57 am 
Lloyd ZusmanFeb 10, 2004 6:10 am 
Gordon MessmerFeb 10, 2004 11:10 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: Problems with PythonfilterActions...
From:Lloyd Zusman (lj@asfast.com)
Date:Feb 10, 2004 6:10:44 am
List:net.sourceforge.lists.courier-users

"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.