From: Jamie C. <jca...@we...> - 2003-11-07 11:12:06
|
This is actually a bug in the module that happens if the regexp doesn't have any characters after the last / . However, I have released an update at http://www.webmin.com/updates.html to fix it .. Thanks for the bug report! - Jamie Larry Gilson wrote: > Hi Jamie, > > I tested the SpamAssassin module. I noticed that the /etc/mail/spamassassin > directory is being parsed now. Thanks for the update! > > I did notice a problem though. I reviewed my rules through the module and > it appears that there is some confusion in creating three tests. The rules > are shown below. > > > describe MY_RBDY_OBFU_ISOD MY: OBFU text with ISO DEC set > rawbody MY_RBDY_OBFU_ISOD /&\#(6[5-9]|[7-9][0-9]|1[0-1][0-9]|12[0-6])\D/ > score MY_RBDY_OBFU_ISOD 4.0 > > The rawbody 'Test name' just displays a '1' without a regex. > > > describe MY_FULL_OBFU_HTSCR MY: OBFU text with script tags > full MY_FULL_OBFU_HTSCR /[\s>]\w+<![\w\s\-\$&!;]{0,150}>\w+/ > score MY_FULL_OBFU_HTSCR 2.0 > > The full 'Test name' just displays a '3' without a regex. > > > describe MY_FULL_INV_TAG MY: Invalid HTML or script tag > full MY_FULL_INV_TAG /<!?-?-? ?\w{7,} ?-?-?>/ > score MY_FULL_INV_TAG 2.0 > > The full 'Test name' just displays a '3' without a regex. > > > I don't know what other information would be useful to you. If I can help > troubleshoot in any way, please let me know. I can't find a common thread > between these. There are no tabs, just spaces. The file was not edited in > Windows. Additionally, I cut an past the information into Webmin through > the module, saved the rules, and it displayed the same output described > above. The saved rules look like this: > > describe MY_RBDY_OBFU_ISOD MY: OBFU text with ISO DEC set > rawbody MY_RBDY_OBFU_ISOD /&\#(6[5-9]|[7-9][0-9]|1[0-1][0-9]|12[0-6])\D/ > score MY_RBDY_OBFU_ISOD 4.0 > > describe MY_FULL_OBFU_HTSCR MY: OBFU text with script tags > full MY_FULL_OBFU_HTSCR /[\s>]\w+<![\w\s\-\$&!;]{0,150}>\w+/ > score MY_FULL_OBFU_HTSCR 2.0 > > describe MY_FULL_INV_TAG MY: Invalid HTML or script tag > full MY_FULL_INV_TAG /<!?-?-? ?\w{7,} ?-?-?>/ > score MY_FULL_INV_TAG 2.0 \ |