--- sendmail-8.14.4/sendmail/srvrsmtp.c.old 2009-12-18 20:08:01.000000000 +0300 +++ sendmail-8.14.4/sendmail/srvrsmtp.c 2011-02-24 11:24:58.460778349 +0300 @@ -4218,7 +4218,17 @@ } else if (sm_strcasecmp(vp, "7bit") == 0) { - SevenBitInput = true; +/* + * RFCs 2821 and 5321 describe 3 behaviours for receiver when sender violate RFC and + * sending 8bit data via 7bit transport (typical for Microsoft ESMTP MAIL Service): + * + * 1. clear the high-order bit (behaviour of Sendmail) + * 2. reject the message + * 3. relay it without inspecting that content (behaviour of Postfix) + * + * This patch changed behaviour N1 to behaviour N3 (BODY=7BIT always ignored) + */ + SevenBitInput = false; } else {