M maiijarb Verified User Joined Nov 8, 2006 Messages 65 Nov 24, 2010 #1 Hello, I got a lot of msg's in our exim queue. (2-4GB in 1 day) I want a script to clean this daily or empty it before they made it big. Sorry if this is in wrong forum. Any help about this? Thank you. Last edited: Nov 24, 2010
Hello, I got a lot of msg's in our exim queue. (2-4GB in 1 day) I want a script to clean this daily or empty it before they made it big. Sorry if this is in wrong forum. Any help about this? Thank you.
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,449 Location www.poralix.com Nov 24, 2010 #2 Why don't you tune your exim? A big queue in exim is a result of not using spamassassing and "RBL". Remove all frozen messages: Code: # exiqgrep -z -i | xargs exim -Mrm Remove all messages older than five days (86400 * 5 = 432000 seconds): Code: # exiqgrep -o 432000 -i | xargs exim -Mrm http://bradthemad.org/tech/notes/exim_cheatsheet.php
Why don't you tune your exim? A big queue in exim is a result of not using spamassassing and "RBL". Remove all frozen messages: Code: # exiqgrep -z -i | xargs exim -Mrm Remove all messages older than five days (86400 * 5 = 432000 seconds): Code: # exiqgrep -o 432000 -i | xargs exim -Mrm http://bradthemad.org/tech/notes/exim_cheatsheet.php
M maiijarb Verified User Joined Nov 8, 2006 Messages 65 Nov 25, 2010 #3 Thank you for your reply. How to make a cron job to delete mail queue? http://www.directadmin.com/forum/showthread.php?t=16804
Thank you for your reply. How to make a cron job to delete mail queue? http://www.directadmin.com/forum/showthread.php?t=16804
LawsHosting Verified User Joined Sep 13, 2008 Messages 2,438 Location London UK Nov 25, 2010 #4 My first thoughts, before nuking the queue, is to find out why the queue gets that big. In most cases its spam.
My first thoughts, before nuking the queue, is to find out why the queue gets that big. In most cases its spam.