The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup Mail Exchanger how long is mail kept in queue?

Discussion in 'E-mail Discussions' started by Erik Ellsinger, Mar 22, 2016.

  1. Erik Ellsinger

    Erik Ellsinger Active Member

    Joined:
    Sep 25, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.

    Thank you.
     
  3. Erik Ellsinger

    Erik Ellsinger Active Member

    Joined:
    Sep 25, 2015
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    This is the retry configuration I have:

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

    From what I can see in exim_mainlog the server tries to deliver the email once every five mintues for an hour, after an hour the email bounces with this message:

    Too many "Received" headers - suspected mail loop

    Do you know of any reason for why it would do that after such a short amount of time?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you provide an example of this from /var/log/exim_mainlog ensuring you remove any identifying information?

    Thank you.
     
Loading...

Share This Page