Skip to main content

Name

msys.cloudmark.set_af_mode_keep — Set the Cloudmark ActiveFilter mode to KEEP.

Synopsis

require('msys.cloudmark')

msys.cloudmark.set_af_mode_keep()

Description

This sets the Cloudmark ActiveFilter mode to KEEP. That is, move messages around based on their status.

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_keep();
  msys.cloudmark.set_af_msi_address("msi@msi.local");
  return 0;
end

msys.registerModule("af_test", mod);

See Also

Was this page helpful?