rspamd-pipe-ham 168 B

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