How To: Remove Frozen Mail Queue Alert

  Email

Ticket Example : EKZ-161-56433

Mails in the deferred queue are retried periodically until time out is reached. The action “queued for delivery” means that the mail is already in HES outbound MTA but for some reason, has not yet been accepted by the receiving mail server due to a temporary error. Below are some way you can configure the mail queue alert after entering the root.

First, check the total email by executing this command line
exim -bpc

Then,to check on the user log, go to the specific email log by typing the command line below. Here, you can see all the incoming and outgoing email activity.


cat /var/log/exim/mainlog | grep

Next, check on the frozen mail. Frozen mails are mails sent to invalid, non existent mail accounts which are undelivered to the recipient and still sit in the mail queue are frozen emails. When an email is sent & undelivered, the MTA (Mail Transfer Agent) will try to deliver it a couple of times.


exim -bp | grep frozen

Frozen mail can be one of the reason other mail cannot be deliver or received. To clear some space in the mail, you can delete the frozen mail.


exim -bp | grep frozen | awk {‘print $3’} | xargs exim -Mrm

Else, you can also check on the maximum mail queue and change if necessary by:

crontab -l

change directory to

cd /ips1/ips1-checkMailQueue

Go to edit mode and change the number of mail queue if necessary
vim /ips1/ips1-checkMailQueue