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.

Retry configuration in Exim

Discussion in 'E-mail Discussions' started by Kent Brockman, Jul 14, 2008.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi, after looking in the Adv Exim Config Editor, I wonder how to define custom retry rules when a domain have major needs.

    I see this is defined as default:
    Code:
    *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h
    What if I need that the queue for messages sent thru a domain using huge mailman mailing lists gives up before retrying so many times?
    Can I set this?
    Code:
    domain.com         *           F,2h,15m; G,8h,4h; F,1d,6h
    Will that correctly specify retries every 15 minutes for 2 hours, then retries every 4 hours for 8 hours, then retries every 6 hours until 1 day have passed since the first failed delivery.

    Please tell me if this would work, since the domain needing this is running a daily mailing list sent to about 3000 users, and this is filling the Exim queue, generating a big increase of resources usage. And since -by now- it is on a shared server, I need to rapidly empty the queue to reduce the load.

    Also, tell me if this setting should be pasted before or after the default....
    Code:
    *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h
    (I suppose after, so the *'s doesn't overwrite this setting)

    Does anybody use a better ruleset? I'm open to learn :)

    Regards
     
  2. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    anybody knows how it works? :(
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  4. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Yes, I see.
    Should I delete de /var/spool/exim/db/retry file after or before saving the new retry rule?

    What if I need to override the cpanel default value?
    Code:
    *                      *           F,2h,15m; G,16h,1h,1.5; F,4d,8h
     
  5. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    Put your override in the box above the default in the exim conf editor and that takes priority
     
  6. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    ok, I'll test it. I need to set this to lower retry times cause several users own huge newsletter lists via mailman and since they are posting daily news, I need to keep the queue as smaller as posible.
    Thanks.
     
  7. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    It worked fine.
    BTW, I found some more options to setup, and will be interesting if the cpanel staff makes clear its usage.

    I found that you can alter not only the exim.conf file. You have access to exim.conf.mailman2.dist and exim.conf.mailman2.exiscan.dist. I'll find useful to know which of these two files are used by mailman. Although, I corrected the retry times in both files and the mailman deliveries speeded up.
    Is there anything else we should have in account?

    Thank you
     
Loading...

Share This Page