Skip to content

zabbix-User in authorized_mailq_users of main.cf

In Zabbix Monitoring it's possible to add a UserParameter: /etc/zabbix/zabbix_agentd.conf.d/postfix.conf: UserParameter=postfix.queue, mailq | grep -v "Mail queue is empty" | grep -c '^[0-9A-Z]'

After activation, you will be able to monitor the mailqueue. After every update, the zabbix-User will be removed in main.cf in the following line authorized_mailq_users