Pongo is a tool developed by @msurdi at Youzee.com intented to allow Postfix's access(5) lookup utility read from a mongo database. For accomplishing this, it implements Postfix's tcp_table(5) interface.
Once run with the correct arguments, it will start a main process and a pool of workers that will each one create its own connection to the mongo database. Then for every request in tcp_table(5) format sent to the listening process a worker will query the database for the provided KEY value and will return either a 200 followed by the discard string (specified by -s) if the key was found or a 500: not found if it was not in the collection.
- Download and uncompress pongo-VERSION.tar.gz from the dist/ directory.
- Run
pip -i requirements.txt
to install the required dependencies - Run
python setup.py install
to install Pongo. - Run
pongoserver --help
to see the available options.