Skip to main content

msys.cloudmark.set_af_mode_discard

Last updated March 2020

Name

msys.cloudmark.set_af_mode_discard — Set the Cloudmark ActiveFilter mode to DISCARD.

Synopsis

require('msys.cloudmark')

msys.cloudmark.set_af_mode_discard()

Description

Set the Cloudmark ActiveFilter mode to DISCARD.

Note

You must set the ActiveFilter mode by invoking one of the following functions:

  • msys.cloudmark.set_af_mode_discard

  • msys.cloudmark.set_af_mode_keep

  • msys.cloudmark.set_af_mode_movemsg

require("msys.cloudmark");

local mod = {};

function mod:init()

  msys.cloudmark.set_af_mode_discard();
  msys.cloudmark.set_af_msi_address("msi@msi.local");
  return 0;
end

msys.registerModule("af_test", mod);

See Also

Was this page helpful?