Package: exim4-base Version: 4.84.2-1 Followup-For: Bug #817244 Dear Maintainer,
Some supplemental information would be appreciated. I've edited update-exim4.conf.conf and added add_environment='<; PATH=/bin:/usr/bin' keep_environment='' one by one then both I've also edited exim4.conf.template and added .ifdef MAIN_KEEP_ENVIRONMENT keep_environment = MAIN_KEEP_ENVIRONMENT .else # set option to empty value to avoid warning. keep_environment = .endif .ifdef MAIN_ADD_ENVIRONMENT add_environment = MAIN_ADD_ENVIRONMENT .endif then replaced with #.ifdef MAIN_KEEP_ENVIRONMENT #keep_environment = MAIN_KEEP_ENVIRONMENT #.else ## set option to empty value to avoid warning. keep_environment = #.endif #.ifdef MAIN_ADD_ENVIRONMENT #add_environment = MAIN_ADD_ENVIRONMENT #.endif Between each edits, I've ran as root update-exim4.conf and service exim4 reload Nothing helped, the exim mainlog is still reporting 2016-03-17 15:30:03 Warning: purging the environment. Suggested action: use keep_environment. 2016-03-17 15:30:21 Warning: purging the environment. Suggested action: use keep_environment. 2016-03-17 15:35:02 Warning: purging the environment. Suggested action: use keep_environment. every 5 minutes. Thanks. -- Package-specific info: Exim version 4.84_2 #1 built 13-Mar-2016 17:47:17 Copyright (c) University of Cambridge, 1995 - 2014 (c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2014 Berkeley DB: Berkeley DB 5.3.28: (September 9, 2013) Support for: crypteq iconv() IPv6 PAM Perl Expand_dlfunc GnuTLS move_frozen_messages Content_Scanning DKIM Old_Demime PRDR OCSP Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql sqlite Authenticators: cram_md5 cyrus_sasl dovecot plaintext spa Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp Fixed never_users: 0 Size of off_t: 8 Configuration file is /etc/exim4/exim4.conf # /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf # yourself or use 'dpkg-reconfigure exim4-config' # # Please note that this is _not_ a dpkg-conffile and that automatic changes # to this file might happen. The code handling this will honor your local # changes, so this is usually fine, but will break local schemes that mess # around with multiple versions of the file. # # update-exim4.conf uses this file to determine variable values to generate # exim configuration macros for the configuration file. # # Most settings found in here do have corresponding questions in the # Debconf configuration, but not all of them. # # This is a Debian specific file dc_eximconfig_configtype='smarthost' dc_other_hostnames='dailyplanet.net' dc_local_interfaces='' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='smtp.teksavvy.com' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='false' dc_mailname_in_oh='true' dc_localdelivery='mail_spool' smtp_receive_timeout='300s' add_environment='<; PATH=/bin:/usr/bin' keep_environment='' mailname:teksavvy.com -- System Information: Debian Release: 8.3 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable'), (500, 'oldstable-updates'), (100, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages exim4-base depends on: ii adduser 3.113+nmu3 ii cron [cron-daemon] 3.0pl1-127+deb8u1 ii debconf [debconf-2.0] 1.5.56 ii exim4-config [exim4-config-2] 4.84.2-1 ii libc6 2.19-18+deb8u3 ii libdb5.3 5.3.28-9 ii lsb-base 4.1+Debian13+nmu1 ii netbase 5.3 Versions of packages exim4-base recommends: ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-2 ii perl-modules 5.20.2-3+deb8u4 ii psmisc 22.21-2 Versions of packages exim4-base suggests: ii bsd-mailx [mail-reader] 8.1.2-0.20141216cvs-2 ii emacs24 [mail-reader] 24.4+1-5 pn exim4-doc-html | exim4-doc-info <none> pn eximon4 <none> ii file 1:5.22+15-2+deb8u1 ii mutt [mail-reader] 1.5.23-3 ii openssl 1.0.1k-3+deb8u4 pn spf-tools-perl <none> ii swaks 20130209.0-3 ii xemacs21-mule [mail-reader] 21.4.22-14~deb8u1 -- debconf information: exim4-base/drec: exim4/purge_spool: false