Home | History | Annotate | Line # | Download | only in smtpd
      1 /*	$NetBSD: smtpd_dsn_fix.h,v 1.1.1.2 2014/07/06 19:27: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_SASL_USER	"SASL login name"
     21 #define SMTPD_NAME_HELO		"Helo command"
     22 #define SMTPD_NAME_SENDER	"Sender address"
     23 #define SMTPD_NAME_RECIPIENT	"Recipient address"
     24 #define SMTPD_NAME_ETRN		"Etrn command"
     25 #define SMTPD_NAME_DATA		"Data command"
     26 #define SMTPD_NAME_EOD		"End-of-data"
     27 
     28  /*
     29   * Workaround for absence of "bad sender address" status code: use "bad
     30   * sender address syntax" instead. If we were to use "4.1.0" then we would
     31   * lose the critical distinction between sender and recipient problems.
     32   */
     33 #define SND_DSN			"4.1.7"
     34 
     35 extern const char *smtpd_dsn_fix(const char *, const char *);
     36 
     37 /* LICENSE
     38 /* .ad
     39 /* .fi
     40 /*	The Secure Mailer license must be distributed with this software.
     41 /* AUTHOR(S)
     42 /*	Wietse Venema
     43 /*	IBM T.J. Watson Research
     44 /*	P.O. Box 704
     45 /*	Yorktown Heights, NY 10598, USA
     46 /*--*/
     47