You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by sp...@incubator.apache.org on 2004/07/31 01:36:54 UTC

[SpamAssassin Wiki] Updated: CantLocateNoMailAudit

   Date: 2004-07-30T16:36:54
   Editor: TheoVanDinter <fe...@apache.org>
   Wiki: SpamAssassin Wiki
   Page: CantLocateNoMailAudit
   URL: http://wiki.apache.org/spamassassin/CantLocateNoMailAudit

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -14,7 +14,7 @@
 
 To fix this, the calling code needs to be updated to use the new {{{parse()}}} API on the Mail::SpamAssassin object.  You should check the web site where you obtained that code, to see if they've released an update to support 3.0.0.
 
-If one isn't already there, and you're comfortable making the change in the perl code yourself, here's what to do:
+If one isn't already there, and you're comfortable making the change in the perl code yourself, here are some quick changes to head in the right direction:
 
 1. look for lines like:
 
@@ -28,7 +28,11 @@
   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.
+
+
 
 2. Remove any lines like