On Mon, 1 Jul 2002 16:36:31 +0200 (EET) Nerijus Baliunas
<[EMAIL PROTECTED]> wrote:
NB> On Mon, 1 Jul 2002 15:14:03 +0200 (CET) Vadim Zeitlin
<[EMAIL PROTECTED]> wrote:
NB>
NB> VZ> Oops, sorry, I missed the "now" part above -- I though you were speaking
NB> VZ> of enabling X-Auth-Warning test as well. Yes, those 3 should be enabled, do
NB> VZ> you mean they're not?
NB>
NB> No, they are not. The suspicious part is in wxFiltersDialog.cpp:
NB>
NB> void
NB> -OneCritControl::InitSpamOptions()
NB> +OneCritControl::InitSpamOptions(const String& rule)
NB> {
NB> - m_check8bit = MP_SPAM_8BIT_SUBJECT_D;
NB> - m_checkKorean = MP_SPAM_KOREAN_CSET_D;
NB> + // this is really crude but should work in common case when there is only
NB> + // one spam test in the rule
NB> + m_check8bit = strstr(rule, SPAM_TEST_SUBJ8BIT) != 0;
NB> + m_checkKorean = strstr(rule, SPAM_TEST_KOREAN) != 0;
NB>
NB> - m_checkXAuthWarn = MP_SPAM_X_AUTH_WARN_D;
NB> - m_checkHtml = MP_SPAM_HTML_D;
NB> + m_checkXAuthWarn = strstr(rule, SPAM_TEST_XAUTHWARN) != 0;
NB> + m_checkHtml = strstr(rule, SPAM_TEST_HTML) != 0;
NB>
NB> #ifdef USE_RBL
NB> - m_checkRBL = MP_SPAM_RBL_D;
NB> + m_checkRBL = strstr(rule, SPAM_TEST_RBL) != 0;
NB> #endif // USE_RBL
NB> }
Ok, I see the bug. Will check in a fix soon.
Thanks for finding it!
VZ
-------------------------------------------------------
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