There are 2 repositories under socketmap topic.
A postfix socketmap script wrapping an SQL database.