SQLgrey is a Postfix greylisting policy service with an SQL database as storage backend. Its goal is to reduce the amount of spam reaching user mailboxes. It includes refined auto-whitelisting, and stores whitelists and connection attempts in a database for easy inspection.