On Mon, 1 Jul 2002 15:14:03 +0200 (CET) Vadim Zeitlin
<[EMAIL PROTECTED]> wrote:
VZ> Oops, sorry, I missed the "now" part above -- I though you were speaking
VZ> of enabling X-Auth-Warning test as well. Yes, those 3 should be enabled, do
VZ> you mean they're not?
No, they are not. The suspicious part is in wxFiltersDialog.cpp:
void
-OneCritControl::InitSpamOptions()
+OneCritControl::InitSpamOptions(const String& rule)
{
- m_check8bit = MP_SPAM_8BIT_SUBJECT_D;
- m_checkKorean = MP_SPAM_KOREAN_CSET_D;
+ // this is really crude but should work in common case when there is only
+ // one spam test in the rule
+ m_check8bit = strstr(rule, SPAM_TEST_SUBJ8BIT) != 0;
+ m_checkKorean = strstr(rule, SPAM_TEST_KOREAN) != 0;
- m_checkXAuthWarn = MP_SPAM_X_AUTH_WARN_D;
- m_checkHtml = MP_SPAM_HTML_D;
+ m_checkXAuthWarn = strstr(rule, SPAM_TEST_XAUTHWARN) != 0;
+ m_checkHtml = strstr(rule, SPAM_TEST_HTML) != 0;
#ifdef USE_RBL
- m_checkRBL = MP_SPAM_RBL_D;
+ m_checkRBL = strstr(rule, SPAM_TEST_RBL) != 0;
#endif // USE_RBL
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers