...
If one isn't already there, and you're comfortable making the change in the perl code yourself, here 's what to doare some quick changes to head in the right direction:
- look for lines like:
No Format |
---|
my $mail = Mail::SpamAssassin::NoMailAudit->new( data => \@msgtext ); |
...
No Format |
---|
my $mail = $spamtest->parse( \@msgtext ); |
also, calls to $spamtest->rewrite_mail();
and then outputing the header/body can just be replaced by print $spamtest->rewrite_mail();
, which will spit out the full message, rewritten.
$spamtest
should be replaced with whatever the reference to the Mail::SpamAssassin
object is called, in that code.
...