Today I got a call from a client that said that Apple was showing old mail as recent.
I checked in webmail and all seemed alright, so I asked for a Teamviewer session.
A lot of email was timestamped as "day before yesterday" and it was all old mail.
I needed some time to investigate so I checked the mails as they are stored in /var/qmail/mailnames
I then noticed that a lot of mails had a file timestamp of 20-05-2017 07:26 and that was the exact time that I restored her website. I used a restore of 16-05-2017
No mails between those dates got lost.
Why did it affect the timestamps of all those mails?
Why did it affect mail at all
Why is Apple using the timestamp of the file to show in its program?
BTW.... I also don't understand why a restore of a website doesn't preserve the original dates....
I now will have to write a script that gets the timestamp in the message to change the date of the file...
I checked in webmail and all seemed alright, so I asked for a Teamviewer session.
A lot of email was timestamped as "day before yesterday" and it was all old mail.
I needed some time to investigate so I checked the mails as they are stored in /var/qmail/mailnames
I then noticed that a lot of mails had a file timestamp of 20-05-2017 07:26 and that was the exact time that I restored her website. I used a restore of 16-05-2017
No mails between those dates got lost.
Why did it affect the timestamps of all those mails?
Why did it affect mail at all
Why is Apple using the timestamp of the file to show in its program?
BTW.... I also don't understand why a restore of a website doesn't preserve the original dates....
I now will have to write a script that gets the timestamp in the message to change the date of the file...