How to use "keep_environment" option in exim 4 on Debian

I am running exim 4.84_2 on Debian, now since a few weeks I get the following mails from anacron:

/etc/cron.daily/exim4-base:
LOG: MAIN
  Warning: purging the environment.
 Suggested action: use keep_environment.

I have added the following line to /etc/exim4/exim4.conf.template:

keep_environment =

But when running update-exim4.conf I get the following error:

2016-05-17 00:20:00 Exim configuration error in line 900 of /var/lib/exim4/config.autogenerated.tmp:
  option "keep_environment" unknown

Any ideas?


On Debian you can set the macro

MAIN_KEEP_ENVIRONMENT =

in /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs or where ever you set your macros. See: /usr/share/doc/exim4/changelog.Debian.gz