restoring exim.conf from a backup

hforbess

Member
Jun 7, 2005
7
0
151
Had trouble with exim a couple of days ago. One of the things I tried was to restore it to default. Turns out it was a network issue that we percieved as an exim problem.

Fine. no problem. I will just restore my exim.conf from the backups.
I put alot of tweaks in that exim.conf. And too many to go back and put everything in line by line in WHM.

I have cp my backup exim.conf to /etc/exim.conf.buidtest and ran /scripts/buildeximconf, but that does appear to do anything. I have also copied to just /etc/exim.conf but when I restart exim, the exim.conf gets overwritten.

There has got to be a way to restore an exim.conf backup.

I normally just try to figure everything myself but this is at work, and im kinda in a time crunch.

Any help would be appreciated.

hf
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
You need to restore (if you have it backed up) /etc/exim.conf.local which contains customisations made through the exim configuration editor. Once it is back in place, run:

/scripts/buildeximconf