Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: jcth on May 31, 2004, 07:07:17 AM
-
Hello everyone,
I am running sme 6.0 in server only mode.
All works fine, but there is at litle thing that I cant get a grip on.
My "date"-function shows the right time and timezone, but when I look on a mailheader, then it shows -0000 insted of +0200.
I use a ntp server, time and timezone was set before I setup the time server.
All other things "knows the right time" except the mail server.
some info from the server:
[root@smesrv root]# clock
Mon 31 May 2004 06:59:09 AM CEST 0.254481 seconds
[root@smesrv root]# date
Mon May 31 07:00:28 CEST 2004
my $localtime looks like this:
../usr/share/zoneinfo/Europe/Copenhagen
What am I doing wrong?
Regards
Jens
-
Copy ../usr/share/zoneinfo/Europe/Copenhagen to /var/spool/smtpd/etc/localtime
restart mail deamon(s)
-
Copy ../usr/share/zoneinfo/Europe/Copenhagen to /var/spool/smtpd/etc/localtime
restart mail deamon(s)
Hello elmarconi,
Thanks for a fast replay.
I just dont have a catalog of that name (/var/spool/smtpd/etc/localtime).
Jens
-
Ill check...
[root@smeserver /root]# ssh smeserver2
Last login: Fri May 28 16:43:13 2004 from [munged]
Welcome to SME Server 6.0.1-01
[root@smeserver2 root]# locate localtime
/etc/localtime
/etc/localtime.rpmnew
/usr/lib/perl5/5.6.1/Time/localtime.pm
/usr/lib/perl5/5.6.1/i386-linux/auto/POSIX/localtime.al
/usr/share/man/man3/Time::localtime.3pm.gz
Hmmm, I thought i had it right, since this was the trick a I applied to a 5.1.2 server.
Strange...
-
Next try:
add TZ="GMT+l" to the environment of the qmail and/or smtpd run supervise files.
/var/qmail/etc/service/qmail/run
/var/service/smtpfront-qmail/run