# Test configuration for auth milter
{

    "debug"                           : 0,
    "dryrun"                          : 0,
    "logtoerr"                        : 1,
    "error_log"                       : "tmp/milter.err",
    "connection"                      : "unix:tmp/authentication_milter_test.sock",
    "umask"                           : "0000",
    "connect_timeout"                 : 55,
    "command_timeout"                 : 55,
    "content_timeout"                 : 595,
    "tempfail_on_error"               : 1,
    "tempfail_on_error_authenticated" : 1,
    "tempfail_on_error_local"         : 1,
    "tempfail_on_error_trusted"       : 1,

    "metric_connection"               : "unix:tmp/authentication_milter_test_metrics.sock",
    "metric_umask"                    : "0000",

    "ip_map" : {
        "4.3.2.1" : { "ip" : "74.125.82.171" , "helo" : "mail-we0-f171.google.com" },
        "5.4.3.0/24" : { "ip" : "74.125.82.171", "helo" : "mail-we0-f171.google.com" }
    },

    "listen_backlog"         : 1,
    "min_children"           : 1,
    "max_children"           : 2,
    "min_spare_children"     : 1,
    "max_spare_children"     : 1,
    "max_requests_per_child" : 1000,

    "handlers" : {
        "SPF" : {
            "hide_none" : 0
        },
        "DMARC" : {
            "hide_none" : 0,
            "detect_list_id" : 1
        },
        "XGoogleDKIM" : {
            "hide_none" : 0
        },
        "DKIM" : {
            "hide_none" : 0,
            "show_default_adsp" : 0,
            "check_adsp" : 1,
            "adsp_hide_none" : 0
        },
        "PTR" : {},
        "SenderID" : {
            "hide_none" : 1
        },
        "IPRev" : {},
        "Auth" : {},
        "LocalIP" : {},
        "TrustedIP" : {
            "trusted_ip_list" : [
                "123.123.12.3"
            ]
        },
        "!AddID" : {},
        "!ReturnOK" : {},
        "Sanitize" : {
            "hosts_to_remove" : [
                "example.com"
            ],
            "remove_headers" : "yes"
        }
    }

}