mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-13 23:27:11 +00:00
[Dovecot] Use socket instead of worker IP
This commit is contained in:
1 parent
e3854a8037
commit
a2ca550aa0
2 files changed
+2
-2
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
/usr/bin/curl -s --data-binary @- http://rspamd:11334/learnham < /dev/stdin
|
||||
/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
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
/usr/bin/curl -s --data-binary @- http://rspamd:11334/learnspam < /dev/stdin
|
||||
/usr/bin/curl -s --data-binary @- --unix-socket /rspamd/rspamd.sock http://rspamd:11334/learnspam < /dev/stdin
|
||||
# Always return 0 to satisfy Dovecot...
|
||||
exit 0
|
||||
Reference in new issue
Block a user