diff --git a/data/Dockerfiles/dovecot/rspamd-pipe-ham b/data/Dockerfiles/dovecot/rspamd-pipe-ham index 7dbb99c1..cca3d8a0 100755 --- a/data/Dockerfiles/dovecot/rspamd-pipe-ham +++ b/data/Dockerfiles/dovecot/rspamd-pipe-ham @@ -1,4 +1,4 @@ #!/bin/bash -/usr/bin/curl -s --data-binary @- --unix-socket /rspamd/rspamd.sock http://rspamd:11334/learnham < /dev/stdin +/usr/bin/curl -s --data-binary @- --unix-socket /rspamd-sock/rspamd.sock http://rspamd/learnham < /dev/stdin # Always return 0 to satisfy Dovecot... exit 0 diff --git a/data/Dockerfiles/dovecot/rspamd-pipe-spam b/data/Dockerfiles/dovecot/rspamd-pipe-spam index 8bb3fe7f..3adbc960 100755 --- a/data/Dockerfiles/dovecot/rspamd-pipe-spam +++ b/data/Dockerfiles/dovecot/rspamd-pipe-spam @@ -1,4 +1,4 @@ #!/bin/bash -/usr/bin/curl -s --data-binary @- --unix-socket /rspamd/rspamd.sock http://rspamd:11334/learnspam < /dev/stdin +/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