From f7d630de45b82ec7b497924903aa4c7e10984148 Mon Sep 17 00:00:00 2001 From: mckay Date: Sun, 24 Jan 2010 11:54:32 +0000 Subject: Shrink encoded line length from 76 to 72 characters. Some Exchange systems wrap lines over 75 characters long while converting messages to quoted-printable, preventing ctm_rmail from reassembling emailed deltas. For a negligible loss of encoding efficiency, this change allows ctm deltas to once more pass through Exchange undamaged. --- usr.sbin/ctm/ctm_smail/ctm_smail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/ctm') diff --git a/usr.sbin/ctm/ctm_smail/ctm_smail.c b/usr.sbin/ctm/ctm_smail/ctm_smail.c index a0dc03c..c90fa2f 100644 --- a/usr.sbin/ctm/ctm_smail/ctm_smail.c +++ b/usr.sbin/ctm/ctm_smail/ctm_smail.c @@ -29,7 +29,7 @@ #define DEF_MAX_MSG 64000 /* Default maximum mail msg minus headers. */ -#define LINE_LENGTH 76 /* Chars per encoded line. Divisible by 4. */ +#define LINE_LENGTH 72 /* Chars per encoded line. Divisible by 4. */ int chop_and_send_or_queue(FILE *dfp, char *delta, off_t ctm_size, long max_msg_size, char *mail_alias, char *queue_dir); -- cgit v1.1