http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5052





------- Additional Comments From [EMAIL PROTECTED]  2006-08-15 05:07 -------
(In reply to comment #0)

the original code before I made my change is actually

foreach my $p ($pms->{msg}->find_parts(qr/^(application|text)\b/)

> spammers seem to know that can can avoid check_microsoft_executable in the 
> AntiVirus.pm plugin if 
> they use a non-sensicle content type when attaching executable code. the 
> plugin is too specific 
about 
> what content-types it checks and for this check I don't see why you cannot 
> check all types.
> 
> Instead of 
> 
> foreach my $p ($pms->{msg}->find_parts(qr/^(application|text|audio|image)\b/)
> 
> I prefer
> 
> foreach my $p ($pms->{msg}->find_parts(qr/^\w+\b/))
> 
> or alternatively don't use find just use the parts list all together and 
> check all parts.
> 
> check_microsoft_executable and it's use in determining if a message is spam 
> or not does not really 
> relate to virus checkers and so this all could be performed outside of the 
> context of "virus checking" 
> some people might want the rule to indicate spam whilst others simply don't 
> care especially those 
using 
> windows so consider making the set of content types to check configurable 
> thru user_prefs





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to