[Mimedefang] gen_date_msgid_headers(): Localized time the "Date" header

Oliver Schulze L. oliver at samera.com.py
Tue Jul 1 17:20:02 EDT 2003

I solved the problem by executing:
setlocale(LC_ALL, "C");
at the start of gen_date_msgid_headers() in mimedefang.pl


Oliver Schulze L. wrote:

> Hi,
> I'm running mimedefang 2.34 and when I use the function 
> action_notify_sender()
> I noted that the notification email to the sender is sended with the 
> "Date: "
> header localized. I'm using the "LANG=es_PY.ISO-8859-1" locale
> This confuses email clients because I think the Date header should be 
> in English.
> For example, an email sended today, is printed like this:
> Date: mar, 01 jul 2003 16:53:50 -0400
> The localized Date in printed in this funcion:
> gen_date_msgid_headers()
> Can someone confirm that the Date header should be in English?
> If that is true, then mimedefang should be fixed.
> Thanks
> Oliver

Oliver Schulze L.
<oliver at samera.com.py>

More information about the MIMEDefang mailing list