Pedro David Marco: > Thanks Matus... > date -u shows correct UTC time. > Monitoring mailq with strace i have seen it always reads the > file?/usr/share/zoneinfo/UTC? but "date" and "env - date"? commads read the > file "/etc/localtime" (shown by strace) > > So it seems that? mailq always shows UTC time despite system localtime, while > other postfix elements, like headers added to the email, use localtime (CEST > in my case)...
On my systems (FreeBSD, Fedora) mailq reports local time (i.e. not UTC). On a recent Fedora release, "strace postqueue -p" show it opens /etc/localtime (same for an older FreeBSD system). This does not change when main.cf:maillog_file is empty or non-empty. What system are you using? Some non-GLIBC Linux distribution? Wietse