1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-05-30 11:13:08 +00:00

Fix dovecot for Docker

This commit is contained in:
andryyy
2016-12-13 20:53:42 +01:00
parent 5ec67211d8
commit 1910e3bc29
2 changed files with 0 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
if [[ ${2} == "learn_spam" ]]; then
/usr/bin/curl --data-binary @- http://rspamd:11334/learnspam < /dev/stdin
elif [[ ${2} == "learn_ham" ]]; then
/usr/bin/curl --data-binary @- http://rspamd:11334/learnham < /dev/stdin
fi
# Always return 0 to satisfy Dovecot...
exit 0