msys.cloudmark.set_af_msi_address

March 26, 2020 Contributors

Name

msys.cloudmark.set_af_msi_address — Set the address for the Cloudmark ActiveFilter MSI Messages.

Synopsis

require('msys.cloudmark')

msys.cloudmark.set_af_msi_address(addr)

addr: string

Description

Set the address for the ActiveFilter MSI Messages. This address needs to correspond to the maildir that was defined in the maildir module declaration when you configured Momentum to use the Cloudmark ActiveFilter.

require("msys.cloudmark");

local mod = {};

function mod:init()

  msys.cloudmark.set_af_mode_movemsg("Inbox", "Spam", "no");
  msys.cloudmark.set_af_msi_address("[email protected]");  -- Uses same address configured in the maildir module
  return 0;
end

msys.registerModule("af_test", mod);

See Also

msys.cloudmark.score_af, msys.cloudmark.add_af_data, msys.cloudmark.set_af_mode_discard, msys.cloudmark.set_af_mode_keep, msys.cloudmark.set_af_mode_movemsg, msys.cloudmark.analyze, msys.cloudmark.score, “cloudmark – Cloudmark Authority® Content Scanning”