[Mimedefang] Boilerplate?

Jason Englander jason at englanders.cc
Wed May 8 15:15:03 EDT 2002


On Wed, 8 May 2002, J.F. Noonan wrote:

> Thanks for the reply Jason.  I thought that was probably the thing
> to do, but where does $Boilerplate get defined?

Also in /etc/mail/mimedefang-filter, but further "up".  Mine, for
example gets defined by this blurb in filter_begin:

  # SpamAssassin checks
  if ($Features{"SpamAssassin"}) {
    if (-s "./INPUTMSG" <= (500 * 1024)) {
      my($hits, $req, $names, $report) = spam_assassin_check();
      if ($hits >= $req) {
        action_add_header("X-Spam-Warning", "SpamAssassin says this message is SPAM");
        $Boilerplate = $report;
      }
    }
    else { action_add_header("X-Spam-Warning", "Messages over 500K not checked"); }
  }


-- 
Jason Englander
jason at englanders.cc





More information about the MIMEDefang mailing list