ts-mailcow-api
    Preparing search index...

    Interface SpamPolicyPostRequest

    Antispam policy creation request.

    interface SpamPolicyPostRequest {
        domain: string;
        object_from: string;
        object_list: "wl" | "bl";
    }
    Index

    Properties

    domain: string

    Domain for which the policies applies.

    object_from: string

    The 'from' parameter off the antispam policy

    object_list: "wl" | "bl"

    Use 'wl' for whitelist and 'bl' for blacklist.