exim edit advanced config

Operating System & Version
cloudlinux
cPanel & WHM Version
106.0.10

afistan

Member
Nov 15, 2022
5
0
1
Turkey
cPanel Access Level
DataCenter Provider
Hello

I can change to ssh vi /etc/exim.conf file

I can't add the command I want to add with black.

I add it to the Section: TRANSPORTSTART field, but the error is not successful. I add manually from via via ssh but I can't see it from exim area

how can i add this command. Can anyone share with me in detail? support team has been no help for 4 days.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


remote_smtp:
driver = smtp
interface = <; %CPANEL-smtp-interface%
helo_data = %CPANEL-helo-data%
hosts_try_chunking = 198.51.100.1
message_linelength_limit = 20480
hosts_avoid_pipelining = *


dkim_remote_smtp:
driver = smtp
interface = <; %CPANEL-smtp-interface%
helo_data = %CPANEL-helo-data%
dkim_domain = ${perl{get_dkim_domain}}
dkim_selector = default
dkim_private_key = "/var/cpanel/domain_keys/private/${dkim_domain}"
dkim_canon = relaxed
hosts_try_chunking = 198.51.100.1
message_linelength_limit = 20480
hosts_avoid_pipelining = *
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,463
2,114
363
cPanel Access Level
Root Administrator
Hey there! Did you have a ticket open with our support team on this, or was that with your hosting provider?

In general, you can not directly edit the /etc/exim.conf file on a cPanel server, as that will be overwritten as part of the nightly update. You'll want to use the Advanced Editor section of WHM >> Exim Configuration Manager to apply your customizations, as outlined here:


Can you try adding the custom option through those tools and see if that works better for you?
 

afistan

Member
Nov 15, 2022
5
0
1
Turkey
cPanel Access Level
DataCenter Provider
Support registration for the team has been opened. 5 days passed for resolution. not resolved. is giving error. Does anyone know this? they have done before. currently inactive. It keeps giving an error after updating. simple code. I add it in vi /etc/exim.conf file. whm also does not work actively. I add whm it gives an error. why is it so silly? and pipeline I had no problems before. I guess the exim structure has changed after the last general update.

you can give me clear solution. I don't want to read articles anymore. If I'm going to read an article, why am I paying a support fee?
 

afistan

Member
Nov 15, 2022
5
0
1
Turkey
cPanel Access Level
DataCenter Provider
I can change to /etc/exim.conf and write to command line

hosts_avoid_pipelining = *

and not see to /etc/exim.conf


all you did was look at the article? I wrote the code it didn't work. Do you have the ability to fix it? I do not think so. Just send an article. I cannot add 1 code to your system. and it resets with every update. nonsense. cpanel support team is not responding for 7 days. there is no solution.
 

ServerHealers

Well-Known Member
Sep 21, 2015
95
53
68
India
cPanel Access Level
Root Administrator
Hello afistan,

I
f you prefer using command line over the WHM to make changes in Exim, then you will have to use the /etc/exim.conf.local or /etc/exim.conf.localopts files to make the changes and run the script /scripts/buildeximconf to rebuilt the Exim configuration and followed with a restart of the service using /scripts/restartsrv_exim there.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
13,463
2,114
363
cPanel Access Level
Root Administrator
@afistan - there's a bit of confusion about how cPanel works here, so we'll need to start with clearing that up.

cPanel takes over many areas of the operating system, as well as configuration files. This ensures that we can apply updates across all services on the machine without interference from customizations. For example, you can not directly edit the Apache configuration on a cPanel server as the changes will be overwritten. This allows us to keep track of all the cPanel user data and configurations, as well as update the Apache service without fear of something becoming corrupt.

The same thing happens with Exim - you are not able to edit the configuration. The guide I link explains how you can make customizations to Exim, but they will never show up in the exim.conf file.

Does that help to clear things up? You'll need to do things "the cPanel way" in order to get your changes to work and stick you'll have to follow that system.

The second issue here, is that cPanel doesn't provide support for those types of customizations to Exim. You'll need to test them on your side and see if they work how you expect.

I hope that clears up the cPanel process for editing configurations on the machine, as this applies to *many* areas of the system.
 

afistan

Member
Nov 15, 2022
5
0
1
Turkey
cPanel Access Level
DataCenter Provider
I'm getting an error when adding code in the add code area for whm >> exim editing. I can't add code. I can only fix from ssh. You say that someone else will solve this without even listening to the end. Do I need to have the engine of the Tesla vehicle repaired at the Mercedes Service? Both use the same engine. do you think this makes sense? How is this support?
please locked this post. I did not get support and it is not resolved. thanks