mailcow/data/Dockerfiles/dovecot/rspamd-pipe-ham

5 lines
168 B
Bash
Executable File

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