ExOConfig/Rules/100-Inbound.json

{
    "default" :
    {
      "Name" : "[SEPPmail] - 100 Route incoming e-mails to SEPPmail",
      "Comments" : "E-mails sent from outside the organization are sent to the SEPPmail for crypto-processing.",
      "RouteMessageOutboundConnector" : "[SEPPmail] ExchangeOnline -> Appliance",
      "SMPriority" : 1,
      "FromScope" : "NotInOrganization",
      "SentToScope" : "InOrganization",
      "SetHeaderName" : "X-SM-maildirection",
      "SetHeaderValue" : "inbound",
      "ExceptIfHeaderMatchesMessageHeader" : "X-SM-internal",
      "ExceptIfHeaderMatchesPatterns" : "yes",
      "ExceptIfHeaderContainsMessageHeader" : "X-SM-incoming",
      "ExceptIfHeaderContainsWords" : "yes",
      "ExceptIfSCLOver" : 5,
      "Priority" : 0,
      "SetAuditSeverity" : "DoNotAudit",
      "Mode" : "Enforce",
      "SenderAddressLocation" : "Header"
    }
}