X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fjournaling.c;h=f45d601c6fcc054b2b9d4388e744945a843011fe;hb=f8636d15911015f991c7407ffef3908de54520b1;hp=26af56e11c6eee8df327221c381b925f8987344f;hpb=7d954899a3362808812a4cc21f96154dcf60121b;p=citadel.git 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 " ,