/* *Thesestatevariablesareaccessedbymanyfunctions,andthereisonly *oneinstanceofeachpermessage.
*/ typedefstruct CLEANUP_STATE {
VSTRING *attr_buf; /* storage for named attribute */
VSTRING *temp1; /* scratch buffer, local use only */
VSTRING *temp2; /* scratch buffer, local use only */
VSTRING *temp3; /* scratch buffer, local use only */
VSTRING *stripped_buf; /* character stripped input */
VSTREAM *src; /* current input stream */
VSTREAM *dst; /* current output stream */
MAIL_STREAM *handle; /* mail stream handle */ char *queue_name; /* queue name */ char *queue_id; /* queue file basename */ struct timeval arrival_time; /* arrival time */ char *fullname; /* envelope sender full name */ char *sender; /* envelope sender address */ char *recip; /* envelope recipient address */ char *orig_rcpt; /* original recipient address */ char *return_receipt; /* return-receipt address */ char *errors_to; /* errors-to address */
ARGV *auto_hdrs; /* MTA's own header(s) */
ARGV *hbc_rcpt; /* header/body checks BCC addresses */ int flags; /* processing options, status flags */ int tflags; /* User- or MTA-requested tracing */ int qmgr_opts; /* qmgr processing options */ int errs; /* any badness experienced */ int err_mask; /* allowed badness */
uint64_t headers_seen; /* which headers were seen */ int hop_count; /* count of received: headers */ char *resent; /* any resent- header seen */
BH_TABLE *dups; /* recipient dup filter */ void (*action) (struct CLEANUP_STATE *, int, constchar *, ssize_t);
off_t data_offset; /* start of message content */
off_t body_offset; /* start of body content */
off_t xtra_offset; /* start of extra segment */
off_t cont_length; /* length including Milter edits */
off_t sender_pt_offset; /* replace sender here */
off_t sender_pt_target; /* record after sender address */
off_t append_rcpt_pt_offset; /* append recipient here */
off_t append_rcpt_pt_target; /* target of above record */
off_t append_hdr_pt_offset; /* append header here */
off_t append_hdr_pt_target; /* target of above record */
off_t append_meta_pt_offset; /* append meta record here */
off_t append_meta_pt_target; /* target of above record */
ssize_t rcpt_count; /* recipient count */ char *reason; /* failure reason */ char *smtp_reply; /* failure reason, SMTP-style */
NVTABLE *attr; /* queue file attribute list */
MIME_STATE *mime_state; /* MIME state engine */ int mime_errs; /* MIME error flags */ char *hdr_rewrite_context; /* header rewrite context */ char *filter; /* from header/body patterns */ char *redirect; /* from header/body patterns */ char *message_id; /* from Message-ID header */ char *dsn_envid; /* DSN envelope ID */ int dsn_ret; /* DSN full/hdrs */ int dsn_notify; /* DSN never/delay/fail/success */ char *dsn_orcpt; /* DSN original recipient */ char *verp_delims; /* VERP delimiters (optional) */ #ifdef DELAY_ACTION int defer_delay; /* deferred delivery */ #endif
/* *MiscellaneousMiltersupport.
*/
MILTERS *milters; /* mail filters */ constchar *client_name; /* real or ersatz client */ constchar *reverse_name; /* real or ersatz client */ constchar *client_addr; /* real or ersatz client */ int client_af; /* real or ersatz client */ constchar *client_port; /* real or ersatz client */ constchar *server_addr; /* real or ersatz server */ constchar *server_port; /* real or ersatz server */
VSTRING *milter_ext_from; /* externalized sender */
VSTRING *milter_ext_rcpt; /* externalized recipient */
VSTRING *milter_err_text; /* milter call-back reply */
VSTRING *milter_dsn_buf; /* Milter DSN parsing buffer */
/* *SupportforMilterbodyreplacementrequests.
*/ struct CLEANUP_REGION *free_regions;/* unused regions */ struct CLEANUP_REGION *body_regions;/* regions with body content */ struct CLEANUP_REGION *curr_body_region;
/* *Internationalization,RequireTLS,etc.
*/ int sendopts; /* what support is desired */ int reqtls_esmtp_hdr_seen; /* valid Require-TLS-ESMTP header */
} CLEANUP_STATE;
/* *Statusflags.Flags0-15arereservedforcleanup_user.h.
*/ #define CLEANUP_FLAG_INRCPT (1<<16) /* Processing recipient records */ #define CLEANUP_FLAG_WARN_SEEN (1<<17) /* REC_TYPE_WARN record seen */ #define CLEANUP_FLAG_END_SEEN (1<<18) /* REC_TYPE_END record seen */
/* 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
/*--*/
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.20 Sekunden
(vorverarbeitet am 2026-08-09)
¤
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.