In order to save resources, the system stores emails that are unable to deliver as frozen mail when trying to process email delivery.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Exim queries.
In this context, we shall look into how to resolve frozen email messages error.
Frozen mails are the emails which are sent to invalid email address.
Suppose an email address is not valid or real. An attempt to send an email to that address will be known as frozen mail.
If the email does not deliver to the account, it will add to the queue and Exim will try twice to deliver the email based on the settings in the retry configuration in the Exim conf file.
If the recipient does not subsist after the predefined days in Exim conf, those emails will be stored as frozen mails.
Exim is a mail transfer agent on UNIX. A rapidly growing mail server, it handles mails for users daily.
Steps to Use Exim Server:
Suppose, an email is unable to deliver even after several attempts. This email will store under frozen mail.
Several Frozen messages in Mail Queue Manager intend us to examine the log file. Thereby, find the cause and solution to the issue:
/var/log/exim-mainlog
There are certain emails within the mail queue.
Let us see what we need to find:
In order to deliver Mail within the mail queue we follow the below steps:
Generally, we have two methods to remove all frozen emails from Exim Mail Server,
1. Exim-bp command
# exim –bp | grep frozen | awk ‘{print $3}’ |xargs exim -Mrm
2. Exiqgrep command
# exiqgrep –iz | xargs exim –Mrm
This article covers fix the Exim error for our customers. While the mail server doesn't require much interaction for sending or receiving average volumes of email, there may be times when you need to manage Exim's settings.
To Remove all frozen messages, run the command:
# exiqgrep -z -i | xargs exim -Mrm
To Remove all messages older than a defined number of seconds:
# exiqgrep -o seconds -i | xargs exim -Mrm