mailcow/data/Dockerfiles/dovecot/rspamd-pipe-ham
2018-02-08 22:29:43 +01:00

5 lines
169 B
Bash
Executable File

#!/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