On Tue, Oct 27, 2009 at 12:28:52PM -0400, Wietse Venema wrote:

> Jacopo Cappelli:
> > Only security is grsec but don't block anything of Postfix.
> 
> 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
>    /etc/postfix/main.cf.
>    import_environment = MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ=XXX LANG=C

  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.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to