Re: [exim] Date issue (language issue in header)

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tony Finch
Datum:  
To: sysadm
CC: exim-users
Betreff: Re: [exim] Date issue (language issue in header)
On Thu, 4 Oct 2007, sysadm wrote:
>
> The problem is the "for address@???; ons, 03 okt 2007 17:01:28
> +0200" line As you can see it should have been Wed, 03 Oct 2007 instead
> of ons, 03 okt 2007 which is a Danish date stamp.
>
> How can I change this date stamp to a US date stamp instead a Danish
> date stamp


That should not happen, because Exim explicitly sets its locale to the C
locale. Are you using the standard version of Exim, or is is patched by
CentOS?

You might be able to work around the problem by ensuring that Exim is run
without any locale settings in its environment, i.e. unset the LANG
environment variable and every environment variable starting LC_

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}