/*++ /* NAME /* qmgr_defer /* SUMMARY /* deal with mail that must be delivered later /* SYNOPSIS /* #include "qmgr.h" /* /* void qmgr_defer_recipient(message, recipient, dsn) /* QMGR_MESSAGE *message; /* RECIPIENT *recipient; /* DSN *dsn; /* /* void qmgr_defer_todo(queue, dsn) /* QMGR_QUEUE *queue; /* DSN *dsn; /* /* void qmgr_defer_transport(transport, dsn) /* QMGR_TRANSPORT *transport; /* DSN *dsn; /* DESCRIPTION /* qmgr_defer_recipient() defers delivery of the named message to /* the named recipient. It updates the message structure and writes /* a log entry. /* /* qmgr_defer_todo() iterates over all "todo" deliveries queued for /* the named site, and calls qmgr_defer_recipient() for each recipient /* found. Side effects caused by qmgr_entry_done(), qmgr_queue_done(), /* and by qmgr_active_done(): in-core queue entries will disappear, /* in-core queues may disappear, in-core and on-disk messages may /* disappear, bounces may be sent, new in-core queues, queue entries /* and recipients may appear. /* /* qmgr_defer_transport() calls qmgr_defer_todo() for each queue /* that depends on the named transport. See there for side effects. /* /* Arguments: /* .IP recipient /* A recipient address; used for logging purposes, and for updating /* the message-specific \fIdefer\fR log. /* .IP queue /* Specifies a queue with delivery requests for a specific next-hop /* host (or local user). /* .IP transport /* Specifies a message delivery transport. /* .IP dsn /* See dsn(3). /* BUGS /* The side effects of calling this routine are quite dramatic. /* DIAGNOSTICS /* Panic: consistency check failure. Fatal: out of memory. /* 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 /* /* Preemptive scheduler enhancements: /* Patrik Rak /* Modra 6 /* 155 00, Prague, Czech Republic
/*--*/
/* System library. */
#include <sys_defs.h>
/* Utility library. */
#include <msg.h> #include <vstream.h>
/* Global library. */
#include <mail_proto.h> #include <defer.h>
/* Application-specific. */
#include"qmgr.h"
/* qmgr_defer_transport - defer todo entries for named transport */
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.