When I'm using a cPanel account as a backup mail exchanger the mail for my domain should be stored in the queue of my backup mail exchanger until the primary server is online again. And that works fine but for how long is the emails stored in the queue as standard? For how long will the server try to deliver the mail until it gives up? And can I control for how long the emails will be stored?

And that works fine but for how long is the emails stored in the queue as standard? For how long will the server try to deliver the mail until it gives up? And can I control for how long the emails will be stored?

Click to expand...

Hello

The default Exim retry configuration is found in the /etc/exim.conf file:

Code:

######################################################################
# 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
* quota
* * F,2h,15m; G,16h,1h,1.5; F,4d,8h

You can browse to "WHM >> Service Configuration >> Exim Configuration Manager >> Advanced Editor" and search for "Section: RETRYBLOCK" to modify these rules.