3 #ifndef _QMGR_USER_H_INCLUDED_
4 #define _QMGR_USER_H_INCLUDED_
10 /* qmgr user interface codes
12 /* #include <qmgr_user.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)
48 /* The Secure Mailer license must be distributed with this software.
51 /* IBM T.J. Watson Research
53 /* Yorktown Heights, NY 10598, USA