X7ROOT File Manager
Current Path:
/usr/libexec/dovecot
usr
/
libexec
/
dovecot
/
📁
..
📄
aggregator
(36.95 KB)
📄
anvil
(41.16 KB)
📄
auth
(620.12 KB)
📄
checkpassword-reply
(15.61 KB)
📄
config
(214.15 KB)
📄
decode2text.sh
(2.77 KB)
📄
deliver
(36.03 KB)
📄
dict
(154.26 KB)
📄
director
(208.92 KB)
📄
dns-client
(23.21 KB)
📄
doveadm-server
(924.38 KB)
📄
dovecot-lda
(36.03 KB)
📄
gdbhelper
(15.36 KB)
📄
health-check.sh
(943 B)
📄
imap
(417.23 KB)
📄
imap-hibernate
(59.67 KB)
📄
imap-login
(64.9 KB)
📄
imap-urlauth
(39.97 KB)
📄
imap-urlauth-login
(24.02 KB)
📄
imap-urlauth-worker
(83.96 KB)
📄
indexer
(46.86 KB)
📄
indexer-worker
(33.84 KB)
📄
ipc
(36.28 KB)
📄
lmtp
(91.77 KB)
📄
log
(41.97 KB)
📄
maildirlock
(16.25 KB)
📄
mkcert.sh
(879 B)
📄
old-stats
(91.02 KB)
📄
pop3
(83.05 KB)
📄
pop3-login
(46.3 KB)
📄
quota-status
(159.82 KB)
📄
rawlog
(27.46 KB)
📄
replicator
(68.98 KB)
📄
script
(27.2 KB)
📄
script-login
(21.45 KB)
📄
stats
(105.47 KB)
📄
submission
(164.73 KB)
📄
submission-login
(54.19 KB)
📄
xml2text
(16.98 KB)
Editing: health-check.sh
#!/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 { sleep $timeout kill -3 $$ 2>/dev/null } & 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
Upload File
Create Folder