Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim Config Restore - Command Line

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

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,649
    Likes Received:
    73
    Trophy Points:
    328
    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:
    43,633
    Likes Received:
    1,787
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice