Submit
Path:
~
/
/
opt
/
psa
/
admin
/
sbin
/
modules
/
log-browser
/
File Content:
postqueue
#!/usr/bin/env bash # Copyright 1999-2024. WebPros International GmbH. All rights reserved. main() { local command="${1:?"Command must be specified as the first parameter"}" case "$command" in get-queue) postqueue -j exit $? ;; get-message-headers-batch) shift if [[ -z "$1" ]]; then echo "At least one queue ID must be specified" >&2 exit 1 fi while [[ -n "$1" ]]; do echo "$1 $(postcat -qh "$1" | base64 -w0)" shift done ;; delete-message) local id="${2:?"Queue ID must be specified as the second parameter"}" postsuper -d "$id" exit $? ;; flush-message) local id="${2:?"Queue ID must be specified as the second parameter"}" postqueue -i "$id" exit $? ;; purge-all-queues) postsuper -d ALL exit $? ;; *) echo "Unknown command: ${command}" >&2 exit 1 ;; esac } main "$@"
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
journalctl
3631 bytes
0755
last-reboot
24 bytes
0755
list-units
82 bytes
0755
postconf
520 bytes
0755
postqueue
963 bytes
0755
status
34 bytes
0755
syslogd-version
26 bytes
0755
N4ST4R_ID | Naxtarrr