Thanks Wietse,
Normal user:
$ date; env - dateThu Oct 24 10:56:11 CEST 2019Thu Oct 24 10:56:11 CEST 2019$
Postfix user:
$ date; env - dateThu Oct 24 10:56:13 CEST 2019Thu Oct 24 10:56:13 CEST 2019$
I guess Postfix is taking just EPOCH time whitout considering localization...  
so i agree with you that most lilkely Postfix cannot read some file 
somewhere... but i have checked files permisisons and i have not any clue.. 
there are no errors in Posfrix log.
Thanks again,
Pedro.

    On Wednesday, October 23, 2019, 10:43:49 PM GMT+2, Wietse Venema 
<wie...@porcupine.org> wrote:  
 
 Pedro David Marco:
>  Thanks Wietse..
> The? output is this:??
> # date ; env - dateWed Oct 23 21:22:20 CEST 2019Wed Oct 23 21:22:20 CEST 2019#
> It is actual valid localtime...?
> Thanks again,
> Pedro.

Can you run this AS A NON-ROOT USER? On the same machine that runs
Postfix?

The Postfix mailq command calls the postqueue command, which deletes
most of its environment (similar to "env -") before calling the
same standard library time conversion functions that are also used
by the date command.

I suspect the discreoancy is caused by environment or permission
errors.

    Wietse
  

Reply via email to