From f8636d15911015f991c7407ffef3908de54520b1 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 10 Jan 2006 22:22:35 +0000 Subject: [PATCH] * 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.) --- citadel/ChangeLog | 6 ++++++ citadel/journaling.c | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 3ba070e4b..894bd0332 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -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. diff --git a/citadel/journaling.c b/citadel/journaling.c index 26af56e11..f45d601c6 100644 --- a/citadel/journaling.c +++ b/citadel/journaling.c @@ -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 " , -- 2.30.2