Heiko Schlittermann wrote: > > keep_environment = TZ : LANG : ^LC_ : ^LDAP > add_environment = <; PATH=/bin:/usr/bin:/usr/local/bin > > could be a good starting point.
The handling of "TZ" is very special and often does noch work as expected.
Your list suggests that TZ content will be used from the environment but
this is often not the case. It depends on
* if and how TZ is set at compile time
* TIMEZONE_DEFAULT setting in Makefile at compile time
* "timezone" global config variable
Here are two examples which I found confusing until reading the source in
src/buildconfig.c:
$ exim -bP add_environment
add_environment = TZ=Atlantic/Reykjavik
$ exim -bP environment
TZ=Europe/Berlin
-----------
$ exim -bP keep_environment
keep_environment = TZ
$ env TZ=Atlantic/Reykjavik exim -bP environment
TZ=Europe/Berlin
Heiko
Heiko Schlichting Freie Universität Berlin
[email protected] Zentraleinrichtung für Datenverarbeitung
Telefon +49 30 838-54327 Fabeckstraße 32
Telefax +49 30 838454327 14195 Berlin
smime.p7s
Description: S/MIME cryptographic signature
-- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
