RE: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
on I have is not supporting it still :( > Maybe it is better to wait until alpine linux updates the package. > > > > -Original Message- > > Subject: RE: Health check curl example > > No worries. Now you are not using the passthrough(-p) mode. That is why &g

RE: Health check curl example

2019-11-25 Thread Marc Roos via dovecot
I can't yet use -p, the version I have is not supporting it still :( Maybe it is better to wait until alpine linux updates the package. -Original Message- Subject: RE: Health check curl example No worries. Now you are not using the passthrough(-p) mode. That is why dovec

RE: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
; } > > > Nov 25 11:44:52 test2 dovecot: script: Fatal: Client not compatible with > this binary (connecting to wrong socket?) > > > -Original Message- > Subject: RE: Health check curl example > > The -e parameter is used to define a "list of envir

RE: Health check curl example

2019-11-25 Thread Marc Roos via dovecot
lient not compatible with this binary (connecting to wrong socket?) -Original Message- Subject: RE: Health check curl example 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.

RE: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
ot/script -e /bin/ health-check.sh > Panic: BUG: No IOs or timeouts set. Not waiting for infinity. > Aborted (core dumped) > > > > > -Original Message- > Subject: Re: Health check curl example > > Hi, > > you can use telnet or netcat to send

RE: Health check curl example

2019-11-25 Thread Marc Roos via dovecot
sr/libexec/dovecot/script -e /bin/ health-check.sh Panic: BUG: No IOs or timeouts set. Not waiting for infinity. Aborted (core dumped) -Original Message- Subject: Re: Health check curl example Hi, you can use telnet or netcat to send input to that port and receive the answer. echo &

Re: Health check curl example

2019-11-25 Thread Markus Valentin via dovecot
e? > > > This one of alpine linux also does not have it yet > bash-5.0# dovecot --version > 2.3.7.2 (3c910f64b) > > > > > > -----Original Message- > Subject: RE: Health check curl example > > Yes. The passthrough option is rather new. &

RE: Health check curl example

2019-11-24 Thread Marc Roos via dovecot
How do I check the standard script then on this port 5001 from the command line? This one of alpine linux also does not have it yet bash-5.0# dovecot --version 2.3.7.2 (3c910f64b) -Original Message- Subject: RE: Health check curl example Yes. The passthrough option is rather new

RE: Health check curl example

2019-11-24 Thread Aki Tuomi via dovecot
rt = 5001 } } bash-5.0# /bin/health-check.sh HTTP/1.1 200 OK Connection: keep-alive OK -Original Message- Subject: Re: Health check cur

RE: Health check curl example

2019-11-24 Thread Marc Roos via dovecot
lth-check.sh HTTP/1.1 200 OK Connection: keep-alive OK -Original Message- Subject: Re: Health check curl example Your health check script should implement HTTP protocol. Then you can use passthrough mode and use cURL. The provided script does not speak HTTP. Aki On 24

Re: Health check curl example

2019-11-24 Thread Aki Tuomi via dovecot
Your health check script should implement HTTP protocol. Then you can use passthrough mode and use cURL.  The provided script does not speak HTTP. Aki On 24/11/2019 15:12 Marc Roos via dovecot < dovecot@dovecot.org> wrote: