|MithiWiki Home > ConnectXf Home > ConnectXf Administration > Configuration > Frequently getting broadcast message warning: Some queue size are exceeding threshold 'threshold value'|
Frequently getting broadcast message warning: Some queue size are exceeding threshold 'threshold value'
- Frequently getting alerts/ broadcast message warning: Some queue size are exceeding threshold 'threshold value'
- For example:
- Warning: Some queue size are exceeding threshold 300.
- Administrators find that postfix queue contains emails from root to root.
Check the Postfix queue using following command
postqueue -p -c /etc/connectxfpostfix/postfix
These emails are generated by an agent which updates spam rules. As they increase in queue, and crosses the threshold value administrator gets alerts as per the agents configured.
I. Delete these mails from the queue. It is advised to take back up before deletion.
To delete mails from the postfix queue, execute the following command on the server to delete all these emails:
[root@servername]# postqueue -p -c /etc/connectxfpostfix/postfix | grep 'root' | cut -d ' ' -f1 | sed '/^$/d' | while read line; do postsuper -d $line; done
Also, servers which do not use ConnectXf's spam engine - like MEM can disable the agent.
II. Disable messages
To disable the broadcast of these mails, you can follow the instructions below:
- Open crontab file
- Change the MAILTO parameter from root to double quotes ("") as shown in the screenshot.
- Save and exit the file.
- Restart crond service.