This shows you the differences between two versions of the page.
Previous revision | |||
— | reference:spamrules_statement_startdnsbl [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Spam Filter Rules: StartDNSBL====== | ||
+ | ^Statement | ||
+ | ^Version | ||
+ | ^Purpose | ||
+ | The **StartDNSBL** statement requires a hostname and DNSBL zone, in the format | ||
+ | StartDNSBL < | ||
+ | |||
+ | The DNS blacklist lookup begins immediately, | ||
+ | |||
+ | |||
+ | =====Example===== | ||
+ | < | ||
+ | StartDNSBL ${SenderIP} sbl.spamhaus.org | ||
+ | |||
+ | # Continue with the rest of the script, whilst also running the DNS blacklist lookup | ||
+ | |||
+ | # By the time the script reaches the DNSBL statement, the lookup should either be fully or partially completed. | ||
+ | |||
+ | DNSBL ${SenderIP} sbl.spamhaus.org dnsresult | ||
+ | </ |