doc:appunti:linux:sa:spamassassin_private_dnsbl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:spamassassin_private_dnsbl [2020/02/17 18:22] – [How to use a private DNSBL with SpamAssassin] niccolo | doc:appunti:linux:sa:spamassassin_private_dnsbl [2021/10/08 10:45] (current) – [Python script to manage the dynamic zone] niccolo | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== How to run a private DNSBL with SpamAssassin ====== | + | ====== How to run a private DNSBL for SpamAssassin ====== |
| Here we will present a recipe to create a personal **[[wp> | Here we will present a recipe to create a personal **[[wp> | ||
| Line 33: | Line 33: | ||
| </ | </ | ||
| - | ==== The Dynamic Zone ==== | + | ==== The dynamic zone ==== |
| Your DNS server will manage a **dynamic zone** dedicated to the DNSBL service. Create a file **/ | Your DNS server will manage a **dynamic zone** dedicated to the DNSBL service. Create a file **/ | ||
| Line 75: | Line 75: | ||
| < | < | ||
| - | header | + | header |
| - | describe | + | describe |
| - | score CUSTOM_DNSBL | + | score |
| </ | </ | ||
| You can customize the **score** (default SPAM score is 5.0 in SpamAssassin) to match your requirements. | You can customize the **score** (default SPAM score is 5.0 in SpamAssassin) to match your requirements. | ||
| - | ===== Python | + | ===== Python |
| - | Finally we need a script to add, remove or query IP address into the DNSBL zone. We have written a **{{.: | + | Finally we need a script to add, remove or query IP address into the DNSBL zone. We have written a **{{.: |
| < | < | ||
| Line 104: | Line 104: | ||
| < | < | ||
| - | dig -tAXFR | + | dig -tAXFR |
| </ | </ | ||
doc/appunti/linux/sa/spamassassin_private_dnsbl.1581960175.txt.gz · Last modified: by niccolo
