How to set Exim to give up trying...

chasjs

Verified User
Joined
Nov 1, 2004
Messages
48
Location
Colorado
periodically a message will not go through to a recipient. It appears like it is usually a "connection timed out" issue. It appears that exim will continue trying until the end of time and also sending warnings to the sender.

I would like to set if up so if the message does not go through within a set amount of time it bounces back to the sender with a message they delivery failed. That is how it is on our other mail servers (non-exim). I have not found the setting looking at the Exim documentation. I did see how you could turn off the warning but that is not what I want.
 
It does bounce back...

At the very bottom of /etc/exim.conf

# 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 1 hour 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
# ------ ----- -------
begin retry
* * F,2h,15m; G,16h,1h,1.5; F,4d,8h
 
My exim.conf is set exactly like that but we have messages that sit in the queue until we manually delete them and these are way beyond the 4 days. And they continue to sent warnings to the sender.
 
Then you should probably investigate why. If you can't find the reason online you might want to ask on the exim-users mailing list.

Jeff
 
We are investigating why, that is what prompted my post to the board. We have gone over the configuration several times. And also reviewed the Exim online documentation.

I guess it is safe to say this is not normal behavior for Exim.

I will see what I can find out.
 
Back
Top