Re: [exim] timezone settings

Top Page
Delete this message
Reply to this message
Author: Dan_Mitton
Date:  
To: Floris
CC: exim-users
Subject: Re: [exim] timezone settings
Well, from the Exim docs...


timezone
Use: main
Type: string
Default: unset

The value of timezone is used to set the environment variable TZ while
running Exim (if it is different on entry). This ensures that all
timestamps created by Exim are in the required timezone. If you want all
your timestamps to be in UTC (aka GMT) you should set
timezone = UTC

The default value is taken from TIMEZONE_DEFAULT in Local/Makefile, or, if
that is not set, from the value of the TZ environment variable when Exim
is built. If timezone is set to the empty string, either at build or run
time, any existing TZ variable is removed from the environment when Exim
runs. This is appropriate behaviour for obtaining wall-clock time on some,
but unfortunately not all, operating systems.

Do you define the timezone in the Exim config? We do the have it in our
config. When I built our Exim, the Unix TZ was/is...

TZ=US/Pacific

Looking through the code, I can only find 1 line that deals with "Date:",
in receive.c ...

header_add(htype_other, "%sDate: %s\n", resent_prefix,
tod_stamp(tod_full));

Although not entirely straight forward, tod.c is not that big and only
seems to have one way to calculate GMT offset.

Dan



Sent by:        exim-users-bounces@???
To:     exim-users@???
cc:      (bcc: Dan Mitton/YD/RWDOE)
Subject:        Re: [exim] timezone settings
LSN: Not Relevant
User Filed as: Not a Record


Op Tue, 06 Apr 2010 01:13:27 +0300 schreef <Dan_Mitton@???>:

> Shouldn't it be CEDT, instead of CEST? Aren't you in Day Light Saving
> time now?
>
> Dan
>
>

CEST = Central European Summer Time
CEDT = Central European Daylight Time

So there are two (maybe more) abbreviations.

Floris

--
## List details at http://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/