I want to purge all mail pending in the main queue and have applied the following tweaks in Exim Configurator:
ignore_bounce_errors_after = 1d
timeout_frozen_after = 1d
Can anyone tell me why these do not work.
I want to purge all mail pending in the main queue and have applied the following tweaks in Exim Configurator:
ignore_bounce_errors_after = 1d
timeout_frozen_after = 1d
Can anyone tell me why these do not work.
Does anyone know how to configure Exim to automatically purge mail the remains in the main mail queue undelivered?
How about this ... would anyone know of the server file name of the exim mail mail queue? I will just clear it using cron.
go to the last two fields in the advanced exim.conf editor in WHM and enter your queue values. Exim will then automatically take care of it.
cyberspirit-
Thanks for the tip. I moved the following 2 lines from the very first textbox (where I had them) in the advanced mode of exim config to the very last textbox:
ignore_bounce_errors_after = 1d
timeout_frozen_after = 1d
When I did that I got an configuration error. Can you tell me exactly where to put these commands. Thanks![]()
well, I never said that you should enter "your" text into these fields, I talked about queue time out values.
Go to the last to fields in WHM exim conf editor and see the example and enter something accordingly.
I also highly recommend the documentation at exim.org if you are not familiar with Exim.
The values you are trying to use - just forget about them, they are not needed for what you are trying to accomplish.
Has anyone successfully achieved this yet?
(I host quite a few autoresponder service scripts) I put:
* refused F,2h,15m; G,16h,1h,1.5; F,36h,8h
* * F,2h,15m; G,16h,1h,1.5; F,1d,8h
in the last box of the exim configuration editor. This was recommended a year or so ago by someone at this forum, and it works pretty well for me, although I confess I don't know all that much about exim or whether this is "best practice" or not.
Diana Ward
http://aqualityhost.com
Sanity calms, but madness is more interesting.
<cite>-- John Russell </cite>
That's why I'm a Web designer/host."
<cite>-- Diana Ward</cite>
Wow, thanks 'dianaward'...I didn't think there was a solution to this anomaly with Exim. Every morning I manually purge the queue which gets up over 1000 messages a day. Somewhere in the Exim or cPanel or WHM system there is a bug but to-date, noone has been able to help me with it.
I will try your suggestion...hopefully I can get out of the manual-purge-task and use a little automation![]()
Thanks again Diana but that did not do it...my queue still fills up and the only way to get rid of the nasty deadmail messages is to purge the queue manually. Hopefully Exim, or cPanel, or WHM will fix the bug in the future.![]()
AFAIK, there aren't any bugs. Are you sure that:
1. Tried resetting exim.conf back to defaults:
/scripts/reseteximtodefaults
2. You have no sites overquota (that will cause mail queue buildup unless you disable queuing of over quota accounts)
3. You've replaced any :blackhole: or /dev/null aliases in /var/aliases and made them :fail:
http://www.configserver.com/free/fail.html
4. Installed a dictionary attack ACL:
http://www.configserver.com/free/eximdeny.html
5. Checked the email to find out what it is and why it is queuing in the first place?
6. Checked that your DNS resolvers work
7. Checked that users haven't forwarded email to accounts that are full/non-existent
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Hmmm . . . I think I have all of those steps covered except #2. (I have Chirpy handle this stuff for me, so it is always up-to-date)
It appears that the queue isn't purging 8-9 day old queued mail (addressed to remote user whose server isn't accepting connection), when there is 1 day old queued mail addressed to a local user whose disk usage is at his quota.
Does this mean that the purging process won't run when any local/over quota messages are queued, even if the messages to be purged are not local?
Thanks,
Bill
You could try the settings I've mentioned in step 9 here:
http://forums.cpanel.net/showpost.ph...69&postcount=2
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Thanks. I did that, but I notice that the same variables are set lower in the exim config file ... does a later variable setting rule, or does the first?