/*
* Copyright (c) 1999-2007 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
*
* $Id: mfdef.h,v 8.40 2013-11-22 20:51:27 ca Exp $ */
/*
** mfdef.h -- Global definitions for mail filter and MTA. */
#endif /* SMFI_PROT_VERSION */
/* Shared protocol constants */
#endif /* _FFR_MDS_NEGOTIATE */
/* These apply to SMFIF_* flags */
#
define SMFI_V1_ACTS 0x0000000FL /* The actions of V1 filter */#
define SMFI_V2_ACTS 0x0000003FL /* The actions of V2 filter */
/* address families */
/* commands: don't use anything smaller than ' ' */
/* actions (replies) */
/* What the MTA can send/filter wants in protocol */ #
define SMFIP_NOHELO 0x00000002L /* MTA should not send HELO info */#
define SMFIP_NOMAIL 0x00000004L /* MTA should not send MAIL info */#
define SMFIP_NORCPT 0x00000008L /* MTA should not send RCPT info */#
define SMFIP_NOBODY 0x00000010L /* MTA should not send body */#
define SMFIP_NOHDRS 0x00000020L /* MTA should not send headers */#
define SMFIP_NOEOH 0x00000040L /* MTA should not send EOH */#
define SMFIP_NOUNKNOWN 0x00000100L /* MTA should not send unknown commands */#
define SMFIP_NODATA 0x00000200L /* MTA should not send DATA */#
define SMFIP_SKIP 0x00000400L /* MTA understands SMFIS_SKIP */#
define SMFIP_RCPT_REJ 0x00000800L /* MTA should also send rejected RCPTs */#
define SMFIP_MDS_1M 0x20000000L /* MILTER_MAX_DATA_SIZE=1M *//* #define SMFIP_ 0x40000000L reserved: see SMFI_INTERNAL*/
#
define SMFI_V1_PROT 0x0000003FL /* The protocol of V1 filter */#
define SMFI_V2_PROT 0x0000007FL /* The protocol of V2 filter */
/* all defined protocol bits */
/* internal flags: only used between MTA and libmilter */
#endif /* _FFR_MILTER_CHECK */
#endif /* !_LIBMILTER_MFDEF_H */