Library/utility to maintain a list of while listed domains.
Project description
# spfwhitelister
spfwhitelister is very simple Python library/utility.
Given a list of domains, it will query SPF records for those domains and retrieve the list of IP addresses authorized to send email for those domains. It can then manage that list in a file.
This can be used when using greylistd. One could schedule (crontab) this utility to run once or twice a day and manage the list of whitelisted hosts.
I am using Exim on Debian. Exim4 is very powerfull but it can be a real pain to configure, especially on Debian with the solit config. I think this is easier. With greylistd any address missed because of the delay would simply be greylisted.
This was tested on Debian with Exim4.
# Installation
We are on PyPi so
pip3 install spfwhitelister
You can then run:
spfwhitelister -o -d google.com amazon.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for spfwhitelister-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be1c3b3d0ec44f4fbcdb02e92fbf61f542b9251f24ebedd45cd2e57f4cb374ab |
|
MD5 | 86f974e168ef95bd2d277c88980c3f0f |
|
BLAKE2b-256 | bf2319dfb52a360bf76a1bc6a0c837e2103d4b853f2230ef89fe9a8b366de785 |