1/*++
2/* NAME
3/*	smtpd_check 3h
4/* SUMMARY
5/*	SMTP client request filtering
6/* SYNOPSIS
7/*	#include "smtpd.h"
8/*	#include "smtpd_check_int.h"
9/* DESCRIPTION
10/* .nf
11
12 /*
13  * Internal interface.
14  */
15#define SMTPD_NAME_CLIENT	"Client host"
16#define SMTPD_NAME_REV_CLIENT	"Unverified Client host"
17#define SMTPD_NAME_CCERT	"Client certificate"
18#define SMTPD_NAME_SASL_USER	"SASL login name"
19#define SMTPD_NAME_HELO		"Helo command"
20#define SMTPD_NAME_SENDER	"Sender address"
21#define SMTPD_NAME_RECIPIENT	"Recipient address"
22#define SMTPD_NAME_ETRN		"Etrn command"
23#define SMTPD_NAME_DATA		"Data command"
24#define SMTPD_NAME_EOD		"End-of-data"
25
26 /*
27  * Workaround for absence of "bad sender address" status code: use "bad
28  * sender address syntax" instead. If we were to use "4.1.0" then we would
29  * lose the critical distinction between sender and recipient problems.
30  */
31#define SND_DSN			"4.1.7"
32
33extern const char *smtpd_dsn_fix(const char *, const char *);
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