Exim changes permanent

screege

Well-Known Member
Aug 11, 2004
197
2
168
Hi I was wondewring how can I make exim to make this change permanete, I need to change my servers sending ip address but everytime I update cpanel it resets it the line I need to make permanete is the interface line in exim.conf:

remote_smtp:
driver = smtp
interface = 63.246.151.21

Thank you
 

glansing

Active Member
Jun 3, 2003
29
0
156
Log into WHM, and select the Exim Configuration Editor, then click on Advanced Editor. Any changes you make in there will persist.
 

screege

Well-Known Member
Aug 11, 2004
197
2
168
I cannot do that since the line has to be beneath those two and they are not editable in the config editor.
 
Last edited:

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
if you have root access, you may edit the /etc/exim.conf file and chattr +i of the file to prevent Cpanel from overwriting it.
 

screege

Well-Known Member
Aug 11, 2004
197
2
168
And what happends =if I want to change anything in exim.conf it won't let me either using shell or exim coonfiguration editor?

Thanks
 

ozace

Member
Feb 25, 2006
18
0
151
question is whether the cpanel upgrade will fail if we do the chattr +i on exim.conf ?
Jim

ps
chattr -i will remove the lock on it
 

screege

Well-Known Member
Aug 11, 2004
197
2
168
Yes I have read that thread and done that and no it does not work, the server will send the e-mails from the main IP.

Thanks anyway