Lines Matching +full:digital +full:- +full:input +full:- +full:short +full:- +full:circuit +full:- +full:detection

2  * Copyright (c) 1998-2013, 2023,2024 Proofpoint, Inc. and its suppliers.
4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
14 ** SENDMAIL.H -- MTA-specific definitions for sendmail.
71 SM_UNUSED(static char SmailId[]) = "@(#)$Id: sendmail.h,v 8.1104 2013-11-22 20:51:56 ca Exp $";
211 /* fingerprint in printable format - just for logging */
240 (((tlsi_ctx) != NULL) && bitnset((flag), (tlsi_ctx)->tlsi_flags))
292 # error "README: -DSASL (SASL) does not agree with the version of the CYRUS_SASL library (SASL_V…
298 # error "README: please set -DSASL to the version of the CYRUS_SASL library"
384 uid_t q_uid; /* user-id of receiver (if known) */
385 gid_t q_gid; /* group-id of receiver (if known) */
395 char *q_finalrcpt; /* Final-Recipient: DSN header */
401 short q_state; /* address state, see below */
402 char *q_signature; /* MX-based sorting value */
415 ** directly (applying a mask to select those flags which should be kep) --
432 #define QRELAYED 0x00000400 /* DSN: relayed to non-DSN aware sys */
453 #define QISSECURE(r) (0 != ((r)->q_flags & QSECURE))
457 # define QMATCH_FLAG(a) ((a)->q_flags & QMATCHFLAGS)
583 short m_mno; /* mailer number internally */
584 short m_nice; /* niceness to run at (mostly for prog) */
586 short m_sh_rwset; /* rewrite set: sender header addresses */
587 short m_se_rwset; /* rewrite set: sender envelope addresses */
588 short m_rh_rwset; /* rewrite set: recipient header addresses */
589 short m_re_rwset; /* rewrite set: recipient envelope addresses */
600 int m_maxrcpt; /* max recipients per envelope client-side */
601 short m_qgrp; /* queue group for this mailer */
603 unsigned short m_port; /* port (if appropriate for mailer) */
615 #define M_NOBRACKET 'd' /* never angle bracket envelope route-addrs */
619 #define M_FOPT 'f' /* mailer takes picky -f flag */
620 /* 'F' CF: include From: or Resent-From: */
632 /* 'M' CF: include Message-Id: */
634 #define M_MANYSTATUS 'N' /* MAIL11V3: DATA returns multi-status */
637 #define M_FROMPATH 'p' /* use reverse-path in MAIL FROM: */
638 /* 'P' CF: include Return-Path: */
640 #define M_ROPT 'r' /* mailer takes picky -r flag */
646 #define M_CONTENT_LEN 'v' /* add Content-Length: header (SVr4) */
647 /* 'V' UIUC: !-relativize all addresses */
650 /* 'x' CF: include Full-Name: */
651 #define M_XDOT 'X' /* use hidden-dot algorithm */
659 #define M_EBCDIC '3' /* extend Q-P encoding for EBCDIC */
663 #define M_7BITS '7' /* use 7-bit path */
665 #define M_MAKE8BIT '9' /* convert 7 -> 8 bit if appropriate */
671 #define M_HOLD '%' /* Hold delivery until ETRN/-qI/-qR/-qS */
673 #define M_MINUS '-' /* Reserved: Used in mc for removing flags */
708 short qp_subdirs; /* use subdirs? */
709 short qp_fsysidx; /* file system index of this directory */
727 short qg_index; /* queue number internally, index in Queue[] */
740 short qg_nice; /* niceness for queue run */
748 short qg_sortorder; /* how do we sort this queuerun */
751 long qg_wkrcptfact; /* multiplier for # recipients -> priority */
772 # define SASL_WRONG (-1)
868 short mci_errno; /* error number on last connection */
869 short mci_herrno; /* h_errno from last DNS lookup */
870 short mci_exitstat; /* exit status from last connection */
871 short mci_state; /* SMTP state */
874 SM_FILE_T *mci_in; /* input side of connection */
960 /* XREF: deliver.c: mcis[] -- any changes here must be reflected there! */
1029 #define H_RESENT 0x00000008 /* this address is a "Resent-..." address */
1034 #define H_FROM 0x00000100 /* this is a from-type field */
1038 #define H_CTE 0x00001000 /* field is a content-transfer-encoding */
1039 #define H_CTYPE 0x00002000 /* this is a content-type field */
1084 ** only one of these -- for the message that we originally read
1085 ** and which is our primary interest -- but other envelopes can
1106 ** Overflow detection is based on < 0, so don't change this
1115 short e_class; /* msg class (priority, junk, etc.) */
1116 short e_hopcount; /* number of times processed */
1117 short e_nsent; /* number of sends since checkpoint */
1118 short e_sendmode; /* message send mode */
1119 short e_errormode; /* error return mode */
1120 short e_timeoutclass; /* message timeout class */
1148 char *e_msgboundary; /* MIME-style message part boundary */
1199 #define EF_NORECEIPT 0x00010000L /* suppress all return-receipts */
1200 #define EF_HAS8BIT 0x00020000L /* at least one 8-bit char in body */
1213 #define EF_7BITBODY 0x40000000L /* strip body to 7bit on input */
1218 #define IS_DLVR_NOTIFY(e) (((e)->e_dlvr_flag & DLVR_NOTIFY) != 0)
1219 #define IS_DLVR_RETURN(e) (((e)->e_dlvr_flag & DLVR_RETURN) != 0)
1220 #define IS_DLVR_TRACE(e) (((e)->e_dlvr_flag & DLVR_TRACE) != 0)
1221 #define IS_DLVR_BY(e) ((e)->e_dlvr_flag != 0)
1226 #define BODYTYPE_ILLEGAL (-1)
1246 ** CurEnv->e_msgpriority is the number of bytes in the message plus
1316 #define CONDIF ((unsigned char)0232) /* conditional if-then */
1371 #define macget(mac, i) (mac)->mac_table[i]
1386 ** Name canonification short circuit.
1399 short nc_errno; /* cached errno */
1400 short nc_herrno; /* cached h_errno */
1401 short nc_stat; /* cached exit status code */
1402 short nc_flags; /* flag bits */
1439 ** stack, resulting in crashes on strict-alignment platforms. Use
1461 #define NULLMX (-2)
1465 extern int getmxrr __P((char *, char **, unsigned short *, unsigned int, int *, int *, int, int *));
1503 char *map_rebuild; /* program to run to do auto-rebuild */
1510 short map_return[MAXMAPACTIONS]; /* return bitmaps for stacked maps */
1551 if (!bitset(MF_OPEN, (map)->map_mflags)) \
1565 ** The class of a map -- essentially the functions to call
1572 short map_cflags; /* flag bits, see below */
1743 short s_symtype; /* general type (see below) */
1747 BITMAP256 sv_class; /* bit-map of word classes */
1863 ** -v (verbose) flag is given, it will be forced to SM_DELIVER
1870 #define MD_SMTP 's' /* run SMTP on standard input */
1906 /* values for e_sendmode -- send modes */
1925 #define DM_NOTSET (-1) /* DeliveryMode (per daemon) option not set */
1940 /* values for e_errormode -- error handling modes */
1951 #define MM_MIME8BIT 0x0004 /* convert 8-bit data to MIME */
1957 #define NRA_ADD_APPARENTLY_TO 2 /* add Apparently-To: header */
1989 #define PRIV_NOACTUALRECIPIENT 0x00400000 /* no X-Actual-Recipient in DSNs */
2036 #define M87F_NO8BIT 0x0001 /* can't have 8-bit in this section */
2038 #define M87F_NO8TO7 0x0004 /* don't do 8->7 bit conversions */
2060 ** 32-bit type used by milter
2130 ** -DVENDOR_DEFAULT=VENDOR_xxx
2133 ** Vendors should apply to sendmail-YYYY@support.sendmail.org
2138 #define VENDOR_BERKELEY 1 /* Berkeley-native configuration file */
2139 #define VENDOR_SUN 2 /* Sun-native configuration file */
2140 #define VENDOR_HP 3 /* Hewlett-Packard specific config syntax */
2143 #define VENDOR_DEC 6 /* Compaq, DEC, Digital */
2145 /* prototypes for vendor-specific hook routines */
2158 char *te_rv_on; /* turn reverse-video on */
2184 #define D_NOSTS 'M' /* no MTA-STS (client) */
2191 #define D_XCNCT ((char)0x04) /* X-Connect was used */
2192 #define D_XCNCT_M ((char)0x05) /* X-Connect was used + "forged" */
2223 #define NOQGRP (-1) /* no queue group (yet) */
2224 #define ENVQGRP (-2) /* use queue group of envelope */
2225 #define NOAQGRP (-3) /* no queue group in addr (yet) */
2227 #define NOQDIR (-1) /* no queue directory (yet) */
2228 #define ENVQDIR (-2) /* use queue directory of envelope */
2229 #define NOAQDIR (-3) /* no queue directory in addr (yet) */
2233 #define NOW ((time_t) (-1)) /* queue return: now */
2237 #define SAFE_INTERACTIVE 1 /* limit fsync() in -odi */
2327 /* RFC 1123-specified timeouts [minimum value] */
2342 time_t to_miscshort; /* misc short commands (NOOP, VERB, etc) */
2363 #define TOC_NONURGENT 2 /* non-urgent delivery */
2415 ** Some in-line functions
2478 /* XREF: deliver.c: xs_states[] -- any changes here must be reflected there! */
2520 EXTERN bool EightBitAddrOK; /* we'll let 8-bit addresses through */
2524 EXTERN bool HasEightBits; /* has at least one eight bit input byte */
2538 EXTERN bool NoConnect; /* don't connect to non-local mailers */
2542 EXTERN bool RejectNUL; /* reject NUL input byte? */
2548 EXTERN bool RrtImpliesDsn; /* turn Return-Receipt-To: into DSN */
2551 EXTERN bool SevenBitInput; /* force 7-bit data on input */
2560 EXTERN bool UseErrorsTo; /* use Errors-To: header (back compat) */
2561 EXTERN bool UseNameServer; /* using DNS -- interpret h_errno & MX RRs */
2562 EXTERN bool UseCompressedIPv6Addresses; /* for more specific zero-subnet matches */
2596 EXTERN int LineNumber; /* line number in current input */
2643 EXTERN int VendorCode; /* vendor-specific operation enhancements */
2644 EXTERN int Verbose; /* set if blow-by-blow desired */
2660 EXTERN size_t DataFileBufferSize; /* size of buf for in-core data file */
2662 EXTERN time_t DialDelay; /* delay between dial-on-demand tries */
2665 EXTERN size_t XscriptFileBufferSize; /* size of buf for in-core transcript file */
2670 EXTERN long WkClassFact; /* multiplier for message class -> priority */
2671 EXTERN long WkRecipFact; /* multiplier for # of recipients -> priority */
2710 EXTERN char **ExternalEnviron; /* saved user (input) environment */
2711 EXTERN char **SaveArgv; /* argument vector for re-execing */
2713 EXTERN SM_FILE_T *InChannel; /* input connection */
2729 EXTERN int Hacks; /* bit field of run-time enabled "hacks" */
2807 (c[3] == ' ' || c[3] == '-' || c[3] == '\0'))
3016 extern int switch_map_find __P((char *, char *[], short []));
3031 /* update file system information: +/- some blocks */