This is a discussion on [courier-users] pythonfilter 1.1 - TtlDb error (greylisting.py) within the Courier-Imap forums, part of the Mail Servers and Related category; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I just installed pythonfilter 1.1. Everything worked fine but for the greylisting ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Hi, I just installed pythonfilter 1.1. Everything worked fine but for the greylisting filter which couldn't be initialized. - -- Apr 13 23:44:41 linde courierfilter: Failed to run "initFilter" function from greylist Apr 13 23:44:41 linde courierfilter: Exception : exceptions.AttributeError:OpenError instance has no attribute 'message' Apr 13 23:44:41 linde courierfilter: File "/etc/courier/filters/active/pythonfilter", line 102, in ? Apr 13 23:44:41 linde courierfilter: module.initFilter() Apr 13 23:44:41 linde courierfilter: File "/usr/lib/python2.4/site-packages/pythonfilter/greylist.py", line 65, in initFilter - -- Line 64 reads: except TtlDb. Also the testttldb.py test fails (No module named TtlDb) However, the test does not fail if I manually run the "import TtlDb" command while being in directory /usr/lib/python2.4/site-packages/pythonfilter. So it seems to me that the module is not found although it is in the right directory. What could the problem be? Cheers, Bernd -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIAh9cpYU8M8PbPV4RAkcjAJ49hK1xaNExlYVbI3qaVZ qgARP8VwCfffbY kFrS7TWZ0lrrHtxiHZiymzg= =OtPF -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |