Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Re-routing errors to mailbox using Exim Advanced Editor, or preventing exim.conf overwrite

Discussion in 'E-mail Discussion' started by maxnugget, Mar 29, 2013.

  1. maxnugget

    maxnugget Registered

    Mar 29, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I need all email errors to be delivered to a mailbox I set up rather than be delivered to the sender. I've been doing this by adding an "errors_to:" to each router in exim.conf, problem is there seems to be no way to prevent WHM from periodically overwriting exim.conf changes (I've tried adding /etc/exim.conf to cpanelsync.exclude, making the file immutable, etc -- CPanel still overwrites the file whenever it updates).

    So, I guess my question is, I either need some way to prevent the exim.conf file from being overwritten, or I need some way to routing errors to a special mailbox that I can enter in the Exim Advanced Configuration Editor. It seems like the Advanced Editor lets you add new routers but not add lines to existing routers. Is it conceivable to add some kind of intermediary router that re-routes all errors perhaps?

    Any help is much appreciated, I've been banging my head on the desk for several months.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice