User Tools

Site Tools


reference:spamrules_statement_startsurbl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:spamrules_statement_startsurbl [2018/11/14 10:45] (current)
Line 1: Line 1:
 +======Spam Filter Rules: StartSURBL======
 +^Statement ​ |StartSURBL |
 +^Version ​ |2.2.1+ |
 +^Purpose ​ |Begins an asynchronous SURBL lookup in advance of the result being required in a subsequent [[spamrules_statement_surbl|SURBL]] statement |
  
 +The **StartSURBL** statement requires a hostname and SURBL zone, in the format
 +  StartSURBL <​hostname>​ <SURBL zone>
 +
 +The SURBL lookup begins immediately,​ but the script is allowed to continue. When the **SURBL** statement is reached, the script will get the result of the corresponding **StartSURBL** statement. If the SURBL lookup is still in progress, it will allow the lookup to complete, before returning the result.
 +
 +
 +=====Example=====
 +<​code>​
 +StartSURBL ${Domain} multi.surbl.org
 +
 +# Continue with the rest of the script, whilst also running the SURBL lookup
 +
 +# By the time the script reaches the SURBL statement, the lookup should either be fully or partially completed.
 +
 +SURBL ${Domain} multi.surbl.org surblresult
 +</​code>​
reference/spamrules_statement_startsurbl.txt ยท Last modified: 2018/11/14 10:45 (external edit)