/*++ /* NAME /* smtp_reqtls_policy 3 /* SUMMARY /* requiretls next-hop policy /* SYNOPSIS /* #include <smtp_reqtls_policy.h> /* /* SMTP_REQTLS_POLICY *smtp_reqtls_policy_parse( /* const char *origin, /* const char *extern_policy) /* /* int smtp_reqtls_policy_eval( /* SMTP_REQTLS_POLICY *intern_policy, /* const char *nexthop_name) /* /* void smtp_reqtls_policy_free( /* SMTP_REQTLS_POLICY *intern_policy) /* DESCRIPTION /* This module determines the REQUIRETLS enforcement level for /* connections to a next-hop destination. /* /* smtp_reqtls_policy_parse() converts a policy from human-readable /* form to internal form. It should be called as part of /* before-chroot initialization. A policy is a list of elements that /* will be matched in the specified order. A policy element must be /* an atom ("enforce", "opportunistic+starttls", "opportunistic", /* "disable", "error") or a type:table. A table lookup result must /* be an atom, not a type:table. To match a parent domain name /* with a table that wants and exact match, specify an explicit /* ASCII '.' before the parent domain name. In a policy lookup /* table, an internationalized domain name must be specified in /* A-label form. /* /* smtp_reqtls_policy_eval() evaluates an internal-form /* policy for the specified next-hop destination. An /* internationalized next-hop name is converted to A-label form. /* The result is SMTP_REQTLS_POLICY_ACT_ENFORCE (enforce), /* SMTP_REQTLS_POLICY_ACT_OPP_TLS (opportunistic+starttls), /* SMTP_REQTLS_POLICY_ACT_OPPORTUNISTIC (opportunistic), /* SMTP_REQTLS_POLICY_ACT_DISABLE, or SMTP_REQTLS_POLICY_ACT_ERROR /* (unknown command or database access error). /* /* smtp_reqtls_policy_free() destroys an internal-form policy. /* /* Arguments: /* .IP origin /* The configuration parameter name for the policy from main.cf. /* This is used for error reporting only. /* .IP extern_policy /* External policy representation. /* .IP intern_policy /* Internal policy representation. /* .IP nexthop_name /* Next-hop destination without [ ], :service, or :port. /* HISTORY /* This as derived from the Postfix server_policy(3) module. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* porcupine.org
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.