/*++ /* NAME /* abounce 3 /* SUMMARY /* asynchronous bounce/defer/trace service client /* SYNOPSIS /* #include <abounce.h> /* /* void abounce_flush(flags, queue, id, encoding, sendopts, sender, /* dsn_envid, dsn_ret, callback, context) /* int flags; /* const char *queue; /* const char *id; /* const char *encoding; /* int sendopts; /* const char *sender; /* const char *dsn_envid; /* int dsn_ret; /* void (*callback)(int status, void *context); /* void *context; /* /* void abounce_flush_verp(flags, queue, id, encoding, sendopts, sender, /* dsn_envid, dsn_ret, verp, callback, context) /* int flags; /* const char *queue; /* const char *id; /* const char *encoding; /* int sendopts; /* const char *sender; /* const char *dsn_envid; /* int dsn_ret; /* const char *verp; /* void (*callback)(int status, void *context); /* void *context; /* /* void adefer_flush(flags, queue, id, encoding, sendopts, sender, /* dsn_envid, dsn_ret, callback, context) /* int flags; /* const char *queue; /* const char *id; /* const char *encoding; /* int sendopts; /* const char *sender; /* const char *dsn_envid; /* int dsn_ret; /* void (*callback)(int status, void *context); /* void *context; /* /* void adefer_flush_verp(flags, queue, id, encoding, sendopts, sender, /* dsn_envid, dsn_ret, verp, callback, context) /* int flags; /* const char *queue; /* const char *id; /* const char *encoding; /* int sendopts; /* const char *sender; /* const char *dsn_envid; /* int dsn_ret; /* const char *verp; /* void (*callback)(int status, void *context); /* void *context; /* /* void adefer_warn(flags, queue, id, encoding, sendopts, sender, /* dsn_envid, dsn_ret, callback, context) /* int flags; /* const char *queue; /* const char *id; /* const char *encoding; /* int sendopts; /* const char *sender; /* const char *dsn_envid; /* int dsn_ret; /* void (*callback)(int status, void *context); /* void *context; /* /* void atrace_flush(flags, queue, id, encoding, sendopts, sender, /* dsn_envid, dsn_ret, callback, context) /* int flags; /* const char *queue; /* const char *id; /* const char *encoding; /* int sendopts; /* const char *sender; /* const char *dsn_envid; /* int dsn_ret; /* void (*callback)(int status, void *context); /* void *context; /* DESCRIPTION /* This module implements an asynchronous interface to the /* bounce/defer/trace service for submitting sender notifications /* without waiting for completion of the request. /* /* abounce_flush() bounces the specified message to /* the specified sender, including the bounce log that was /* built with bounce_append(). /* /* abounce_flush_verp() is like abounce_flush() but sends /* one VERP style notification per undeliverable recipient. /* /* adefer_flush() bounces the specified message to /* the specified sender, including the defer log that was /* built with defer_append(). /* adefer_flush() requests that the deferred recipients are deleted /* from the original queue file. /* /* adefer_flush_verp() is like adefer_flush() but sends /* one VERP style notification per undeliverable recipient. /* /* adefer_warn() sends a "mail is delayed" notification to /* the specified sender, including the defer log that was /* built with defer_append(). /* /* atrace_flush() returns the specified message to the specified /* sender, including the message delivery record log that was /* built with vtrace_append(). /* /* Arguments: /* .IP flags /* The bitwise OR of zero or more of the following (specify /* BOUNCE_FLAG_NONE to request no special processing): /* .RS /* .IP BOUNCE_FLAG_CLEAN /* Delete the bounce log in case of an error (as in: pretend /* that we never even tried to bounce this message). /* .IP BOUNCE_FLAG_DELRCPT /* When specified with a flush operation, request that /* recipients be deleted from the queue file. /* /* Note: the bounce daemon ignores this request when the /* recipient queue file offset is <= 0. /* .IP BOUNCE_FLAG_COPY /* Request that a postmaster copy is sent. /* .RE /* .IP queue /* The message queue name of the original message file. /* .IP id /* The message queue id if the original message file. The bounce log /* file has the same name as the original message file. /* .IP encoding /* The body content encoding: MAIL_ATTR_ENC_{7BIT,8BIT,NONE}. /* .IP sendopts /* Sender-requested SMTPUTF8 or RequireTLS support. /* .IP sender /* The sender envelope address. /* .IP dsn_envid /* Optional DSN envelope ID. /* .IP ret /* Optional DSN return full/headers option. /* .IP verp /* VERP delimiter characters. /* .IP callback /* Name of a routine that receives the notification status as /* documented for bounce_flush() or defer_flush(). /* .IP context /* Application-specific context that is passed through to the /* callback routine. Use proper casts or the world will come /* to an end. /* DIAGNOSTICS /* In case of success, these functions log the action, and return a /* zero result via the callback routine. Otherwise, the functions /* return a non-zero result via the callback routine, and when /* BOUNCE_FLAG_CLEAN is disabled, log that message delivery is deferred. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA /* /* 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.