xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/mail_error.h (revision a30b880ed60a24c405edba78187a04247f4d9d33)
1 /*	$NetBSD: mail_error.h,v 1.1.1.2 2013/01/02 18:58:58 tron Exp $	*/
2 
3 #ifndef _MAIL_ERROR_H_INCLUDED_
4 #define _MAIL_ERROR_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	mail_error 3h
9 /* SUMMARY
10 /*	mail error classes
11 /* SYNOPSIS
12 /*	#include <mail_error.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <name_mask.h>
20 
21  /*
22   * External interface.
23   */
24 #define MAIL_ERROR_POLICY	(1<<0)
25 #define MAIL_ERROR_PROTOCOL	(1<<1)
26 #define MAIL_ERROR_BOUNCE	(1<<2)
27 #define MAIL_ERROR_SOFTWARE	(1<<3)
28 #define MAIL_ERROR_RESOURCE	(1<<4)
29 #define MAIL_ERROR_2BOUNCE	(1<<5)
30 #define MAIL_ERROR_DELAY	(1<<6)
31 #define MAIL_ERROR_DATA		(1<<7)
32 
33 extern const NAME_MASK mail_error_masks[];
34 
35 /* LICENSE
36 /* .ad
37 /* .fi
38 /*	The Secure Mailer license must be distributed with this software.
39 /* AUTHOR(S)
40 /*	Wietse Venema
41 /*	IBM T.J. Watson Research
42 /*	P.O. Box 704
43 /*	Yorktown Heights, NY 10598, USA
44 /*--*/
45 
46 #endif
47