Displaying 20 results from an estimated 11000 matches similar to: "Health check curl example"
2019 Nov 24
2
Health check curl example
I think I already have that, I am having this configured
service health-check {
# this is the default configuration using the simple PING->PONG
# example health-check.
executable = script -p /bin/health-check.sh
inet_listener health-check {
port = 5001
}
}
bash-5.0# /bin/health-check.sh
HTTP/1.1 200 OK
Connection: keep-alive
OK
-----Original Message-----
Subject: Re:
2019 Nov 24
2
Health check curl example
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.
Aki
On 24/11/2019 15:28 Marc Roos via dovecot < dovecot at dovecot.org>
wrote:
I think
2019 Nov 25
2
Health check curl example
:) I really starting to feel a bit like an idiot, but all these 3
configs[0] give error 'Client not compatible with this binary'
[0]
service health-check {
executable = script /bin/health-check.sh
inet_listener health-check {
port = 5001
}
}
service health-check {
executable = script -e "HOME PATH" /bin/health-check.sh
inet_listener health-check {
port =
2019 Nov 25
2
Health check curl example
Thanks, Markus, maybe we should add this to the admin_manual? However I
am now getting the error 'script: Fatal: Missing script path'
Similar as when I try via the command line
bash-5.0# /usr/libexec/dovecot/script -e /bin/health-check.sh
Fatal: Missing script path
bash-5.0# /usr/libexec/dovecot/script -e /bin/ health-check.sh
Panic: BUG: No IOs or timeouts set. Not waiting for
2019 Nov 25
1
Health check curl example
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
dovecot is telling you that your client is not compatible.
Using "script" without -p would require you
2019 Nov 24
0
Health check curl example
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Yes. The passthrough option is rather new.
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 24/11/2019 15:28 Marc Roos via dovecot <
<a
2019 Nov 24
0
Health check curl example
<!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>
2019 Nov 25
0
Health check curl example
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 want to do is to keep this line
executable = script -p health-check.sh
and just replace
2019 Nov 25
0
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.
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 script).
Executing the script executable standalone does not work it must be started from
2019 Nov 25
0
Health check curl example
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 of alpine linux also does not have it yet
> bash-5.0# dovecot
2019 Dec 08
2
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
What it is way most best for causing bash script run (as root) of time
mailbox created (lda_mailbox_autocreate)?
I use dovecot 2.3.4.1 in Debian 10.
And I use of mail-crypt-plugin
https://doc.dovecot.org/configuration_manual/mail_crypt_plugin/
I setup mail-crypt for requiring user encrypted EC key
(mail_crypt_require_encrypted_user_key = yes). I want for passphrase
encrypt EC key using client
2019 Oct 04
2
Home Directory Creation
> On 04/10/2019 21:34 Asai via dovecot <dovecot at dovecot.org> wrote:
>
>
> On 10/4/2019 12:58 AM, Sami Ketola via dovecot wrote:
>
> > It depends heavily on how do you add users to your system. If you are using LDAP to store the user information then you can create the home directory at the same time you add the user to ldap.
> >
> > Sami
>
2019 Dec 08
2
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
> Technically creating and encrypting folder key does not
> require decrypting user's private key. All folder keys
> are encrypted with user's public key.
Problem is for that this is a new user. The new user has no private key. I
need for generating that private key. It do not the sense encrypts
something using a key public if there is no private key. Both key public
and private
2019 Dec 27
7
Issue running Dovecot in Docker Container
The conf.d files are not included. I have added !include conf.d/*.conf to
director.conf and reloaded the dovecot and director services.
conf.d/10-logging also has the following lines:
log_path = /dovecot.log
info_log_path = $log_path
debug_log_path = $log_path
The /dovecot.log file still shows empty. Nothing is being logged to that
file.
Thanks & Regards,
Naveen
On Thu, Dec 26, 2019 at
2018 Dec 08
1
Plugins/MailboxAlias configuration not working when not successive
This is not working because the numbering is not successive. This whole
configuration implementation is of course nothing to be proud of.
plugin {
#setting_name = value
# archive folder
mailbox_alias_old = Archive
mailbox_alias_new = Archief
mailbox_alias_old2 = Archive
mailbox_alias_new2 = Archief mappen
mailbox_alias_old3 = Archive
mailbox_alias_new3 = Archived messages
2018 May 16
3
External Program for Authentication?
Is it possible to run a bash script for authentication where a 0 exit
code indicates success and a non-zero is failure? What I'm trying to do
is create a shadow IMAP server that authenticates against a different
server. That way my server will use the same passwords as an existing
server.
So what I would need is for dovecot to pass the username and password to
my script, I attempt to log
2012 Oct 10
4
How do we get the End of Line date for the gems which we are using Ruby on Rails?
Hi All,
I want to know the EOL date for the below gems for ROR. Can anyone help me
how to find the EOL dates
- authlogic
- will paginate
- oauth-plugin 0.3.14
- statistics 0.1.1
- YUI
- cucumber 0.6.4
- cucumber-rails 0.3.0
- rspec 1.3.0
- rspec-rails 1.3.2
- webrat 0.7.0
- factory-girl 1.2.4
- database_cleaner 0.5.0
- SSL requirement
- calender_select
2019 Dec 26
2
Packages missing from repo
Hi,
Since a couple of weeks the Dovecot packages for Debian Jessie and
Ubuntu Trusty have disappeared from the repo. According to
https://repo.dovecot.org/ they should be in
https://repo.dovecot.org/ce-2.3-latest/debian/jessie and
https://repo.dovecot.org/ce-2.3-latest/ubuntu/trusty, but that leads to
a 404. Where can I find them?
Jon
2019 Jan 15
3
MySQL 8.0: Supported?
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
Any way you could check config.log ?
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 15 January 2019 at 22:32 Larry Rosenman <
<a
2019 Dec 29
1
Packages missing from repo
Op 26-12-2019 om 18:26 schreef Aki Tuomi:
>
>> On 26/12/2019 12:28 Jon Geerars < scholier at scholieren.com
>> <mailto:scholier at scholieren.com>> wrote:
>>
>>
>> Hi,
>>
>> Since a couple of weeks the Dovecot packages for Debian Jessie and
>> Ubuntu Trusty have disappeared from the repo. According to
>>