SQLite
======

This database implementation relies on the "SQLite" library and should work
with version 2.x of the libary (which is the "stable" branch at the time
this was written).
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 "sqlite" command line utility:

$ sqlite ,,build/test/dbdir/testdb
SQLite version 2.8.15
Enter ".help" for instructions
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 has been used on a production mailserver of a small
company receiving less than 1000 emails per day (excluding SPAM). So far,
no significant problems have been observed. It can be considered stable.

