OAM / security hardending is my entire next week. laying the groundwork.

This commit is contained in:
2025-06-26 14:10:53 -05:00
parent 8c14f7823b
commit 5549409dcc
14 changed files with 37 additions and 158 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