/*++ /* NAME /* smtp_sasl_auth_cache 3 /* SUMMARY /* Postfix SASL authentication reply cache /* SYNOPSIS /* #include "smtp.h" /* #include "smtp_sasl_auth_cache.h" /* /* SMTP_SASL_AUTH_CACHE *smtp_sasl_auth_cache_init(map, ttl) /* const char *map /* int ttl; /* /* void smtp_sasl_auth_cache_store(auth_cache, session, resp) /* SMTP_SASL_AUTH_CACHE *auth_cache; /* const SMTP_SESSION *session; /* const SMTP_RESP *resp; /* /* int smtp_sasl_auth_cache_find(auth_cache, session) /* SMTP_SASL_AUTH_CACHE *auth_cache; /* const SMTP_SESSION *session; /* /* char *smtp_sasl_auth_cache_dsn(auth_cache) /* SMTP_SASL_AUTH_CACHE *auth_cache; /* /* char *smtp_sasl_auth_cache_text(auth_cache) /* SMTP_SASL_AUTH_CACHE *auth_cache; /* DESCRIPTION /* This module maintains a cache of SASL authentication server replies. /* This can be used to avoid repeated login failure errors. /* /* smtp_sasl_auth_cache_init() opens or creates the named cache. /* /* smtp_sasl_auth_cache_store() stores information about a /* SASL login attempt together with the server status and /* complete response. /* /* smtp_sasl_auth_cache_find() returns non-zero when a cache /* entry exists for the given host, username and password. /* /* smtp_sasl_auth_cache_dsn() and smtp_sasl_auth_cache_text() /* return the status and complete server response as found /* with smtp_sasl_auth_cache_find(). /* /* Arguments: /* .IP map /* Lookup table name. The name must be singular and must start /* with "proxy:". /* .IP ttl /* The time after which a cache entry is considered expired. /* .IP session /* Session context. /* .IP resp /* Remote SMTP server response, to be stored into the cache. /* DIAGNOSTICS /* All errors are fatal. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Original author: /* Keean Schupke /* Fry-IT Ltd. /* /* Updated by: /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
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.