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!

Override exim messages

Discussion in 'E-mail Discussion' started by rahnev, Apr 28, 2017.

Tags:
  1. rahnev

    rahnev Active Member

    Joined:
    Jul 6, 2016
    Messages:
    38
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    Hello,
    I need to change the language for exim error messages. For example this one:
    Code:
    fail_remote_domains:
      driver = redirect
      domains = ! +local_domains : ! localhost : ! localhost.localdomain
      allow_fail
      data = ":fail: The mail server could not deliver mail to $local_part@$domain.  The account or doma
    in may not exist, they may be blacklisted, or missing the proper dns entries."
    I need to change the data text in different language.

    I edit the /etc/exim.conf.local file and added the configuration under @ROUTERMIDDLE@ section:
    Code:
    @ROUTERMIDDLE@
    fail_remote_domains:
      driver = redirect
      domains = ! +local_domains : ! localhost : ! localhost.localdomain
      allow_fail
      data = ":fail: Custom message. The mail server could not deliver mail to $local_part@$domain."
    Rebuilding the file exits with this error message:
    Code:
    /scripts/buildeximconf
    ....
    ....
    Exim configuration error:
      there are two routers called "fail_remote_domains"
    What am I doing wrong or is there another way to change those kind of text in different language?

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    There's discussion of a workaround for making this type of change on the following thread:

    /scripts/posteximup help

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rahnev

    rahnev Active Member

    Joined:
    Jul 6, 2016
    Messages:
    38
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    Thank for your answer.
    Is there some "native" solution? The described method is not very useful because if you make changes to current exim configarion, you will need to regenerate this custom file.
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    There's no functionality to support customization of those values in the Advanced Editor, but I encourage you to open a feature request if you'd like to see that in the future:

    Submit A Feature Request

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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