ExOConfig/Rules/Outbound.json

{
    "Name" : "[SEPPmail] - Route outgoing/internal Mails to SEPPmail",
    "Comments" : "Mails sent from inside the organization are sent to SEPPmail appliance if they have not been there already for sig/enc processing.",
    "RouteMessageOutboundConnector" : "[SEPPmail] ExchangeOnline -> Appliance",
    "SMPriority" : 1,

    "Version":
    {
        "Default":
        {
            "FromScope" : "InOrganization",
            "SentToScope" : "NotInOrganization",
            "ExceptIfHeaderMatchesMessageHeader" : "X-SM-internal",
            "ExceptIfHeaderMatchesPatterns" : "yes",
            "ExceptIfHeaderContainsMessageHeader" : "X-SM-outgoing",
            "ExceptIfHeaderContainsWords" : "yes",
            "ExceptIfMessageTypeMatches" : "OOF",
            "Priority" : 0,
            "SetAuditSeverity" : "DoNotAudit",
            "Mode" : "Enforce",
            "SenderAddressLocation" : "Header"
        }
    }
}