Package: bugs.debian.org
Severity: normal
Tags: patch

Stuff going through bdo features headers like these:

| Resent-Date: Sun, 16 Apr 2006 14:48:18 UTC
[...]
| X-Debian-PR-Keywords:
| Received: via spool by [EMAIL PROTECTED] id=B362913.114519841526776
|          (code B ref 362913); Sun, 16 Apr 2006 14:48:18 UTC

However this date format is no valid rfc(2)822 format, as the time
zone specification "UTC" is not allowed. UTC should be specified as
"+0000". (The old obsolete way was "GMT").

This bug is not cosmetic, as it causes spamassassin to trigger
DATE_IN_FUTURE_06_12 (default score 1.668). See #362913.

Afaict (from grepping) this should fix it:
------------------------
-- scripts/process.in
+++ scripts/process.in
@@ -59,7 +59,7 @@

 print DEBUG "###\n",join("##\n",@msg),"\n###\n";

-$tdate = strftime "%a, %d %h %Y %T UTC", localtime;
+$tdate = strftime "%a, %d %h %Y %T +0000", localtime;
 $fwd= <<END;
 Received: via spool by [EMAIL PROTECTED] id=$nn
           (code $codeletter ref $tryref); $tdate
------------------------

thanks, cu andreas

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-k7
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde

Attachment: signature.asc
Description: Digital signature

Reply via email to