Kami,

 

And after I went to the trouble to be able to update your filters with a batch file that gets called automatically J. My CleanFilter gets called right after the download batch file.

 

I am attaching the batch file (just rename it to .cmd) and the two “control” files if anyone out there also wants to use them. I have a similar set for your wordmask filter.

 

 

     Goran Jovanovic

     The LAN Shoppe

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kami Razvan
Sent: Tuesday, July 06, 2004 2:58 AM
To: [EMAIL PROTECTED]
Subject: RE: [Declude.JunkMail] Filter with a traling space question

 

Hi;

I am going to remove HGH. Actually I think we should not list 3 character words but this one is just used too often to ignore.

It is removed.

Regards,

Kami

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Goran Jovanovic
Sent: Monday, July 05, 2004 11:07 PM
To: [EMAIL PROTECTED]
Subject: [Declude.JunkMail] Filter with a traling space question

Hi all,

 

Happy Canada Day and July 4 to all Canadians and Americans respectively.

 

I have an e-mail fail a filter test that I was being really careful with. The test is Kami’s Viagra test. In the log I get

 

07/05/2004 10:57:50 Q6c682c190080ebdc Filter FILTER-VIAGRA-RX: Not skipping E-mail due to current weight of 0.

07/05/2004 10:57:50 Q6c682c190080ebdc Filter: Set max weight to 60.

07/05/2004 10:57:51 Q6c682c190080ebdc Triggered CONTAINS filter FILTER-VIAGRA-RX on HGH  [weight->5; hgh SmtznGNrlFJahEpSe0JKcyEpUh].

 

And in the Viagra filter I have the following at the end of the filter and I have removed the original line that did not have a trailing space

 

# Need a space at the end to prevent problems

BODY     5     CONTAINS      HGH

# End of adding a space to filter lines

 

Now you will notice that the BODY line really does have a space behind the HGH

 

The e-mail that failed was an HTML mail with lots of embedded pictures etc.

 

It appears that the portion of the e-mail that the “HGH “ failed is on some mime (or something) encoding. Now it seems wrong to me that there would be a space in the encoding and somehow something happened and it somehow added a space?? I am not really sure what I think may be the problem but I guess my doubt comes from the fact that I believe that a space would not be present in the encoding.

 

So my questions:

 

Did it really fail on hgh with a trailing space?

Can you have a space in the encoding?

If the above is true then do you have any idea on how common a space in the encoding would be?

 

Thanx

 

     Goran Jovanovic

     The LAN Shoppe

<<image001.gif>>

BODY     5     CONTAINS      HGH
@Echo off

rem --- Create timestamp: ---
for /f "tokens=*" %%a in ('date /t') do set v_time=%%a
for /f "tokens=*" %%b in ('time /t') do set v_time=%v_time% %%b

set Filters_Path=D:\IMail\Declude\Filters\Kami
set Filter_File=%1
set Filter=%Filters_Path%\%1
set Remove_Filter=%Filters_Path%\Remove_%1
set Replace_Filter=%Filters_Path%\Replace_%1
set Tools=D:\Tools\

echo Cleaning Filter %Filter_File% on %v_time% >CleanFilter.log

if not exist %Filter% goto NoFilterFile
if not exist %Remove_Filter% goto NoRemoveFile
if not exist %Replace_Filter% goto NoReplaceFile

%Tools%egrep -v -U -f %Remove_Filter% %Filter% >Striped.txt

%Tools%cat Striped.txt %Replace_Filter% > %Filter%

goto done

:NoFilterFile
Echo File %Filter% not found >>CleanFilter.log
goto done


:NoRemoveFile
Echo File %Remove_Filter% not found >>CleanFilter.log
goto done

:NoReplaceFile
Echo File %Replace_Filter% not found >>CleanFilter.log
goto done


:Done
# Need a space at the end to prevent problems
BODY     5     CONTAINS      HGH 
# End of adding a space to filter lines

Reply via email to