Wrong time on received emails

Post feedback about our hosted demo or your local install. Tell us what you love and/or what you’d like to see added in the future.
Post Reply
rubens.gasparotto
Posts: 5
Joined: Thu Jan 23, 2020 1:46 pm

Wrong time on received emails

Post by rubens.gasparotto »

Hello everyone!

I'm new here, so im not sure if this is the right topic that i should to post my question.

Anyway, my question is: How do i resolve this below?

Image

The send time of this test showing on web is 10h05

But the time showing in SSH (and correct) is this:

Image

Thanks!
Attachments
teste_email2.png
teste_email2.png (2.99 KiB) Viewed 4141 times
teste_email.png
teste_email.png (19.87 KiB) Viewed 4141 times
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Wrong time on received emails

Post by phoenix »

The first thing to mention is that you should always run a server on UTC, nothing else or you'll see problems. The other thing to mention, is your workstation set on the correct timezone, as it's an hour different I'm guessing that it's not the same.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
rubens.gasparotto
Posts: 5
Joined: Thu Jan 23, 2020 1:46 pm

Re: Wrong time on received emails

Post by rubens.gasparotto »

Thank u for your help phoenix.

About UTC, i've run the upgrade of tzdata because here on Brazil there is no more DST. After this, the time turned to BRST.
The other thing to mention, is your workstation set on the correct timezone, as it's an hour different I'm guessing that it's not the same.
This part i dont understood, sorry
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Wrong time on received emails

Post by fs.schmidt »

Hi Rubens,

Since you are in Brazil please check this article:

https://respirandolinux.com.br/2019/07/ ... erao-2019/

The message received/sent time is obtained from the logs, so check your maillog time. If it`s incorrect, restart the rsyslog service.

Best regards.
rubens.gasparotto
Posts: 5
Joined: Thu Jan 23, 2020 1:46 pm

Re: Wrong time on received emails

Post by rubens.gasparotto »

Good morning!

tks for answer.

The maillog time is correct. I'll follow the article steps and see if it fixup.

Thank you!
rubens.gasparotto
Posts: 5
Joined: Thu Jan 23, 2020 1:46 pm

Re: Wrong time on received emails

Post by rubens.gasparotto »

Bad news..

I followed the steps of the article, but that dont fixed the time..
The first thing to mention is that you should always run a server on UTC, nothing else or you'll see problems.
About this, i've change to UTC, but dont fixed too..
rubens.gasparotto
Posts: 5
Joined: Thu Jan 23, 2020 1:46 pm

Re: Wrong time on received emails

Post by rubens.gasparotto »

Post Reply