#!/bin/bash /usr/bin/curl -s --data-binary @- --unix-socket /rspamd/rspamd.sock http://rspamd:11334/learnham < /dev/stdin # Always return 0 to satisfy Dovecot... exit 0