Mail gets wrong date

You shouldn't have to restart anything. I'd be quite surprised if restarting the server would fix anything, but if you want to try, go ahead.

Otherwise, at this point I'd say get in touch with whoever you got DA from, whether a dedicated server provider or DA, and have them look at it.

Jeff
 
I found out something that makes the problem maybe more complex.

I installed Mozilla Thunderbird (Pop3 client) and noticed that I receive all mails with the correct date.

It seems that the date problem only occurs with outlook express. I have Win XP with SP 2 installed and outlook express version 6.00.2900.2180, language Dutch. What do you all have?

I will also try other clients, languages etc..
 
I think I found the source of the problem. In the Netherlands October is written as " Oktober". All the mails that are sorted in the wrong way by outlook have in the header field " received" the month written as "Okt" , the good ones have "Oct".
I think Outlook does not recognize this and translates it to january I guess. (Mozilla Thunderbird and Eudora do not have this problem)

To illustrate this:
header from wrong mail:
Received: from post-24.mail.nl.xxxx.xxx ([xxx.xxx.xx.xxx])
by xxx.xxx.nl with esmtp (Exim 4.42)
id 1CLMVS-0000ae-5K
for [email protected]; za, 23 okt 2004 16:04:30 +0200

header from good mail:
Received: from post-22.mail.nl.xxxx.xxx ([xxx.xxx.xx.xxx])
by xxx.xxx.nl with esmtp (Exim 4.42)
id 1CLnhR-00080b-Ia
for [email protected]; Sun, 24 Oct 2004 21:06:41 +0200

This must be the source of the problem. Now we have to find someone who knows how to fix this. I think it's something in the local settings of the server.
 
Yes, in November this problem should be gone, but I wonder when it will come back again("March<-> Maart"). So I hope it will be fixed before the 1st of November.
 
IDNNL said:
This must be the source of the problem. Now we have to find someone who knows how to fix this. I think it's something in the local settings of the server.
If the same server is getting some right and some wrong, then more likely it's the origin of the email rather than local server settings.

It also seems that it's Outlook that needs to be internationalized.

:(

This issue is a good one for a post to the Exim users list available at the http://www.exim.org/ website.

Jeff
 
Last edited:
The problem is fixed at our server. Our hoster re-installed the server and didn't use anything that refered to the Netherlands. (US version of Fedora and no Dutch language support).
I don't think it is necessary to reininstall the complete server but it helped in our case. The solution must be found in regional settings.
 
We have same problem on one of our customers server (russian koi8r locale, Centos 3.1 operational system, last DA version).
Really only outlook owner have a problem. All date in message headers is correct, but one of header line ("Received..." send in local system code page (in our case - koi8r locale settings). Correcting /etc/localtime not help us.
Reading exim documention give me idea. You should include to exim.conf (find line "message_body_visible = 3000" and add part showed below right after thiis line):


received_header_text = "CorrectReceivingDate: \
${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}\
by ${primary_hostname} \
${if def:received_protocol {with ${received_protocol}}} \
id ${message_id}"

I think this may help to all people which have a problem with non US locale. This is only temporary solution, because it is not use right way, but it is give a good result. I will try find correct way when i have enough time for this.
 
Last edited:
The solution posted by rustelekom solves the date problem but causes problems with hotmail and gmail. Anyone has another solution for this issue?

Thanks
 
If anyone's interested, I fixed the following way:

pico /etc/sysconfig/i18n

delete the information in this file and paste the folowing:

LANG="en_US"
SUPPORTED="en_US:en_US:en"
SYSFONT="latarcyrheb-sun16"

Save and reboot.

This should do the job.
 
Back
Top