Welcome !Welcome ! I'm Subodh Manikoth, an entrepreneur and a web developer. When I decided to start a personal website, it was with a purpose in mind;  not merely to spout a bunch of loosely woven words with no coherent meaning. The purpose of this website is to give me a place to log things I don't want to forget, and to share these...

Read more


How to remove all frozen emails from the EXIM mail queue?

Category : Web Hosting

Exim is a mail transfer agent (MTA) used on Unix-like operating systems. It aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.

Frozen emails are the emails to invalid mail accounts that were undelivered to the address. If the mail can’t be delivered for an account, the mail will be added in the queue and exim will try a couple of times to deliver the mail. Sometimes it is necessary to remove all frozen messages in exim mail queue immediately.

You can remove all the frozen mails by executing any of following Exim commands.

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

‘exiqgrep’ command:
# exiqgrep -zi|xargs exim -Mrm

Post a comment