|
Postfix3.3.1
|
#include <sys_defs.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <pwd.h>#include <grp.h>#include <fcntl.h>#include <ctype.h>#include <msg.h>#include <vstream.h>#include <vstring.h>#include <argv.h>#include <htable.h>#include <dict.h>#include <iostuff.h>#include <mymalloc.h>#include <mac_parse.h>#include <set_eugid.h>#include <split_at.h>#include <stringops.h>#include <recipient_list.h>#include <deliver_request.h>#include <mail_params.h>#include <mail_version.h>#include <mail_conf.h>#include <bounce.h>#include <defer.h>#include <deliver_completed.h>#include <sent.h>#include <pipe_command.h>#include <mail_copy.h>#include <mail_addr.h>#include <canon_addr.h>#include <split_addr.h>#include <off_cvt.h>#include <quote_822_local.h>#include <flush_clnt.h>#include <dsn_util.h>#include <dsn_buf.h>#include <sys_exits.h>#include <delivered_hdr.h>#include <fold_addr.h>#include <mail_parm_split.h>#include <mail_server.h>データ構造 | |
| struct | PIPE_PARAMS |
| struct | PIPE_ATTR |
| struct | PIPE_STATE |
マクロ定義 | |
| #define | PIPE_DICT_TABLE "pipe_command" /* table name */ |
| #define | PIPE_DICT_NEXTHOP "nexthop" /* key */ |
| #define | PIPE_DICT_RCPT "recipient" /* key */ |
| #define | PIPE_DICT_ORIG_RCPT "original_recipient" /* key */ |
| #define | PIPE_DICT_SENDER "sender"/* key */ |
| #define | PIPE_DICT_USER "user" /* key */ |
| #define | PIPE_DICT_EXTENSION "extension" /* key */ |
| #define | PIPE_DICT_MAILBOX "mailbox" /* key */ |
| #define | PIPE_DICT_DOMAIN "domain"/* key */ |
| #define | PIPE_DICT_SIZE "size" /* key */ |
| #define | PIPE_DICT_CLIENT_ADDR "client_address" /* key */ |
| #define | PIPE_DICT_CLIENT_NAME "client_hostname" /* key */ |
| #define | PIPE_DICT_CLIENT_PORT "client_port" /* key */ |
| #define | PIPE_DICT_CLIENT_PROTO "client_protocol" /* key */ |
| #define | PIPE_DICT_CLIENT_HELO "client_helo" /* key */ |
| #define | PIPE_DICT_SASL_METHOD "sasl_method" /* key */ |
| #define | PIPE_DICT_SASL_USERNAME "sasl_username" /* key */ |
| #define | PIPE_DICT_SASL_SENDER "sasl_sender" /* key */ |
| #define | PIPE_DICT_QUEUE_ID "queue_id" /* key */ |
| #define | PIPE_FLAG_RCPT (1<<0) |
| #define | PIPE_FLAG_USER (1<<1) |
| #define | PIPE_FLAG_EXTENSION (1<<2) |
| #define | PIPE_FLAG_MAILBOX (1<<3) |
| #define | PIPE_FLAG_DOMAIN (1<<4) |
| #define | PIPE_FLAG_ORIG_RCPT (1<<5) |
| #define | PIPE_OPT_FOLD_BASE (16) |
| #define | PIPE_OPT_FOLD_USER (FOLD_ADDR_USER << PIPE_OPT_FOLD_BASE) |
| #define | PIPE_OPT_FOLD_HOST (FOLD_ADDR_HOST << PIPE_OPT_FOLD_BASE) |
| #define | PIPE_OPT_QUOTE_LOCAL (1 << (PIPE_OPT_FOLD_BASE + 2)) |
| #define | PIPE_OPT_FINAL_DELIVERY (1 << (PIPE_OPT_FOLD_BASE + 3)) |
| #define | PIPE_OPT_FOLD_ALL (FOLD_ADDR_ALL << PIPE_OPT_FOLD_BASE) |
| #define | PIPE_OPT_FOLD_FLAGS(f) (((f) & PIPE_OPT_FOLD_ALL) >> PIPE_OPT_FOLD_BASE) |
| #define | STR vstring_str |
| #define | NO 0 |
| #define | EARLY_RETURN(x) { argv_free(result); vstring_free(buf); return (x); } |
| #define | DELIVER_MSG_CLEANUP() |
関数 | |
| int | main (int argc, char **argv) |
変数 | |
| int | var_command_maxtime |
| char * | var_pipe_dsn_filter |
| MAIL_VERSION_STAMP_DECLARE | |
| #define DELIVER_MSG_CLEANUP | ( | ) |
| #define EARLY_RETURN | ( | x | ) | { argv_free(result); vstring_free(buf); return (x); } |
| #define NO 0 |
| #define PIPE_OPT_FINAL_DELIVERY (1 << (PIPE_OPT_FOLD_BASE + 3)) |
| #define PIPE_OPT_FOLD_ALL (FOLD_ADDR_ALL << PIPE_OPT_FOLD_BASE) |
| #define PIPE_OPT_FOLD_FLAGS | ( | f | ) | (((f) & PIPE_OPT_FOLD_ALL) >> PIPE_OPT_FOLD_BASE) |
| #define PIPE_OPT_FOLD_HOST (FOLD_ADDR_HOST << PIPE_OPT_FOLD_BASE) |
| #define PIPE_OPT_FOLD_USER (FOLD_ADDR_USER << PIPE_OPT_FOLD_BASE) |
| #define PIPE_OPT_QUOTE_LOCAL (1 << (PIPE_OPT_FOLD_BASE + 2)) |
| #define STR vstring_str |
1.8.9.1