There's a distutils managed package of the pythonfilter for Courier here:

http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/courier-pythonfilter-0.1.tar.gz

This package includes the dialback filter as well as a copy of a rate limiting filter that I started, but is not complete. The dialback filter requires pydns, available from the same directory as the package above.

To install, unpack the tarball above and run "./setup.py install" from the new directory. If your "python" isn't python2, then use
"python2 ./setup install". If distutils can't open Python's Makefile, you may need to install the "python-devel" (or "python2-devel") package.


Until ratelimit is complete, you should remove /usr/lib/pythonfilter/ratelimit.py

Prepare the dialback environment by creating a directory for the on-disk cache files:
mkdir /var/state/dialback
chown daemon /var/state/dialback


Complete the installation of pythonfilter by adding a symlink to Courier's filter dir:
ln -s /usr/bin/pythonfilter /usr/lib/courier/libexec/filters/


Add the pythonfilter to Courier's filtering:
        filterctl pythonfilter start

Most of these extra steps will be eliminated as soon as I figure out how to hook in to distutils' install process.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to