Unknown output from mailq error

Frozen mails are of no use in exim queue. You can remove all these to reduce the exim queue list.

The following command will remove all the frozen mails:

exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm


exiqgrep -z -i | xargs exim -Mrm

If you want to remove frozen mails older than a particular hours, for example 24 hours:

exiqgrep -zi -o 86400 | xargs exim -Mrm

86400 stands for 24 hours in seconds. That can be changed accordingly.

Hi ! exim is not the default MTA in the FreePBX Distro, we use Postfix for that.

Postfix and Exim4 both are good MTAs for the distribution default.
All things being nearly the same, do use what you know best how to operate and configure" is what really should drive one to choose between exim and postfix (and apparently, sendmail).

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.