#1 (permalink)  
Old 06-24-2004, 10:11 PM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
Exim Configurator Tweak

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-28-2004, 09:00 AM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
Does anyone know how to configure Exim to automatically purge mail the remains in the main mail queue undelivered?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-28-2004, 09:04 PM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
How about this ... would anyone know of the server file name of the exim mail mail queue? I will just clear it using cron.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-21-2004, 12:49 PM
Registered User
 
Join Date: Aug 2001
Posts: 124
kwimberl
Look in here:

/var/spool/exim/input
/var/spool/exim/msglog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-21-2004, 06:28 PM
Banned
 
Join Date: Jun 2003
Posts: 293
cyberspirit is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-22-2004, 02:23 PM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-22-2004, 05:33 PM
Banned
 
Join Date: Jun 2003
Posts: 293
cyberspirit is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-09-2004, 04:29 AM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
Has anyone successfully achieved this yet?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-24-2005, 01:00 PM
dianaward's Avatar
Registered User
 
Join Date: Dec 2002
Location: USA
Posts: 103
dianaward
On my servers with heavy mailers,

(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>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-24-2005, 01:07 PM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 02-25-2005, 01:03 PM
Registered User
 
Join Date: Mar 2004
Posts: 46
secureID
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-25-2005, 04:29 PM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
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
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 05-30-2005, 05:32 AM
dory36's Avatar
Registered User
 
Join Date: Aug 2003
Posts: 179
dory36
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 05-30-2005, 11:00 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
You could try the settings I've mentioned in step 9 here:
http://forums.cpanel.net/showpost.ph...69&postcount=2
__________________
Jonathan Michaelson
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 05-30-2005, 11:19 AM
dory36's Avatar
Registered User
 
Join Date: Aug 2003
Posts: 179
dory36
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc