Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    8

    Default exim configuration editor

    I was trying to modify the virtual_address_pipe transport via WHM editor since I need to add an envelope_to_add directive there.

    Unfortunately I can't modify this section, only add the transport again. This result in an error, exim is complaining about 2 transports with the same name.

    Now I can edit the exim.conf manually. But then I run into problems if CPanel updates exim.conf and overwrites my manual mod.

    Is there any way to make the modification via configuration editor so it does not get overwritten?
    Last edited by cappac; 05-18-2008 at 06:58 AM.

  2. #2
    Member viraj's Avatar
    Join Date
    Sep 2006
    Location
    India
    Posts
    209
    cPanel/Enkompass Access Level

    DataCenter Provider

    Thumbs up

    Yes, you can "chattr" the exim.conf such that it never gets overwritten, chattr is used for changing the attributes of files.

    Here's the command that needs to be executed from within SSH as root:
    chattr +aui /etc/exim.conf
    Once done, the exim configuration file will be immutable...

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by cappac View Post
    I was trying to modify the virtual_address_pipe transport via WHM editor since I need to add an envelope_to_add directive there.

    Unfortunately I can't modify this section, only add the transport again. This result in an error, exim is complaining about 2 transports with the same name.

    Now I can edit the exim.conf manually. But then I run into problems if CPanel updates exim.conf and overwrites my manual mod.

    Is there any way to make the modification via configuration editor so it does not get overwritten?
    You mention two different methods of editing the configuration: using the configuration editor vs. editing exim.conf manually.

    If you edit the file manually, even with +i, it will be overwritten by cPanel/WHM updates.

    If you edit the file via the configuration editor in WHM, your changes will be preserved.

  4. #4
    Member
    Join Date
    Nov 2007
    Posts
    8

    Default

    Thanks, both answers are helpful and I knew them already :-)

    I would like to go with the editor, unfortunately I don't see a way to implement the needed modification.

    The manual way is a workaround only.

Similar Threads & Tags
Similar threads

  1. Exim Configuration Editor
    By mesranet in forum E-mail Discussions
    Replies: 3
    Last Post: 06-26-2011, 02:25 PM
  2. exim configuration editor
    By erinspice in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-06-2009, 01:03 PM
  3. Exim Configuration Editor Question
    By HostDime in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 01-31-2008, 04:46 AM
  4. Using Exim Configuration Editor but my new rules not save at exim.conf
    By isputra in forum cPanel and WHM Discussions
    Replies: 23
    Last Post: 03-07-2007, 08:14 PM
  5. Exim Configuration Editor
    By ymfm in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 06-22-2004, 11:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube