Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-1450

Outgoing mail sometimes does not have Date: header

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1.0
    • Labels:
      None
    • Environment:
      Linux, mysql, outgoing mail relayed via exim MTA

      Description

      Outgoing email messages from Sakai, for example those generated by creating an Announcement with email notification, do not have Date: headers.

      As recent versions of some MTAs such as exim do not add Date: headers by default in accordance with RFC2822 (para 3.6.1), this means that mail generated from Sakai can reach end-user mailboxes without a date header.

      In clients such as Thunderbird, this means such messages get a reported date of 1/1/70 and don't appear at the top of inboxes sorted by date.

      Here's an example message:

      Return-Path: <marquard@ched.uct.ac.za>
      Received: from mail.uct.ac.za ([unix socket])
      by mail.uct.ac.za (Cyrus v2.1.18) with LMTP; Fri, 01 Jul 2005 20:02:17 +0200
      X-Sieve: CMU Sieve 2.2
      Received: from smtp1.uct.ac.za ([137.158.128.183])
      by mail.uct.ac.za with esmtp (Exim 4.44 (FreeBSD))
      id 1DoPqD-000LLs-QD
      for marquard@ched.uct.ac.za; Fri, 01 Jul 2005 20:02:17 +0200
      Received: from sakai.cet.uct.ac.za ([137.158.135.1] helo=sakai)
      by smtp1.uct.ac.za with esmtp (Exim 4.30; FreeBSD)
      id 1DoPqD-0005Am-Lq
      for marquard@ched.uct.ac.za; Fri, 01 Jul 2005 20:02:17 +0200
      Message-ID: <3534409.1120240937580.JavaMail.root@sakai>
      From: marquard@ched.uct.ac.za
      To: smtest <smtest@sakai.cet.uct.ac.za>
      Subject: [ Stephen's site - Announcement ] 11
      Mime-Version: 1.0
      Content-Transfer-Encoding: 7bit
      Content-Type: text/html

      11<br />
      <br />
      ----------------------<br />
      This automatic notification message was sent by Connect2Sakai (https://sakai.cet.uct.ac.za) from the Stephen's site site.<br />
      You can modify how you receive notifications at MyWorkspace > Preferences.<br />

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                smarquard Stephen Marquard
                Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration