atom feed8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Corrupted Pythonf...
FromSent OnAttachments
Paweł TęczaDec 12, 2008 3:32 am 
Paweł TęczaDec 15, 2008 1:05 am 
Paweł TęczaDec 15, 2008 5:07 am 
Paweł TęczaDec 17, 2008 8:38 am 
Gordon MessmerDec 17, 2008 9:28 am 
Paweł TęczaDec 18, 2008 1:59 am 
Paweł TęczaDec 18, 2008 4:39 am 
Gordon MessmerDec 18, 2008 11:06 am 
Subject:Re: [courier-users] Corrupted Pythonfilter greylist_NotPassed database
From:Paweł Tęcza (pte@uw.edu.pl)
Date:Dec 18, 2008 4:39:09 am
List:net.sourceforge.lists.courier-users

Paweł Tęcza pisze:

Gordon Messmer pisze:

At some point in the future, I'll probably add support for the psycopg2 module, used by Zope and Django for PostgreSQL support. PostgreSQL is a terrific DB, but it could seriously use a well supported standard Python module. Yuck.

Fortunately Debian has good package with psycopg2, so I don't need to debianize it :)

Hello again,

Is it very hard to add support for the psycopg2 module right now?

I wrote that I want to debianize real python-pgsql module at Debian Python mailing list [1]. I heard in response that I could try to use psycopg2 module instead of python-pgsql. I did it, but unfortunately it seems that these modules haven't compatible API.

Let me know if you run into issues with SQL support. I still consider it experimental. It was implemented to enable SMTP server clustering, but I haven't used it anywhere in production.

OK, I'll write here about noticed problems. I'm going to put it into action soon.

I'm running your Pythonfilter on one of our front-ends. It's working about 0.5h and haven't seen any issues :)

pythonfilter=> select count(*) from greylist_notpassed; count

------- 57 (1 row)

pythonfilter=> select count(*) from greylist_passed; count

------- 2 (1 row)

Cheers,

P.

[1] http://lists.debian.org/debian-python/2008/12/msg00016.html