The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim changes permanent

Discussion in 'General Discussion' started by screege, Jan 1, 2007.

  1. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    166
    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
     
  2. glansing

    glansing Active Member

    Joined:
    Jun 3, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    156
    Log into WHM, and select the Exim Configuration Editor, then click on Advanced Editor. Any changes you make in there will persist.
     
  3. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    166
    I cannot do that since the line has to be beneath those two and they are not editable in the config editor.
     
    #3 screege, Jan 1, 2007
    Last edited: Jan 2, 2007
  4. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    166
    Anyone got any other sugestion?
     
  5. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    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.
     
  6. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    166
    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
     
  7. ozace

    ozace Member

    Joined:
    Feb 25, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    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
     
  8. lloyd_tennison

    lloyd_tennison Well-Known Member

    Joined:
    Mar 12, 2004
    Messages:
    698
    Likes Received:
    1
    Trophy Points:
    168
  9. screege

    screege Well-Known Member

    Joined:
    Aug 11, 2004
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    166
    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
     
Loading...

Share This Page