ClamAV spamfilterN_config_file

From Messaging Server Technical Reference Wiki
Jump to: navigation, search



When using ClamAV, a spamfilterN_config_file MTA option might be set as


msconfig> set mta.spamfilter3_config_file IMTA_TABLE:clamav.dat

With ClamAV, the file that a spamfilterN_config_file MTA option names may contain the following options:

  • DEBUG (integer; default is 0).
  • USE_INSTREAM (0 or 1; default is 0). New in Messaging Server 7.0u3. The default 0 selects that ClamAV "STREAM" request is sent; setting 1 selects that ClamAV "INSTREAM" request is sent.
  • MESSAGE_BUFFER_SIZE (integer; default is 1048576).
  • HOST (hostname or IP address). A value must be specified for this option; (its presence is required).
  • PORT (integer). A value must be specified for this option; (its presence is required).
  • SOCKS_HOST (string).
  • SOCKS_PORT (integer; default is 1080).
  • SOCKS_USERNAME (string).
  • SOCKS_PASSWORD (string).
  • TIMEOUT (integer; default is 3600).
  • MODE (integer; default is 0).
  • FIELD (string; default is "Virus-Test").
  • VERDICT (string).


See also: