The CleanTalk DNSBL Service Usage

 

CleanTalk provides a special DNSBL service to check IP for spam in accordance with its DNS name. This will be helpful in usage in an SMTP server configuration. More info about the DNSBL conception can be found there.

 

Examples of Usage in Postfix and Sendmail

 

You can use these examples to integrate the DNSBL check of IP addresses. Your DNSBL token can be found in the Blacklists API mode of CleanTalk dashboard https://cleantalk.org/my/?cp_mode=api

DNSBL token image

 

1. Example for Postfix:

In the main.cf file add the next record:

smtpd_recipient_restrictions = reject_rbl_client <your_dnsbl_zone_key>.dnsbl.cleantalk.org

 

2. Example for Sendmail:

In the sendmail.mc file add the next record:

FEATURE(`dnsbl', `<your_dnsbl_zone_key>.dnsbl.cleantalk.org', `"Spam detected, see: https://cleantalk.org/blacklists/"$&{client_addr}')dnl

 

 

Was this information helpful?

Copied to clipboard