Support Center > Knowledgebase > DirectAdmin > eMail > Exim > Exim configuration error in line 125 of /etc/exim.conf: main option "keep_environment" unknown
Exim configuration error in line 125 of /etc/exim.conf: main option "keep_environment" unknown
If exim won't start up due to the error:
Starting exim: 2017-03-12 17:48:14 Exim configuration error in line 125 of /etc/exim.conf:
main option "keep_environment" unknown
you'll need to update exim to a newer version. The config option is required in newer versions of exim, hence it's added to the exim.conf, so if you see the message, update exim:
cd /usr/local/directadmin/custombuild
./build set exim yes
./build update
./build exim
if you have issues, or for more info about updating exim, see this guide:
https://help.directadmin.com/item.php?id=125
Also Read