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

5 lines
169 B
Plaintext
Raw Normal View History

#!/bin/bash
2018-02-09 05:56:43 +08:00
/usr/bin/curl -s --data-binary @- --unix-socket /rspamd-sock/rspamd.sock http://rspamd/learnspam < /dev/stdin
# Always return 0 to satisfy Dovecot...
exit 0