PDA

View Full Version : Clearing the mail queue or automatic removing after X attempts



Tertsi
03-17-2007, 06:35 AM
Why isn't there an option to clear the whole mail queue in DirectAdmin and is there a way to make an e-mailing attempt automatically cancel if it doesn't succeed after X tries?

Currently I can see very old messages there if I never clear them.

nobaloney
03-18-2007, 10:28 AM
Cleaning the whole mail file should be only a last-resort option; it will likely delete good emails which haven't left the server, and may delete important emails.

Your exim.conf file should have settings for how long an email remains on the queue before it is frozen and before it's deleted.

Jeff

Tertsi
03-19-2007, 01:01 AM
Okay thanks but where is this exim.conf file on CentOS 4 with DirectAdmin? I can't find it.

nobaloney
03-19-2007, 09:59 AM
On CentOS4 you should find it at: /etc/exim.conf.

Jeff

Tertsi
03-20-2007, 06:20 AM
Alright thank you.