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

5 lines
136 B
Plaintext
Raw Normal View History

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