X7ROOT File Manager
Current Path:
/usr/libexec/dovecot
usr
/
libexec
/
dovecot
/
📁
..
📄
aggregator
(67.29 KB)
📄
anvil
(71.7 KB)
📄
auth
(1.98 MB)
📄
checkpassword-reply
(20.08 KB)
📄
config
(482.16 KB)
📄
decode2text.sh
(2.77 KB)
📄
deliver
(104.44 KB)
📄
dict
(409.95 KB)
📄
director
(576.32 KB)
📄
dns-client
(43.19 KB)
📄
doveadm-server
(2.82 MB)
📄
dovecot-lda
(104.44 KB)
📄
gdbhelper
(18.9 KB)
📄
health-check.sh
(943 B)
📄
imap
(1.66 MB)
📄
imap-hibernate
(132.3 KB)
📄
imap-login
(161.41 KB)
📄
imap-urlauth
(78.8 KB)
📄
imap-urlauth-login
(46.95 KB)
📄
imap-urlauth-worker
(210.52 KB)
📄
indexer
(97.86 KB)
📄
indexer-worker
(109.48 KB)
📄
ipc
(74.86 KB)
📄
lmtp
(315.25 KB)
📄
log
(89.45 KB)
📄
maildirlock
(23.15 KB)
📄
mkcert.sh
(879 B)
📄
old-stats
(191.44 KB)
📄
pop3
(203.55 KB)
📄
pop3-login
(116.24 KB)
📄
quota-status
(728.74 KB)
📄
rawlog
(48.01 KB)
📄
replicator
(153.09 KB)
📄
script
(44.67 KB)
📄
script-login
(37.48 KB)
📄
stats
(310.02 KB)
📄
submission
(117.75 KB)
📄
submission-login
(40.44 KB)
📄
xml2text
(24.09 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