<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Your health check script should implement HTTP protocol. Then you can use passthrough mode and use cURL.
</div>
<div>
<br>
</div>
<div>
The provided script does not speak HTTP.
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 24/11/2019 15:12 Marc Roos via dovecot <
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
I am not understanding how this health check[1] script should work. From
</div>
<div>
the commandline it works fine when I type a PING I get a PONG. But how
</div>
<div>
do I do a curl to this 5001 port?
</div>
<div>
<br>
</div>
<div>
Tried something like this:
</div>
<div>
<br>
</div>
<div>
bash-5.0# curl
<a href="http://localhost:5001/" rel="noopener" target="_blank">http://localhost:5001/</a>
</div>
<div>
curl: (56) Recv failure: Connection reset by peer
</div>
<div>
<br>
</div>
<div>
bash-5.0# curl
<a href="http://localhost:5001/PING" rel="noopener" target="_blank">http://localhost:5001/PING</a>
</div>
<div>
curl: (56) Recv failure: Connection reset by peer
</div>
<div>
<br>
</div>
<div>
[1]
</div>
<div>
<a href="https://doc.dovecot.org/admin_manual/health_check/" rel="noopener" target="_blank">https://doc.dovecot.org/admin_manual/health_check/</a>
</div>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>