You create the database file with the included script and place it in a proper directory.
mkdir /var/db/greylite chown qmaild:qmaild /var/db/greylite
sqlite -init scripts/greylite-sqlite.sql /var/db/greylite/greylite.db
Done.
Placing the database file in other directories is possible, you have to reflect these changes into the control file for tcpserver.
You will need the following environment variables for this database configuration:
DBFILE="/var/db/greylite/greylite.db"
See greylite controls for more information.