[Exim] dropping email from queue?

Top Page
Delete this message
Reply to this message
Author: Soon-Son Kwon
Date:  
To: exim-users
Subject: [Exim] dropping email from queue?
Hello I am using exim with the following retry configuration:

######################################################################
#                      RETRY CONFIGURATION                           #
######################################################################


# This single retry rule applies to all domains and all errors. It specifies
# retries every 15 minutes for 2 hours, then increasing retry intervals,
# starting at 2 hours and increasing each time by a factor of 1.5, up to 16
# hours, then retries every 8 hours until 4 days have passed since the first
# failed delivery.

# Domain               Error       Retries
# ------               -----       -------


*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h



When I run "mailq" as root, I can see so many messages on the queue
some of them are older than 50 days!

Could anyone please let me know how to drop those emails that could not
be sent within 24 hours? I mean...I want my server completely give up
sending them, send error message to sender, and remove all the related
information on that message to reduce the load.

I think I need to add/modify something to /etc/exim.conf but don't know
what to touch....

Thanks very much....
--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
           (o_             **WTFM**
(o_  (o_   //\
(/)_ (/)_  V_/_        http://kldp.org
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*