Override exim messages

rahnev

Well-Known Member
Jul 6, 2016
62
7
8
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 [email protected]$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 @[email protected] section:
Code:
@[email protected]
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 [email protected]$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.
 

rahnev

Well-Known Member
Jul 6, 2016
62
7
8
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
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.