Re: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
Hi, you can use telnet or netcat to send input to that port and receive the answer. echo "PING" | nc localhost 5001 Best regards Markus On 11/24/19 2:43 PM, Marc Roos via dovecot wrote: > > How do I check the standard script then on this port 5001 from the > command line? > > > This one

RE: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
The -e parameter is used to define a "list of environment variables", so the error message telling you that you did not define a script is right. So far i understood that you wanted to use passthrough mode, so do not use -e but -p. (except you need to define some environment-variables for your

RE: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
No worries. Now you are not using the passthrough(-p) mode. That is why dovecot is telling you that your client is not compatible. Using "script" without -p would require you to implement that protocol: http://doc.dovecot.org/admin_manual/health_check.html#script-protocol. I believe all you wan

RE: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
Ah right i did not see that. The minimal equivalent call for the normal script mode would be: echo "VERSION\tscript\t4\t0\nnoreply\n\nPING\n" | nc 127.0.0.1 5001 > On November 25, 2019 1:30 PM Marc Roos via dovecot > wrote: > > > I can't yet use -p, the version I have is not supporting it