No empty .Rs/.Re
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / qmgr_user.h
blobff3100ccaee5c0b1e6717c1a41e57ddaba366cae
1 /* $NetBSD$ */
3 #ifndef _QMGR_USER_H_INCLUDED_
4 #define _QMGR_USER_H_INCLUDED_
6 /*++
7 /* NAME
8 /* qmgr_user 3h
9 /* SUMMARY
10 /* qmgr user interface codes
11 /* SYNOPSIS
12 /* #include <qmgr_user.h>
13 /* DESCRIPTION
14 /* .nf
17 * Global library.
19 #include <dsn_mask.h>
22 * Queue file read options. Flags 16- are reserved by qmgr.h; unfortunately
23 * DSN_NOTIFY_* needs to be shifted to avoid breaking compatibility with
24 * already queued mail that uses QMGR_READ_FLAG_MIXED_RCPT_OTHER.
26 #define QMGR_READ_FLAG_NONE 0 /* No special features */
27 #define QMGR_READ_FLAG_MIXED_RCPT_OTHER (1<<0)
28 #define QMGR_READ_FLAG_FROM_DSN(x) ((x) << 1)
30 #define QMGR_READ_FLAG_NOTIFY_NEVER (DSN_NOTIFY_NEVER << 1)
31 #define QMGR_READ_FLAG_NOTIFY_SUCCESS (DSN_NOTIFY_SUCCESS << 1)
32 #define QMGR_READ_FLAG_NOTIFY_DELAY (DSN_NOTIFY_DELAY << 1)
33 #define QMGR_READ_FLAG_NOTIFY_FAILURE (DSN_NOTIFY_FAILURE << 1)
35 #define QMGR_READ_FLAG_USER \
36 (QMGR_READ_FLAG_NOTIFY_NEVER | QMGR_READ_FLAG_NOTIFY_SUCCESS \
37 | QMGR_READ_FLAG_NOTIFY_DELAY | QMGR_READ_FLAG_NOTIFY_FAILURE \
38 | QMGR_READ_FLAG_MIXED_RCPT_OTHER)
41 * Backwards compatibility.
43 #define QMGR_READ_FLAG_DEFAULT (QMGR_READ_FLAG_MIXED_RCPT_OTHER)
45 /* LICENSE
46 /* .ad
47 /* .fi
48 /* The Secure Mailer license must be distributed with this software.
49 /* AUTHOR(S)
50 /* Wietse Venema
51 /* IBM T.J. Watson Research
52 /* P.O. Box 704
53 /* Yorktown Heights, NY 10598, USA
54 /*--*/
56 #endif