HEX
Server: Apache
System: Linux viper.innovativeinternet.net 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
User: thetradingroom (1095)
PHP: 8.3.25
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //ibin/pfmailq
#!/bin/bash

cd /var/spool/postfix
cnt=0
for i in incoming "active  " deferred "bounce  " "corrupt " "hold    "
do
 echo -n "$i:"
 size=`find $i -type f | wc -l`
 echo "$size"

 ((cnt += $size));

 done
echo
echo "Total Queue size $cnt"