svn commit: r202918 - head/usr.sbin/ctm/ctm_smail
Stephen McKay
mckay at FreeBSD.org
Sun Jan 24 11:54:33 UTC 2010
Author: mckay
Date: Sun Jan 24 11:54:32 2010
New Revision: 202918
URL: http://svn.freebsd.org/changeset/base/202918
Log:
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.
Modified:
head/usr.sbin/ctm/ctm_smail/ctm_smail.c
Modified: head/usr.sbin/ctm/ctm_smail/ctm_smail.c
==============================================================================
--- head/usr.sbin/ctm/ctm_smail/ctm_smail.c Sun Jan 24 10:50:20 2010 (r202917)
+++ head/usr.sbin/ctm/ctm_smail/ctm_smail.c Sun Jan 24 11:54:32 2010 (r202918)
@@ -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);
More information about the svn-src-all
mailing list