Spamreport block

The spamreport block allows doing HTTP(S) callbacks to services like DroneBL on spamfilter hits. It can also used by the  command.

This feature only exists in UnrealIRCd 6.1.2 and newer

Syntax
spamreport { /* For DroneBL: */ type dronebl; parameters { rpckey "XYZ"; type "ZZZZ"; }       /* For custom URL callbacks: */ type simple; url ' '; // be sure to use single quotes and not double quotes! http-method [get|post]; /* Options for all: */ except { }; rate-limit XX:YY; }

For :
 * You fill in parameters with parameters::rpckey being the RPC key you got from DroneBL, and parameters::type the type to communicate to DroneBL when listing the spam.

For :
 * url is the URL to be called, it can use the following  in the url:
 * : the IP address of the blacklisted user
 * http-method is either  or , usually post is preferred

Finally, there are some optional arguments:
 * except is a Mask item. If you have this then the spamreport callback is not called for clients matching this except. IMPORTANT: a manual  will bypass this except, since the matching code can only work on 'real users'.
 * rate-limit limits the callback to XX per YY time, to avoid flooding both UnrealIRCd and the blacklist.