Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kstka/zabbix-postfix-template.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'userparameter_postfix.conf')
-rw-r--r--userparameter_postfix.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/userparameter_postfix.conf b/userparameter_postfix.conf
new file mode 100644
index 0000000..a22c57a
--- /dev/null
+++ b/userparameter_postfix.conf
@@ -0,0 +1,3 @@
+UserParameter=postfix.pfmailq,mailq | grep -v "Mail queue is empty" | grep -c '^[0-9A-Z]'
+UserParameter=postfix[*],sudo /usr/bin/zabbix-postfix-stats.sh $1
+UserParameter=postfix.update_data,sudo /usr/bin/zabbix-postfix-stats.sh