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.
This commit is contained in:
Stephen McKay 2010-01-24 11:54:32 +00:00
parent b6a18bc939
commit 97d21c886d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202918

View File

@ -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);