i think this should fix ntp/smtp based on my testing. now to e2e test.

This commit is contained in:
2025-07-02 17:40:01 -05:00
parent 13e2678be4
commit 8669b64adc
4 changed files with 22 additions and 18 deletions

View File

@ -0,0 +1,13 @@
#!/bin/bash
#Written by Valec 2006. Steal and share.
#Get postfix queue lengths
#extend mailq /opt/observer/scripts/getmailq.sh
QUEUES="incoming active deferred hold"
for i in $QUEUES; do
COUNT=$(qshape "$i" | grep TOTAL | awk '{print $2}')
printf "$COUNT\n"
done