[exim-dev] [Bug 606] New: Resent-Date headers are not correc…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Brad "anomie" Jorsch
Päiväys:  
Vastaanottaja: exim-dev
Uudet otsikot: [exim-dev] [Bug 606] Resent-Date headers are not correctly detected
Aihe: [exim-dev] [Bug 606] New: Resent-Date headers are not correctly detected
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=606
           Summary: Resent-Date headers are not correctly detected
           Product: Exim
           Version: 4.67
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
        AssignedTo: ph10@???
        ReportedBy: anomie@???
                CC: exim-dev@???



This bug report is actually for version 4.68 (and possibly earlier versions),
but that is not currently an option in bugzilla.

Detection of a Resent-Date header is broken, resulting in a duplicate
Resent-Date header being added if a Date header follows all Resent-Date
headers.

The problem is in receive.c line 1916: date_header_exists is set or cleared
when either a Date or Resent-Date header is seen. The correct behavior is to
set or clear the flag only when the appropriate header is seen (depending on
the value of resents_exist):
if(!resents_exist || is_resent) date_header_exists = TRUE;


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email