1# rspamd23maddy has direct support for rspamd HTTP protocol. There is no need to use4milter proxy.56If rspamd is running locally, it is enough to just add `rspamd` check7with default configuration into appropriate check block (probably in8local_routing):9```10check {11 ...12 rspamd13}14```1516You might want to disable builtin SPF, DKIM and DMARC for performance17reasons but note that at the moment, maddy will not generate18Authentication-Results field with rspamd results.1920If rspamd is not running on a local machine, change api_path to point21to the "normal" worker socket:2223```24check {25 ...26 rspamd {27 api_path http://spam-check.example.org:1133328 }29}30```3132Default mapping of rspamd action -> maddy action is as follows:3334- "add header" => Quarantine35- "rewrite subject" => Quarantine36- "soft reject" => Reject with temporary error37- "reject" => Reject with permanent error38- "greylist" => Ignored