SQLite3
=======

This database implementation relies on the "SQLite" library and should work
with version 3.x of the libary.
See http://www.sqlite.org/ for more information about SQLite.

The GL_DATABASE environment variable must be set to the full path of the
file containing the greylisting database. If the file does not exist yet
the plugin will automatically try to create it (which requires appropriate
permissions on the directory).

The database contents can be viewed with the "sqlite3" command line utility:

$ sqlite3 ,,build/test/dbdir/testdb
SQLite version 3.6.23
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select * from gl_greylist;
192.168.16.1|junk@tivano.de|junk@tivano.de|+|414868b9
192.168.16.2|junk@tivano.de|junk@tivano.de|+|414868ba
192.168.16.1|junk01@tivano.de|junk@tivano.de|+|414868ba
192.168.16.1|junk@tivano.de|junk01@tivano.de|+|414868ba
192.168.16.1||junk01@tivano.de|-|414868bb
192.168.16.1|bugtraq-return-$-conrad=tivano.de@securityfocus.com|junk01@tivano.de|+|414868bd
sqlite>

Status
------

This DB implementation is based on the sqlite (version 2) implementation.
It is rather new and should be considered BETA at this time.

