2. Run `python db-setup.py` to setup and create new Postgresql database and needed tables in it.
3. Run `python torips.py` to write Tor exit nodes IPs to database. You need to get the torbulkexitlist from [here](https://check.torproject.org/torbulkexitlist)
4. Use your favourite scheduling method to set `python spamcheck.py` to run regularly.