Hi list,
I found a bug in Sanitizer.pm - could anyone confirm.
If you have a 'rule' with 'policy=unknow' the attachement will be
included, but the attachement should only be included if 'policy=accept'
are found.
My rules have the following layout:
rule_1 policy=unknown
rule_2 policy=accept
default policy=drop
If the att in case will reach the default policy the att should be
droped, but at this time the att are already re-readed from disk. The
policy=drop will change the type to text/plain which will result in
garbage at MUA view.
To change this behaviour search for the following line in file
Sanitizer.pm:
if (defined $fh)
replace with
if (defined $fh && ($pol ne "unknown") )
Wolfgang Käß