Bug 1867 - safe report: Locale-date used instead of RFC2822-compliant date
Summary: safe report: Locale-date used instead of RFC2822-compliant date
Status: RESOLVED DUPLICATE of bug 1546
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: 2.52
Hardware: PC Windows 2000
: P3 normal
Target Milestone: 2.60
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-07 07:36 UTC by Dan Wing
Modified: 2003-05-07 07:13 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Wing 2003-05-07 07:36:30 UTC
On Windows with a foreign locale configured (that is, non english-speaking
locale), SpamAssassin's "safe" header uses the locale-specific weekday and month
name.  This isn't valid per RFC2822, which requires Unix-style english weekday
and month names.  The SpamAssassin behavior inteferes with some mailers (such as
Outlook) which order messages by "date received" using the last Received:
header.  An example from SpamAssassin's generated Received: header exhibiting
the incorrect behavior when configured with locale=Netherlands:

  Received: from localhost [127.0.0.1] by athlon1200 with 
    SpamAssassin (2.52 1.174.2.8-2003-03-24-exp); 
    ma, 05 mei 2003 21:50:43 +0200
    ^^     ^^^

Note the weekday is "ma" (should be "Mon") and month name is "Mei" (should be
"May").

Workaround: disable safe reporting in user_prefs with "report_safe 0".
Comment 1 Daniel Quinlan 2003-05-07 15:13:36 UTC
already fixed in CVS, thanks for the report


*** This bug has been marked as a duplicate of 1546 ***