I met this strange problem, and I tried to solve this problem all day with all the methods that I found from Google, but still nothing works.
My ubuntu timezone (10.04 LTS) is Europe / Helsinki, that’s correct (when I run the date command, the result shows the correct time). But my postfix still uses the UTC timezone, because all the time in /var/log/mail.log is 3 hours ahead of my current time.
I also copied / etc / localtime to / var / spool / postfix / etc / localtime, but nothing helps. (cp / usr / share / zoneinfo / Europe / Helsinki / var / spool / postfix / etc / localtim also do not work).
I also tried running dpkg-reconfigure tzdata, it also does not work, the system time is always correct, but only mail.log was wrong.
Can someone give me some suggestion?
* I updated the postfix every time I tried to make some changes.
source
share