Dominic Mitchell dom at happygiraffe.net
Tue May 8 09:05:01 BST 2001

On Fri, May 04, 2001 at 10:52:11AM +0100, Simon Griffiths wrote:
> Timezones..... Could someone direct me to the relavent docs on how timezones
> work in freebsd as I'm having some trouble with them currently.
> Heres some background.  We use postfix here locally and last week I decided
> it was time to re-install freebsd and create a nice new mail server that was
> ready to be brought into production, previously it was a makeshift test/toy
> server.  I had set the timezone at install to United Kingdom (BST) and said
> that the cmos was not set to UTC.  Not really thinking about this mail then
> arrived with a timestamp an hour later than the system clock, thinking a
> Quick Fix[tm] would solve the problem I set the cmos to UTC and again the
> timezone to BST and used ntpdate to sync up with a couple of uk based time
> servers.  Now what we get is the following in the logs :-
> May  4 09:40:00 mail CRON[13426]: (root) CMD (/usr/libexec/atrun)
> May  4 10:40:27 mail cucipop[13428]: bill 0, 0 (0), 0 (0)
> As you can see some things going through syslog have the correct time and
> some show the reset utc time from the cmos.  Anyone get any thoughts on
> this? I have had a look through the handbook but there doesnt seem to be any
> reference to timezones and a quick search on www.freebsd.org only pulls up
> two unrelated entries.

Don't forget that if you're using postfix in chroot mode, you'll also
need a copy /etc/localtime inside your chroot jail, usually it'll be


More information about the Ukfreebsd mailing list