-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A SQLite backend would be awsome #1
Comments
actually i wanted to support real databases only, but I started working on a sqlite backend just for you :) |
It is always good to have a low profile, low administration choice for lower traffic servers. |
I know, I still wonder how good SQLite would perform with table sizes > 1.000.000 rows :) Anyways, I've just pushed some very basic sqlite support to the sqlite-support banch, mind testing it? |
I tested it, but it seems it is not working. I tested with MySQL and everything worked. But with SQLite3 it seems it is not inserting anything into database. Because when I open the file with sqlite3 CLI tool, there is no row in bley_status. On the other hand it always greylists my addresses and never releases them, which matches with the other observation. When I manually inserted a row in bley_status, Postfix no more responded after RCPT TO. This is the log, which says little about it (I've set periods to a few minutes, and tested it with MySQL, which worked): Aug 15 22:45:10 gholam postfix/smtpd[27014]: connect from localhost[127.0.0.1] |
Yeah... My fault :) commit 3d3e060
|
Still not working. BTW I couldn't find any CURRENT_TIMESTAMP in your code. |
Ew, I should actually push from my local repo :) |
It now inserts into SQLite3 DB the first time. But for entries that already exist in database it makes Postfix freeze after RCPT TO for a long time and then return this error:
|
Okay, another fix commited. (sorry for you being my sqlite guinea pig ;)) |
Seems to work... finally! :) |
Great, thanks for testing! I'll close here then, please open a new issue when you find any bugs :) |
Title says it all. :)
The text was updated successfully, but these errors were encountered: