Skip to main content

Exim Stuck if email is to domain without MX record

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! You'd need to restart Exim in order to make changes to the retry section take effect. Until Exim is restarted it will continue to use the old values as that's what is loaded in the configuration. But yes, adjusting those is the correct way to get broken messages to permanently fail faster.
    0
  • irshad101
    Hello, yes I restart Exim even restart server before posting this. also why email queue have more then 100 items waiting to deliver for long time? Thanks
    0
  • cPRex Jurassic Moderator
    Thanks for the confirmation. In your example with the settings you provided, a message would take 6 hours to completely fail out of the Exim queue. The best way to see what the issue may be with individual messages would be to examine one specific message from the logs, and then see if they all have something in common, such as being sent to the same network or coming from the same address. There likely isn't one reason why all the messages would be stuck in the queue.
    0
  • irshad101
    Thanks for update. I was reading and there is settings to set queue_run_max do you think if we increase value of queue_run_max this will make messages deliver fast? also is there any option in WHM to set this "queue_run_max" Thanks
    0
  • cPRex Jurassic Moderator
    It's possible this could speed up the system as this controls the maximum simultaneous queue runners that Exim uses to handle queued messages. It wouldn't hurt to try and enable that but there isn't an option in WHM to set that up so you'd need to use the Advanced Editor under the Exim Configuration Manager to adjust those settings.
    0
  • irshad101
    Thanks so much for help, could you please help me how to adjust these settings ? Also by default how many queue_run_max in cPanel?
    0
  • cPRex Jurassic Moderator
    cPanel doesn't include a value for this in our Exim configuration by default, so it would be using the general Exim default value of 10 on a new system. You could start with a conservative value like these to see if that increases the speed of the mail delivery: queue_run_max = 15
    The best way to add these values would be to use the WHM >> Exim Configuration Manager under the Advanced Editor tab. If you scroll down to the bottom of the CONFIG section you'll see a blue box that says "Add Additional Configuration Setting." I've attached a screenshot showing this: If you click that box you'll get a new blank line, and if you start typing you'll see that queue_run_max is in the dropdown list. Just add the value, add your number, then scroll to the bottom and click the blue "save" button there to save the changes. These instructions would also apply to other options that aren't listed on the page if you wanted to try additional settings that you don't see.
    0
  • irshad101
    Thanks so much
    0
  • cPRex Jurassic Moderator
    You're very welcome!!!
    0

Please sign in to leave a comment.