xref: /netbsd-src/external/ibm-public/postfix/dist/src/smtpd/smtpd_dsn_fix.h (revision a5847cc334d9a7029f6352b847e9e8d71a0f9e0c)
1 /*	$NetBSD: smtpd_dsn_fix.h,v 1.1.1.1 2009/06/23 10:08:56 tron Exp $	*/
2 
3 /*++
4 /* NAME
5 /*	smtpd_check 3h
6 /* SUMMARY
7 /*	SMTP client request filtering
8 /* SYNOPSIS
9 /*	#include "smtpd.h"
10 /*	#include "smtpd_check_int.h"
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15   * Internal interface.
16   */
17 #define SMTPD_NAME_CLIENT	"Client host"
18 #define SMTPD_NAME_REV_CLIENT	"Unverified Client host"
19 #define SMTPD_NAME_CCERT	"Client certificate"
20 #define SMTPD_NAME_HELO		"Helo command"
21 #define SMTPD_NAME_SENDER	"Sender address"
22 #define SMTPD_NAME_RECIPIENT	"Recipient address"
23 #define SMTPD_NAME_ETRN		"Etrn command"
24 #define SMTPD_NAME_DATA		"Data command"
25 #define SMTPD_NAME_EOD		"End-of-data"
26 
27  /*
28   * Workaround for absence of "bad sender address" status code: use "bad
29   * sender address syntax" instead. If we were to use "4.1.0" then we would
30   * lose the critical distinction between sender and recipient problems.
31   */
32 #define SND_DSN			"4.1.7"
33 
34 extern const char *smtpd_dsn_fix(const char *, const char *);
35 
36 /* LICENSE
37 /* .ad
38 /* .fi
39 /*	The Secure Mailer license must be distributed with this software.
40 /* AUTHOR(S)
41 /*	Wietse Venema
42 /*	IBM T.J. Watson Research
43 /*	P.O. Box 704
44 /*	Yorktown Heights, NY 10598, USA
45 /*--*/
46