Is there any reason why it wouldn't be a good idea
to make the header check in sub perlscan_scanner case insensative? e.g.
change
if ($headers{$type} =~ /^$var$/)
to
if ($headers{$type} =~ /^$var$/i)
It would definitely save some typing and cut down
on the complexity of quarantine-attachments.txt when adding rules to block
messages with undesirable content (i.e. 4 letter words, pornographic
terms, etc.) in the subject of the message.
Thanks,
J.T.
|