/usr/libexec/dovecot
NameSizeModeActions
anvil866800755editdlrm
auth5604160755editdlrm
config3836960755editdlrm
deliver367840755editdlrm
dict1618160755editdlrm
dict-expire1247280755editdlrm
dns-client235680755editdlrm
doveadm-server9861120755editdlrm
dovecot-lda367840755editdlrm
gdbhelper157360755editdlrm
health-check.sh10110755editdlrm
imap5144480755editdlrm
imap-hibernate663040755editdlrm
imap-login1297920755editdlrm
imap-urlauth430160755editdlrm
imap-urlauth-login245360755editdlrm
imap-urlauth-worker922880755editdlrm
indexer513120755editdlrm
indexer-worker397280755editdlrm
lmtp1112880755editdlrm
log414000755editdlrm
managesieve819280755editdlrm
managesieve-login518480755editdlrm
mkcert.sh8660755editdlrm
pop3897680755editdlrm
pop3-login518000755editdlrm
quota-status327200755editdlrm
rawlog281280755editdlrm
script281920755editdlrm
script-login220400755editdlrm
settings-history.py63730755editdlrm
stats1372240755editdlrm
submission1746800755editdlrm
submission-login607120755editdlrm
xml2text176400755editdlrm
Edit: /usr/libexec/dovecot/health-check.sh (1011B)
#!/bin/sh # # Copyright (c) 2019 Dovecot authors, see the included COPYING file */ # # This script is intended to be called by the script service and to be # connected to a socket using a service configuration like this: # executable = script -p /path/to/health-check.sh # # This simple example merely answers "PONG\n" if the input is "PING\n". It # stops waiting for input after $timeout which causes the process to die # which causes the script module to close the socket. Inputs and outputs # can be written to STDIN and STDOUT, they are duplicated file-descriptors # if called from the script service. timeout=10 # timeout the read via trap for POSIX shell compatibility trap "exit 0" QUIT trap 'kill $timeout_pid 2>/dev/null' EXIT INT TERM { sleep $timeout kill -3 $$ 2>/dev/null } & timeout_pid=$! read -r input exit_code=$? cleaned_input=$(echo ${input} | sed "s/[^a-zA-Z0-9]//g") if [ ${exit_code} -eq 0 ] && [ "${cleaned_input}" = "PING" ];then echo "PONG" fi # always exit successful exit 0