unexpected results. You may work around this using a regular expression
that does not match the macro name: ^[F]OO_HOME$.
-Current versions of Exim issue a warning during startupif you do not mention
-&%keep_environment%& or &%add_environment%& in your runtime configuration
-file.
+Current versions of Exim issue a warning during startup if you do not mention
+&%keep_environment%& in your runtime configuration file and if there is
+anything in your environment. Future versions may not issue that warning
+anymore.
.wen
}
#endif
-if ((!add_environment || *add_environment == '\0') && !keep_environment)
+if (!keep_environment && environ && *environ)
log_write(0, LOG_MAIN,
- "WARNING: purging the environment.\n"
- " Suggested action: use keep_environment and add_environment.\n");
+ "Warning: purging the environment.\n"
+ " Suggested action: use keep_environment.");
}
# exim test configuration 0615
exim_path = EXIM_PATH
tls_advertise_hosts =
+spool_directory = DIR/spool
perl_startup = $| = 1; \
print "Environment visible in Perl:\n"; \
print map { "$_=$ENV{$_}\n" } sort keys %ENV;
LOG: MAIN
- WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
+ Warning: purging the environment.
+ Suggested action: use keep_environment.
LOG: MAIN
- WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
+ Warning: purging the environment.
+ Suggested action: use keep_environment.
LOG: MAIN
- WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
-1999-03-02 09:44:33 WARNING: purging the environment.
- Suggested action: use keep_environment and add_environment.
-
+ Warning: purging the environment.
+ Suggested action: use keep_environment.
+1999-03-02 09:44:33 Warning: purging the environment.
+ Suggested action: use keep_environment.