Introduction
Generally, changes to the Exim configuration would be made through the Exim Configuration Manager in WHM.
Due to the abstraction of the GUI, it can be difficult to determine how to edit the configuration on the command line. You can use the following steps to locate the files that need to be edited if you would like to do so on the CLI.
Procedure
1. First use the Exim Configuration manager to edit the configuration.
2. If the change was made in the Basic tab of the Exim configuration editor, look for your setting in the following file:
/etc/exim.conf.localopts
3. If the change was made in the Advanced editor, it could be in this file:
/etc/exim.conf.local
4. If your change is not in that file, look at the title of the configuration section and look for the corresponding file in the list of configuration files produced by this command:
find /usr/local/cpanel/etc/exim/acls /etc/exim.* -type f
5. If you have custom RBLs you will need to look for the respective yml files inside /var/cpanel/rbl_info
on the server where you configured them via WHM.
6. Once you have located the change that was made, you can copy that change to another cPanel server of the same version and then run the following commands to integrate the change:
/scripts/buildeximconf
/scripts/restartsrv_exim --restart