redis {
  servers = "${REDIS_ADDR}:${REDIS_PORT}";
}
antivirus {
 clam {
    attachments_only = false;
    symbol = "CLAM_VIRUS";
    type = "clamav";
    servers = "127.0.0.1:${PORT_CLAM}";
  }
  fprot {
    attachments_only = false;
    symbol = "FPROT_VIRUS";
    type = "fprot";
    servers = "127.0.0.1:${PORT_FPROT}";
    patterns {
      FPROT_EICAR = "^EICAR_Test_File$";
    }
  }
  fprot_duplicate {
    prefix = "fp_dupe";
    attachments_only = false;
    symbol = "FPROT_VIRUS_DUPLICATE_DEFAULT";
    type = "fprot";
    servers = "127.0.0.1:${PORT_FPROT_DUPLICATE}";
    patterns = [
      {FPROT_VIRUS_DUPLICATE_PATTERN = "^E"},
      {FPROT_VIRUS_DUPLICATE_NOPE1 = "^EI",
      FPROT_VIRUS_DUPLICATE_NOPE2 = "^EIC",
      FPROT_VIRUS_DUPLICATE_NOPE3 = "^EICA",
      FPROT_VIRUS_DUPLICATE_NOPE4 = "^EICAR",
      FPROT_VIRUS_DUPLICATE_NOPE5 = "^EICAR_"}
    ];
  }
}
