From: Vsevolod Stakhov Date: Wed, 8 Jul 2009 14:40:18 +0000 (+0400) Subject: * Fix rules X-Git-Tag: 0.2.7~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1709c2aef88729a3d5ce3d1a156ed269afdfe60;p=thirdparty%2Frspamd.git * Fix rules --- diff --git a/conf/headers.inc b/conf/headers.inc index 29f06b3cbc..a7bf9ccd9e 100644 --- a/conf/headers.inc +++ b/conf/headers.inc @@ -105,13 +105,13 @@ $__FMO_EXCL_OE3790="X-Mailer=/^Microsoft Outlook Express 6.00.3790.3959$/H"; $FORGED_MUA_OUTLOOK="(${__FORGED_OE} | ${__FORGED_OUTLOOK_DOLLARS}) & !${__FMO_EXCL_O3416} & !${__FMO_EXCL_OE3790} & !${__VISTA_MSGID}"; $__SANE_MSGID="Message-Id=/^[^<>\\ \t\n\r\x0b\x80-\xff]+\@[^<>\\ \t\n\r\x0b\x80-\xff]+\s*$/mH"; -$__MSGID_COMMENT="Messagr-Id=/\(.*\)/mH"; +$__MSGID_COMMENT="Message-Id=/\(.*\)/mH"; $INVALID_MSGID="${__HAS_MID} & !(${__SANE_MSGID} | ${__MSGID_COMMENT})"; $HTML_MIME_NO_HTML_TAG="${MIME_HTML_ONLY} & !${__TAG_EXISTS_HTML}"; $__CD="header_exists(Content-Disposition)"; $__CTE="header_exists(Content-Transfer-Encoding)"; $__CT="header_exists(Content-Type)"; -$__MIME_VERSION="header_exists(MIME-Version)"; +$__MIME_VERSION="raw_header_exists(MIME-Version)"; #$__CT_TEXT_PLAIN="Content-Type=/^text\/plain\b/iH"; $__CT_TEXT_PLAIN="content_type_is_type(text) & content_type_is_subtype(plain)"; $MIME_HEADER_CTYPE_ONLY="!${__CD} & !${__CTE} & ${__CT} & !${__MIME_VERSION} & !${__CT_TEXT_PLAIN}";