* Added "Content-Identifer: ExJournalReport" to journal envelope headers
authorArt Cancro <ajc@citadel.org>
Tue, 10 Jan 2006 22:22:35 +0000 (22:22 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 10 Jan 2006 22:22:35 +0000 (22:22 +0000)
  (Requested by SECCAS for compatibility with their archival service.)
  (Yes, it is spelled incorrectly.  The headers generated by Exchange are
  spelled incorrectly and SECCAS requested that our headers look identical.)

citadel/ChangeLog
citadel/journaling.c

index 3ba070e4b219f00a9ca3b7c120123028a8d6c984..894bd03328a091c3f7bd888b73e7619b972bffc4 100644 (file)
@@ -1,5 +1,11 @@
 $Id$
 
+Tue Jan 10 17:20:30 EST 2006 ajc
+* Added "Content-Identifer: ExJournalReport" to journal envelope headers
+  (Requested by SECCAS for compatibility with their archival service.)
+  (Yes, it is spelled incorrectly.  The headers generated by Exchange are
+  spelled incorrectly and SECCAS requested that our headers look identical.)
+
 Mon Jan  9 17:23:39 EST 2006 ajc
 * docs/journaling.html: added.
 
index 26af56e11c6eee8df327221c381b925f8987344f..f45d601c6fcc054b2b9d4388e744945a843011fe 100644 (file)
@@ -128,12 +128,19 @@ void JournalRunQueueMsg(struct jnlq *jmsg) {
                        sprintf(mime_boundary, "--Citadel-Journal-%08lx-%04x--", time(NULL), ++seq);
                        message_text = malloc(strlen(jmsg->rfc822) + sizeof(struct recptypes) + 1024);
 
+                       /*
+                        * Here is where we begin to compose the journalized message.
+                        * NOTE: the superfluous "Content-Identifer: ExJournalReport" header was
+                        *       requested by a paying customer, and yes, it is intentionally
+                        *       spelled wrong.  Do NOT remove or change it.
+                        */
                        sprintf(message_text,
                                "Content-type: multipart/mixed; boundary=\"%s\"\r\n"
                                "MIME-Version: 1.0\r\n"
                                "\n"
                                "--%s\r\n"
                                "Content-type: text/plain\r\n"
+                               "Content-Identifer: ExJournalReport\r\n"
                                "\r\n"
                                "Sender: %s "
                        ,