summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm
diff options
context:
space:
mode:
authormckay <mckay@FreeBSD.org>2010-01-24 11:54:32 +0000
committermckay <mckay@FreeBSD.org>2010-01-24 11:54:32 +0000
commitf7d630de45b82ec7b497924903aa4c7e10984148 (patch)
tree8450b2417b673fa0b851ac361c37c64a64fb51a2 /usr.sbin/ctm
parent0e85e3986c15c607dc194a2f9d0429d88e6ba804 (diff)
downloadFreeBSD-src-f7d630de45b82ec7b497924903aa4c7e10984148.zip
FreeBSD-src-f7d630de45b82ec7b497924903aa4c7e10984148.tar.gz
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.
Diffstat (limited to 'usr.sbin/ctm')
-rw-r--r--usr.sbin/ctm/ctm_smail/ctm_smail.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud