Skip to main content

msys.cloudmark.set_af_msi_address

Last updated March 2020

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("msi@msi.local");  -- Uses same address configured in the maildir module
  return 0;
end

msys.registerModule("af_test", mod);

See Also

Was this page helpful?