|
Postfix3.3.1
|
#include <sys_defs.h>#include <sys/stat.h>#include <unistd.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include <signal.h>#include <stdio.h>#include <utime.h>#include <mymalloc.h>#include <msg.h>#include <msg_syslog.h>#include <vstream.h>#include <msg_vstream.h>#include <scan_dir.h>#include <vstring.h>#include <safe.h>#include <set_ugid.h>#include <argv.h>#include <vstring_vstream.h>#include <sane_fsops.h>#include <myrand.h>#include <warn_stat.h>#include <clean_env.h>#include <mail_task.h>#include <mail_conf.h>#include <mail_params.h>#include <mail_version.h>#include <mail_queue.h>#include <mail_open_ok.h>#include <file_id.h>#include <mail_parm_split.h>データ構造 | |
| struct | queue_info |
マクロ定義 | |
| #define | MAIL_QUEUE_INTERNAL |
| #define | MAX_TEMP_AGE (60 * 60 * 24) /* temp file maximal age */ |
| #define | STR vstring_str /* silly little macro */ |
| #define | ACTION_STRUCT (1<<0) /* fix file organization */ |
| #define | ACTION_PURGE (1<<1) /* purge old temp files */ |
| #define | ACTION_DELETE_ONE (1<<2) /* delete named queue file(s) */ |
| #define | ACTION_DELETE_ALL (1<<3) /* delete all queue file(s) */ |
| #define | ACTION_REQUEUE_ONE (1<<4) /* requeue named queue file(s) */ |
| #define | ACTION_REQUEUE_ALL (1<<5) /* requeue all queue file(s) */ |
| #define | ACTION_HOLD_ONE (1<<6) /* put named queue file(s) on hold */ |
| #define | ACTION_HOLD_ALL (1<<7) /* put all messages on hold */ |
| #define | ACTION_RELEASE_ONE (1<<8) /* release named queue file(s) */ |
| #define | ACTION_RELEASE_ALL (1<<9) /* release all "on hold" mail */ |
| #define | ACTION_STRUCT_RED (1<<10) /* fix long queue ID inode fields */ |
| #define | ACTION_DEFAULT (ACTION_STRUCT | ACTION_PURGE) |
| #define | ACTIONS_BY_QUEUE_ID |
| #define | ACTIONS_AFTER_INUM_FIX |
| #define | RECURSE (1<<0) /* step into subdirectories */ |
| #define | DONT_RECURSE 0 /* don't step into directories */ |
| #define | SUFFIX "#FIX" |
| #define | SUFFIX_LEN 4 |
| #define | MESSAGE_QUEUE(qp) ((qp)->perms == MAIL_QUEUE_STAT_READY) |
| #define | READY_MESSAGE(st) (((st).st_mode & S_IRWXU) == MAIL_QUEUE_STAT_READY) |
関数 | |
| int | main (int argc, char **argv) |
変数 | |
| const char * | log_queue_names [] |
| MAIL_VERSION_STAMP_DECLARE | |
| #define ACTION_DEFAULT (ACTION_STRUCT | ACTION_PURGE) |
postsuper.c の 326 行目に定義があります。
| #define ACTION_DELETE_ALL (1<<3) /* delete all queue file(s) */ |
postsuper.c の 317 行目に定義があります。
| #define ACTION_DELETE_ONE (1<<2) /* delete named queue file(s) */ |
postsuper.c の 316 行目に定義があります。
| #define ACTION_HOLD_ALL (1<<7) /* put all messages on hold */ |
postsuper.c の 321 行目に定義があります。
| #define ACTION_HOLD_ONE (1<<6) /* put named queue file(s) on hold */ |
postsuper.c の 320 行目に定義があります。
| #define ACTION_PURGE (1<<1) /* purge old temp files */ |
postsuper.c の 315 行目に定義があります。
| #define ACTION_RELEASE_ALL (1<<9) /* release all "on hold" mail */ |
postsuper.c の 323 行目に定義があります。
| #define ACTION_RELEASE_ONE (1<<8) /* release named queue file(s) */ |
postsuper.c の 322 行目に定義があります。
| #define ACTION_REQUEUE_ALL (1<<5) /* requeue all queue file(s) */ |
postsuper.c の 319 行目に定義があります。
| #define ACTION_REQUEUE_ONE (1<<4) /* requeue named queue file(s) */ |
postsuper.c の 318 行目に定義があります。
| #define ACTION_STRUCT (1<<0) /* fix file organization */ |
postsuper.c の 314 行目に定義があります。
| #define ACTION_STRUCT_RED (1<<10) /* fix long queue ID inode fields */ |
postsuper.c の 324 行目に定義があります。
| #define ACTIONS_AFTER_INUM_FIX |
postsuper.c の 339 行目に定義があります。
| #define ACTIONS_BY_QUEUE_ID |
postsuper.c の 332 行目に定義があります。
| #define DONT_RECURSE 0 /* don't step into directories */ |
postsuper.c の 356 行目に定義があります。
| #define MAIL_QUEUE_INTERNAL |
postsuper.c の 303 行目に定義があります。
| #define MAX_TEMP_AGE (60 * 60 * 24) /* temp file maximal age */ |
postsuper.c の 311 行目に定義があります。
| #define MESSAGE_QUEUE | ( | qp | ) | ((qp)->perms == MAIL_QUEUE_STAT_READY) |
postsuper.c の 406 行目に定義があります。
| #define READY_MESSAGE | ( | st | ) | (((st).st_mode & S_IRWXU) == MAIL_QUEUE_STAT_READY) |
postsuper.c の 407 行目に定義があります。
| #define RECURSE (1<<0) /* step into subdirectories */ |
postsuper.c の 355 行目に定義があります。
| #define STR vstring_str /* silly little macro */ |
postsuper.c の 312 行目に定義があります。
| #define SUFFIX "#FIX" |
postsuper.c の 387 行目に定義があります。
| #define SUFFIX_LEN 4 |
postsuper.c の 388 行目に定義があります。
postsuper.c の 1076 行目に定義があります。
| const char* log_queue_names[] |
postsuper.c の 374 行目に定義があります。
| MAIL_VERSION_STAMP_DECLARE |
postsuper.c の 1074 行目に定義があります。
1.8.9.1