jegue
(Jegue)
May 29, 2020, 9:58pm
1
Solution
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
or
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.
slobera
(Sergio Lobera)
May 29, 2020, 10:58pm
2
Hi ! exim is not the default MTA in the FreePBX Distro, we use Postfix for that.
jegue
(Jegue)
May 30, 2020, 4:49pm
3
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).
cheers!
system
(system)
Closed
June 30, 2020, 4:50pm
4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.