- 66 Views
- 04/03/2025
Reset default exim.conf on DirectAdmin
To reset the default exim.conf on a DirectAdmin server, you'll need to revert back to the original configuration file
Back Up the Current Configuration: Before making any changes, it’s a good idea to back up your current exim.conf file. This allows you to revert back if necessary.
cp /etc/exim.conf /etc/exim.conf.backup
Restore the Default Configuration: Copy default configuration file from CustomBuild
cd /usr/local/directadmin/custombuild
cp configure/exim/exim.conf /etc/exim.conf
cp configure/exim/exim.conf /etc/exim.conf
Restart Exim: After restoring the default configuration, make sure to restart the Exim service to apply changes:
systemctl restart exim
