/*++ /* NAME /* delivered_hdr 3 /* SUMMARY /* process Delivered-To: headers /* SYNOPSIS /* #include <delivered_hdr.h> /* /* DELIVERED_HDR_INFO *delivered_hdr_init(stream, offset, flags) /* VSTREAM *stream; /* off_t offset; /* int flags; /* /* int delivered_hdr_find(info, address) /* DELIVERED_HDR_INFO *info; /* const char *address; /* /* void delivered_hdr_free(info) /* DELIVERED_HDR_INFO *info; /* DESCRIPTION /* This module processes addresses in Delivered-To: headers. /* These headers are added by some mail delivery systems, for the /* purpose of breaking mail forwarding loops. N.B. This solves /* a different problem than the Received: hop count limit. Hop /* counts are used to limit the impact of mail routing problems. /* /* delivered_hdr_init() extracts Delivered-To: header addresses /* from the specified message, and returns a table with the /* result. The file seek pointer is changed. /* /* delivered_hdr_find() looks up the address in the lookup table, /* and returns non-zero when the address was found. The /* address argument must be in internalized form. /* /* delivered_hdr_free() releases storage that was allocated by /* delivered_hdr_init(). /* /* Arguments: /* .IP stream /* The open queue file. /* .IP offset /* Offset of the first message content record. /* .IP flags /* Zero, or the bit-wise OR ot: /* .RS /* .IP FOLD_ADDR_USER /* Case fold the address local part. /* .IP FOLD_ADDR_HOST /* Case fold the address domain part. /* .IP FOLD_ADDR_ALL /* Alias for (FOLD_ADDR_USER | FOLD_ADDR_HOST). /* .RE /* .IP info /* Extracted Delivered-To: addresses information. /* .IP address /* A recipient address, internal form. /* DIAGNOSTICS /* Fatal errors: out of memory. /* SEE ALSO /* mail_copy(3), producer of Delivered-To: and other headers. /* 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
/*--*/
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.