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 Config Restore - Command Line

Discussion in 'E-mail Discussions' started by sparek-3, Aug 10, 2013.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,381
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Is there any way to restore an exim configuration that is backed up in the WHM from the command line?

    Reason being, I have a lot of servers, I'd like to push the same exim configuration to all of those servers. I'd like to configure it once in a WHM, save it, then push that out to all of the other servers, and logging into each server's WHM is too cumbersome.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can extract the data manually from the archive that is generated. EX:

    Code:
    tar -zxvf /var/cpanel/config.backups/whm-config-backup-cpanel__smtp__exim-10.330000-1376314251.tar.gz
    Then, you can manually place the files in their appropriate locations and build the Exim configuration file via:

    Code:
    /scripts/buildeximconf
    Thank you.
     
Loading...

Share This Page