Репозитории ALT
S: | 8.18.0-alt0.Alpha2 |
5.1: | 8.14.4-alt0.M51.1 |
4.1: | 8.14.4-alt0.M41.1 |
4.0: | 8.14.4-alt0.M40.1 |
3.0: | 8.13.4-alt3 |
+updates: | 8.13.8-alt1.M30.1 |
Группа :: Система/Серверы
Пакет: sendmail
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: sendmail-8.14.4-BODY_7BIT_IGNORED-srvrsmtp.c.patch
Скачать
Скачать
--- 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
{