Topic: [FAQ] Why postfix log in wrong time stamp.

Hi, all.

This is just a reference, comes from thread in postfix-users@ mail list:
- http://marc.info/?l=postfix-users&m … 06&w=2
- http://marc.info/?l=postfix-users&m … 36&w=2

Logging the "wrong time" means one of the following:

1) The timezone file is not accessible (no file, no permission).
   Use strace to see what system call fails.

2) The file contains the wrong data. Use cmp(1) to find out
   if it differs from a good file.

3) The process has the wrong TZ environment. Specify the TZ in

4) The process effective user or group id is not equal to the
   corresponding real id (setuid/setgid binary or ancestor process),
   and so the process scrubs TZ from its environment for security
   reasons. In this case, explicitly adding TZ=... in main.cf,
   as above will help.

   Typically, only postdrop(1) (which only logs unexpected errors)
   runs in this way.


Get fast and professional support from iRedMail developers: