# 2.11BSD#431 - /usr/src/usr.sbin/sendmail/src/sendmail.h

##### Variables

    AliasFile         X
    AliasLevel        X
    CheckPointLimit   X
    CurEnv            X
    CurHostName       X
    DefGid            X
    DefUid            X
    ErrorMode         X
    Errors            X
    EventQueue        X
    ExitStat          X
    FileMode          X
    FileName          X
    HelpFile          X
    LineNumber        X
    LocalMailer       X
    LogLevel          X
    Mailer            X
    MotherPid         X
    MyHostName        X
    NumPriorities     X
    OldUmask          X
    OpMode            X
    PostMasterCopy    X
    Priorities        X
    ProgMailer        X
    QueueDir          X
    QueueFactor       X
    QueueIntvl        X
    QueueLA           X
    ReadTimeout       X
    RealGid           X
    RealHostName      X
    RealUid           X
    RefuseLA          X
    RewriteRules      X
    SafeAlias         X
    SendMode          X
    SmtpPhase         X
    SpaceSub          X
    StatFile          X
    TimeOut           X
    TopFrame          X
    TrustedUsers      X
    UserEnviron       X
    WkClassFact       X
    WkRecipFact       X
    WkTimeFact        X
    tTdvect           X

##### Macros

    BITMAPBYTES       X
    BYTEBITS          X
    CALLSUBR          X
    CANONHOST         X
    CANONNET          X
    CANONUSER         X
    CONDELSE          X
    CONDFI            X
    CONDIF            X
    EF_CLRQUEUE       X
    EF_FATALERRS      X
    EF_INQUEUE        X
    EF_KEEPQUEUE      X
    EF_OLDSTYLE       X
    EF_RESENT         X
    EF_RESPONSE       X
    EF_SENDRECEIPT    X
    EF_TIMEOUT        X
    EM_BERKNET        X
    EM_MAIL           X
    EM_PRINT          X
    EM_QUIET          X
    EM_WRITE          X
    EXTERN            X
    HOF_VALID         X
    HOSTBEGIN         X
    HOSTEND           X
    HOSTINFO          X
    H_ACHECK          X
    H_CHECK           X
    H_DEFAULT         X
    H_EOH             X
    H_FORCE           X
    H_FROM            X
    H_RCPT            X
    H_RESENT          X
    H_TRACE           X
    H_VALID           X
    MATCHANY          X
    MATCHCLASS        X
    MATCHNCLASS       X
    MATCHONE          X
    MATCHREPL         X
    MATCHZANY         X
    MAX_ERRNO         X
    MD_ARPAFTP        X
    MD_DAEMON         X
    MD_DELIVER        X
    MD_FREEZE         X
    MD_INITALIAS      X
    MD_PRINT          X
    MD_SMTP           X
    MD_TEST           X
    MD_VERIFY         X
    M_CANONICAL       X
    M_ESCFROM         X
    M_EXPENSIVE       X
    M_FOPT            X
    M_FROMPATH        X
    M_HST_UPPER       X
    M_INTERNAL        X
    M_LIMITS          X
    M_LOCAL           X
    M_MUSER           X
    M_NHDR            X
    M_RESTR           X
    M_ROPT            X
    M_SECURE_PORT     X
    M_STRIPQ          X
    M_UGLYUUCP        X
    M_USR_UPPER       X
    M_XDOT            X
    PSBUFSIZE         X
    QBADADDR          X
    QDONTSEND         X
    QGOODUID          X
    QPRIMARY          X
    QQUEUEUP          X
    SM_DEFAULT        X
    SM_DELIVER        X
    SM_FORK           X
    SM_QUEUE          X
    SM_QUICKD         X
    SM_VERIFY         X
    STRUCTCOPY        X
    ST_ADDRESS        X
    ST_ALIAS          X
    ST_CLASS          X
    ST_ENTER          X
    ST_FIND           X
    ST_HOST           X
    ST_MAILER         X
    ST_UNDEF          X
    _BITBIT           X
    _BITWORD          X
    bitnset           X
    clrbitmap         X
    clrbitn           X
    newstr            X
    s_address         X
    s_alias           X
    s_class           X
    s_host            X
    s_mailer          X
    setbitn           X
    setstat           X
    tTd               X
    tTdlevel          X

##### struct's

    address           X
    envelope          X
    event             X
    hdrinfo           X
    header            X
    mailer            X
    priority          X
    rewrite           X
    symtab            X

##### typedef's

    ADDRESS           X
    BITMAP            X
    ENVELOPE          X
    EVENT             X
    HDR               X
    MAILER            X
    STAB              X

       1: /*
       2: **  Sendmail
       3: **  Copyright (c) 1983  Eric P. Allman
       4: **  Berkeley, California
       5: **
       6: **  Copyright (c) 1983 Regents of the University of California.
       7: **  All rights reserved.  The Berkeley software License Agreement
       8: **  specifies the terms and conditions for redistribution.
       9: **
      10: **	@(#)sendmail.h	5.8.3 (2.11BSD GTE) 1997/10/3
      11: */
      12:
      13: /*
      14: **  SENDMAIL.H -- Global definitions for sendmail.
      15: */
      16:
      17:
      18:
      19: # ifdef _DEFINE
      20: # define EXTERN
      21: # if !defined(lint) && !defined(NOSCCS)
      22: static char SmailSccsId[] = "@(#)sendmail.h	5.8.3		1997/10/3";
      23: # endif lint
      24: # else  _DEFINE
      25: # define EXTERN extern
      26: # endif _DEFINE
      27:
      28: # include <stdio.h>
      29: # include <ctype.h>
      30: # include <setjmp.h>
      31: # include "conf.h"
      32: # include "useful.h"
      33: #include <errno.h>
      34: #include <stdlib.h>
      35: #include <string.h>
      36: #include <sys/time.h>
      37: #include <unistd.h>
      38:
      39: # ifdef LOG
      40: # include <sys/syslog.h>
      41: # endif LOG
      42:
      43: # ifdef DAEMON
      44: # ifdef VMUNIX
      45: # include <sys/socket.h>
      46: # include <netinet/in.h>
      47: # include <arpa/inet.h>
      48: # endif VMUNIX
      49: # endif DAEMON
      50:
      51:
      52: # define PSBUFSIZE  (MAXNAME + MAXATOM) /* size of prescan buffer */
      53:
      54:
      55: /*
      56: **  Data structure for bit maps.
      57: **
      58: **	Each bit in this map can be referenced by an ascii character.
      59: **	This is 128 possible bits, or 12 8-bit bytes.
      60: */
      61:
      62: #define BITMAPBYTES 16  /* number of bytes in a bit map */
      63: #define BYTEBITS    8   /* number of bits in a byte */
      64:
      65: /* internal macros */
      66: #define _BITWORD(bit)   (bit / (BYTEBITS * sizeof (int)))
      67: #define _BITBIT(bit)    (1 << (bit % (BYTEBITS * sizeof (int))))
      68:
      69: typedef int BITMAP[BITMAPBYTES / sizeof (int)];
      70:
      71: /* test bit number N */
      72: #define bitnset(bit, map)   ((map)[_BITWORD(bit)] & _BITBIT(bit))
      73:
      74: /* set bit number N */
      75: #define setbitn(bit, map)   (map)[_BITWORD(bit)] |= _BITBIT(bit)
      76:
      77: /* clear bit number N */
      78: #define clrbitn(bit, map)   (map)[_BITWORD(bit)] &= ~_BITBIT(bit)
      79:
      80: /* clear an entire bit map */
      81: #define clrbitmap(map)      bzero((char *) map, BITMAPBYTES)
      82: /*
      83: **  Address structure.
      84: **	Addresses are stored internally in this structure.
      85: */
      86:
      87: struct address
      88: {
      89:     char        *q_paddr;   /* the printname for the address */
      90:     char        *q_user;    /* user name */
      91:     char        *q_host;    /* host name */
      92:     struct mailer   *q_mailer;  /* mailer to use */
      93:     u_short     q_flags;    /* status flags, see below */
      94:     short       q_uid;      /* user-id of receiver (if known) */
      95:     short       q_gid;      /* group-id of receiver (if known) */
      96:     char        *q_home;    /* home dir (local mailer only) */
      97:     char        *q_fullname;    /* full name if known */
      98:     struct address  *q_next;    /* chain */
      99:     struct address  *q_alias;   /* address this results from */
     100:     struct address  *q_tchain;  /* temporary use chain */
     101:     time_t      q_timeout;  /* timeout for this address */
     102: };
     103:
     104: typedef struct address ADDRESS;
     105:
     106: # define QDONTSEND  000001  /* don't send to this address */
     107: # define QBADADDR   000002  /* this address is verified bad */
     108: # define QGOODUID   000004  /* the q_uid q_gid fields are good */
     109: # define QPRIMARY   000010  /* set from argv */
     110: # define QQUEUEUP   000020  /* queue for later transmission */
     111: /*
     112: **  Mailer definition structure.
     113: **	Every mailer known to the system is declared in this
     114: **	structure.  It defines the pathname of the mailer, some
     115: **	flags associated with it, and the argument vector to
     116: **	pass to it.  The flags are defined in conf.c
     117: **
     118: **	The argument vector is expanded before actual use.  All
     119: **	words except the first are passed through the macro
     120: **	processor.
     121: */
     122:
     123: struct mailer
     124: {
     125:     char    *m_name;    /* symbolic name of this mailer */
     126:     char    *m_mailer;  /* pathname of the mailer to use */
     127:     BITMAP  m_flags;    /* status flags, see below */
     128:     short   m_mno;      /* mailer number internally */
     129:     char    **m_argv;   /* template argument vector */
     130:     short   m_s_rwset;  /* rewriting set for sender addresses */
     131:     short   m_r_rwset;  /* rewriting set for recipient addresses */
     132:     char    *m_eol;     /* end of line string */
     133:     long    m_maxsize;  /* size limit on message to this mailer */
     134: };
     135:
     136: typedef struct mailer   MAILER;
     137:
     138: /* bits for m_flags */
     139: # define M_CANONICAL    'C' /* make addresses canonical "u@dom" */
     140: # define M_EXPENSIVE    'e' /* it costs to use this mailer.... */
     141: # define M_ESCFROM  'E' /* escape From lines to >From */
     142: # define M_FOPT     'f' /* mailer takes picky -f flag */
     143: # define M_HST_UPPER    'h' /* preserve host case distinction */
     144: # define M_INTERNAL 'I' /* SMTP to another sendmail site */
     145: # define M_LOCAL    'l' /* delivery is to this host */
     146: # define M_LIMITS   'L' /* must enforce SMTP line limits */
     147: # define M_MUSER    'm' /* can handle multiple users at once */
     148: # define M_NHDR     'n' /* don't insert From line */
     149: # define M_FROMPATH 'p' /* use reverse-path in MAIL FROM: */
     150: # define M_ROPT     'r' /* mailer takes picky -r flag */
     151: # define M_SECURE_PORT  'R' /* try to send on a reserved TCP port */
     152: # define M_STRIPQ   's' /* strip quote chars from user/host */
     153: # define M_RESTR    'S' /* must be daemon to execute */
     154: # define M_USR_UPPER    'u' /* preserve user case distinction */
     155: # define M_UGLYUUCP 'U' /* this wants an ugly UUCP from line */
     156: # define M_XDOT     'X' /* use hidden-dot algorithm */
     157:
     158: EXTERN MAILER   *Mailer[MAXMAILERS+1];
     159:
     160: EXTERN MAILER   *LocalMailer;       /* ptr to local mailer */
     161: EXTERN MAILER   *ProgMailer;        /* ptr to program mailer */
     162: /*
     163: **  Header structure.
     164: **	This structure is used internally to store header items.
     165: */
     166:
     167: struct header
     168: {
     169:     char        *h_field;   /* the name of the field */
     170:     char        *h_value;   /* the value of that field */
     171:     struct header   *h_link;    /* the next header */
     172:     u_short     h_flags;    /* status bits, see below */
     173:     BITMAP      h_mflags;   /* m_flags bits needed */
     174: };
     175:
     176: typedef struct header   HDR;
     177:
     178: /*
     179: **  Header information structure.
     180: **	Defined in conf.c, this struct declares the header fields
     181: **	that have some magic meaning.
     182: */
     183:
     184: struct hdrinfo
     185: {
     186:     char    *hi_field;  /* the name of the field */
     187:     u_short hi_flags;   /* status bits, see below */
     188: };
     189:
     190: extern struct hdrinfo   HdrInfo[];
     191:
     192: /* bits for h_flags and hi_flags */
     193: # define H_EOH      00001   /* this field terminates header */
     194: # define H_RCPT     00002   /* contains recipient addresses */
     195: # define H_DEFAULT  00004   /* if another value is found, drop this */
     196: # define H_RESENT   00010   /* this address is a "Resent-..." address */
     197: # define H_CHECK    00020   /* check h_mflags against m_flags */
     198: # define H_ACHECK   00040   /* ditto, but always (not just default) */
     199: # define H_FORCE    00100   /* force this field, even if default */
     200: # define H_TRACE    00200   /* this field contains trace information */
     201: # define H_FROM     00400   /* this is a from-type field */
     202: # define H_VALID    01000   /* this field has a validated value */
     203: /*
     204: **  Envelope structure.
     205: **	This structure defines the message itself.  There is usually
     206: **	only one of these -- for the message that we originally read
     207: **	and which is our primary interest -- but other envelopes can
     208: **	be generated during processing.  For example, error messages
     209: **	will have their own envelope.
     210: */
     211:
     212: struct envelope
     213: {
     214:     HDR     *e_header;  /* head of header list */
     215:     long        e_msgpriority;  /* adjusted priority of this message */
     216:     time_t      e_ctime;    /* time message appeared in the queue */
     217:     char        *e_to;      /* the target person */
     218:     char        *e_receiptto;   /* return receipt address */
     219:     ADDRESS     e_from;     /* the person it is from */
     220:     char        **e_fromdomain; /* the domain part of the sender */
     221:     ADDRESS     *e_sendqueue;   /* list of message recipients */
     222:     ADDRESS     *e_errorqueue;  /* the queue for error responses */
     223:     long        e_msgsize;  /* size of the message in bytes */
     224:     int     e_nrcpts;   /* number of recipients */
     225:     short       e_class;    /* msg class (priority, junk, etc.) */
     226:     short       e_flags;    /* flags, see below */
     227:     short       e_hopcount; /* number of times processed */
     228:     int     (*e_puthdr)();  /* function to put header of message */
     229:     int     (*e_putbody)(); /* function to put body of message */
     230:     struct envelope *e_parent;  /* the message this one encloses */
     231:     struct envelope *e_sibling; /* the next envelope of interest */
     232:     char        *e_df;      /* location of temp file */
     233:     FILE        *e_dfp;     /* temporary file */
     234:     char        *e_id;      /* code for this entry in queue */
     235:     FILE        *e_xfp;     /* transcript file */
     236:     char        *e_message; /* error message */
     237:     char        *e_macro[128];  /* macro definitions */
     238: };
     239:
     240: typedef struct envelope ENVELOPE;
     241:
     242: /* values for e_flags */
     243: #define EF_OLDSTYLE 000001      /* use spaces (not commas) in hdrs */
     244: #define EF_INQUEUE  000002      /* this message is fully queued */
     245: #define EF_TIMEOUT  000004      /* this message is too old */
     246: #define EF_CLRQUEUE 000010      /* disk copy is no longer needed */
     247: #define EF_SENDRECEIPT  000020      /* send a return receipt */
     248: #define EF_FATALERRS    000040      /* fatal errors occured */
     249: #define EF_KEEPQUEUE    000100      /* keep queue files always */
     250: #define EF_RESPONSE 000200      /* this is an error or return receipt */
     251: #define EF_RESENT   000400      /* this message is being forwarded */
     252:
     253: EXTERN ENVELOPE *CurEnv;    /* envelope currently being processed */
     254: /*
     255: **  Message priority classes.
     256: **
     257: **	The message class is read directly from the Priority: header
     258: **	field in the message.
     259: **
     260: **	CurEnv->e_msgpriority is the number of bytes in the message plus
     261: **	the creation time (so that jobs ``tend'' to be ordered correctly),
     262: **	adjusted by the message class, the number of recipients, and the
     263: **	amount of time the message has been sitting around.  This number
     264: **	is used to order the queue.  Higher values mean LOWER priority.
     265: **
     266: **	Each priority class point is worth WkClassFact priority points;
     267: **	each recipient is worth WkRecipFact priority points.  Each time
     268: **	we reprocess a message the priority is adjusted by WkTimeFact.
     269: **	WkTimeFact should normally decrease the priority so that jobs
     270: **	that have historically failed will be run later; thanks go to
     271: **	Jay Lepreau at Utah for pointing out the error in my thinking.
     272: **
     273: **	The "class" is this number, unadjusted by the age or size of
     274: **	this message.  Classes with negative representations will have
     275: **	error messages thrown away if they are not local.
     276: */
     277:
     278: struct priority
     279: {
     280:     char    *pri_name;  /* external name of priority */
     281:     int pri_val;    /* internal value for same */
     282: };
     283:
     284: EXTERN struct priority  Priorities[MAXPRIORITIES];
     285: EXTERN int      NumPriorities;  /* pointer into Priorities */
     286: /*
     287: **  Rewrite rules.
     288: */
     289:
     290: struct rewrite
     291: {
     292:     char    **r_lhs;    /* pattern match */
     293:     char    **r_rhs;    /* substitution value */
     294:     struct rewrite  *r_next;/* next in chain */
     295: };
     296:
     297: EXTERN struct rewrite   *RewriteRules[MAXRWSETS];
     298:
     299: /*
     300: **  Special characters in rewriting rules.
     301: **	These are used internally only.
     302: **	The COND* rules are actually used in macros rather than in
     303: **		rewriting rules, but are given here because they
     304: **		cannot conflict.
     305: */
     306:
     307: /* left hand side items */
     308: # define MATCHZANY  '\020'  /* match zero or more tokens */
     309: # define MATCHANY   '\021'  /* match one or more tokens */
     310: # define MATCHONE   '\022'  /* match exactly one token */
     311: # define MATCHCLASS '\023'  /* match one token in a class */
     312: # define MATCHNCLASS    '\024'  /* match anything not in class */
     313: # define MATCHREPL  '\025'  /* replacement on RHS for above */
     314:
     315: /* right hand side items */
     316: # define CANONNET   '\026'  /* canonical net, next token */
     317: # define CANONHOST  '\027'  /* canonical host, next token */
     318: # define CANONUSER  '\030'  /* canonical user, next N tokens */
     319: # define CALLSUBR   '\031'  /* call another rewriting set */
     320:
     321: /* conditionals in macros */
     322: # define CONDIF     '\032'  /* conditional if-then */
     323: # define CONDELSE   '\033'  /* conditional else */
     324: # define CONDFI     '\034'  /* conditional fi */
     325:
     326: /* bracket characters for host name lookup */
     327: # define HOSTBEGIN  '\035'  /* hostname lookup begin */
     328: # define HOSTEND    '\036'  /* hostname lookup end */
     329:
     330: /* \001 is also reserved as the macro expansion character */
     331: /*
     332: **  Information about hosts that we have looked up recently.
     333: **
     334: **	This stuff is 4.2/3bsd specific.
     335: */
     336:
     337: # ifdef DAEMON
     338: # ifdef VMUNIX
     339:
     340: # define HOSTINFO   struct hostinfo
     341:
     342: HOSTINFO
     343: {
     344:     char        *ho_name;   /* name of this host */
     345:     struct in_addr  ho_inaddr;  /* internet address */
     346:     short       ho_flags;   /* flag bits, see below */
     347:     short       ho_errno;   /* error number on last connection */
     348:     short       ho_exitstat;    /* exit status from last connection */
     349: };
     350:
     351:
     352: /* flag bits */
     353: #define HOF_VALID   00001       /* this entry is valid */
     354:
     355: # endif VMUNIX
     356: # endif DAEMON
     357: /*
     358: **  Symbol table definitions
     359: */
     360:
     361: struct symtab
     362: {
     363:     char        *s_name;    /* name to be entered */
     364:     char        s_type;     /* general type (see below) */
     365:     struct symtab   *s_next;    /* pointer to next in chain */
     366:     union
     367:     {
     368:         BITMAP      sv_class;   /* bit-map of word classes */
     369:         ADDRESS     *sv_addr;   /* pointer to address header */
     370:         MAILER      *sv_mailer; /* pointer to mailer */
     371:         char        *sv_alias;  /* alias */
     372: # ifdef HOSTINFO
     373:         HOSTINFO    sv_host;    /* host information */
     374: # endif HOSTINFO
     375:     }   s_value;
     376: };
     377:
     378: typedef struct symtab   STAB;
     379:
     380: /* symbol types */
     381: # define ST_UNDEF   0   /* undefined type */
     382: # define ST_CLASS   1   /* class map */
     383: # define ST_ADDRESS 2   /* an address in parsed format */
     384: # define ST_MAILER  3   /* a mailer header */
     385: # define ST_ALIAS   4   /* an alias */
     386: # define ST_HOST    5   /* host information */
     387:
     388: # define s_class    s_value.sv_class
     389: # define s_address  s_value.sv_addr
     390: # define s_mailer   s_value.sv_mailer
     391: # define s_alias    s_value.sv_alias
     392: # define s_host     s_value.sv_host
     393:
     394: extern STAB *stab();
     395:
     396: /* opcodes to stab */
     397: # define ST_FIND    0   /* find entry */
     398: # define ST_ENTER   1   /* enter if not there */
     399: /*
     400: **  STRUCT EVENT -- event queue.
     401: **
     402: **	Maintained in sorted order.
     403: **
     404: **	We store the pid of the process that set this event to insure
     405: **	that when we fork we will not take events intended for the parent.
     406: */
     407:
     408: struct event
     409: {
     410:     time_t      ev_time;    /* time of the function call */
     411:     int     (*ev_func)();   /* function to call */
     412:     int     ev_arg;     /* argument to ev_func */
     413:     int     ev_pid;     /* pid that set this event */
     414:     struct event    *ev_link;   /* link to next item */
     415: };
     416:
     417: typedef struct event    EVENT;
     418:
     419: EXTERN EVENT    *EventQueue;        /* head of event queue */
     420: /*
     421: **  Operation, send, and error modes
     422: **
     423: **	The operation mode describes the basic operation of sendmail.
     424: **	This can be set from the command line, and is "send mail" by
     425: **	default.
     426: **
     427: **	The send mode tells how to send mail.  It can be set in the
     428: **	configuration file.  It's setting determines how quickly the
     429: **	mail will be delivered versus the load on your system.  If the
     430: **	-v (verbose) flag is given, it will be forced to SM_DELIVER
     431: **	mode.
     432: **
     433: **	The error mode tells how to return errors.
     434: */
     435:
     436: EXTERN char OpMode;     /* operation mode, see below */
     437:
     438: #define MD_DELIVER  'm'     /* be a mail sender */
     439: #define MD_ARPAFTP  'a'     /* old-style arpanet protocols */
     440: #define MD_SMTP     's'     /* run SMTP on standard input */
     441: #define MD_DAEMON   'd'     /* run as a daemon */
     442: #define MD_VERIFY   'v'     /* verify: don't collect or deliver */
     443: #define MD_TEST     't'     /* test mode: resolve addrs only */
     444: #define MD_INITALIAS    'i'     /* initialize alias database */
     445: #define MD_PRINT    'p'     /* print the queue */
     446: #define MD_FREEZE   'z'     /* freeze the configuration file */
     447:
     448:
     449: EXTERN char SendMode;   /* send mode, see below */
     450:
     451: #define SM_DELIVER  'i'     /* interactive delivery */
     452: #define SM_QUICKD   'j'     /* deliver w/o queueing */
     453: #define SM_FORK     'b'     /* deliver in background */
     454: #define SM_QUEUE    'q'     /* queue, don't deliver */
     455: #define SM_VERIFY   'v'     /* verify only (used internally) */
     456:
     457: /* used only as a parameter to sendall */
     458: #define SM_DEFAULT  '\0'        /* unspecified, use SendMode */
     459:
     460:
     461: EXTERN char ErrorMode;  /* error mode, see below */
     462:
     463: #define EM_PRINT    'p'     /* print errors */
     464: #define EM_MAIL     'm'     /* mail back errors */
     465: #define EM_WRITE    'w'     /* write back errors */
     466: #define EM_BERKNET  'e'     /* special berknet processing */
     467: #define EM_QUIET    'q'     /* don't print messages (stat only) */
     468:
     469: /* offset used to issure that the error messages for name server error
     470:  * codes are unique.
     471:  */
     472: #define MAX_ERRNO   100
     473: /*
     474: **  Global variables.
     475: */
     476:
     477: EXTERN bool FromFlag;   /* if set, "From" person is explicit */
     478: EXTERN bool NoAlias;    /* if set, don't do any aliasing */
     479: EXTERN bool ForceMail;  /* if set, mail even if already got a copy */
     480: EXTERN bool MeToo;      /* send to the sender also */
     481: EXTERN bool IgnrDot;    /* don't let dot end messages */
     482: EXTERN bool SaveFrom;   /* save leading "From" lines */
     483: EXTERN bool Verbose;    /* set if blow-by-blow desired */
     484: EXTERN bool GrabTo;     /* if set, get recipients from msg */
     485: EXTERN bool NoReturn;   /* don't return letter to sender */
     486: EXTERN bool SuprErrs;   /* set if we are suppressing errors */
     487: EXTERN bool QueueRun;   /* currently running message from the queue */
     488: EXTERN bool HoldErrs;   /* only output errors to transcript */
     489: EXTERN bool NoConnect;  /* don't connect to non-local mailers */
     490: EXTERN bool SuperSafe;  /* be extra careful, even if expensive */
     491: EXTERN bool ForkQueueRuns;  /* fork for each job when running the queue */
     492: EXTERN bool AutoRebuild;    /* auto-rebuild the alias database as needed */
     493: EXTERN bool CheckAliases;   /* parse addresses during newaliases */
     494: EXTERN int  SafeAlias;  /* minutes to wait until @:@ in alias file */
     495: EXTERN time_t   TimeOut;    /* time until timeout */
     496: EXTERN FILE *InChannel; /* input connection */
     497: EXTERN FILE *OutChannel;    /* output connection */
     498: EXTERN int  RealUid;    /* when Daemon, real uid of caller */
     499: EXTERN int  RealGid;    /* when Daemon, real gid of caller */
     500: EXTERN int  DefUid;     /* default uid to run as */
     501: EXTERN int  DefGid;     /* default gid to run as */
     502: EXTERN int  OldUmask;   /* umask when sendmail starts up */
     503: EXTERN int  Errors;     /* set if errors (local to single pass) */
     504: EXTERN int  ExitStat;   /* exit status code */
     505: EXTERN int  AliasLevel; /* depth of aliasing */
     506: EXTERN int  MotherPid;  /* proc id of parent process */
     507: EXTERN int  LineNumber; /* line number in current input */
     508: EXTERN time_t   ReadTimeout;    /* timeout on reads */
     509: EXTERN int  LogLevel;   /* level of logging to perform */
     510: EXTERN int  FileMode;   /* mode on files */
     511: EXTERN int  QueueLA;    /* load average starting forced queueing */
     512: EXTERN int  RefuseLA;   /* load average refusing connections are */
     513: EXTERN int  QueueFactor;    /* slope of queue function */
     514: EXTERN time_t   QueueIntvl; /* intervals between running the queue */
     515: EXTERN char *AliasFile; /* location of alias file */
     516: EXTERN char *HelpFile;  /* location of SMTP help file */
     517: EXTERN char *StatFile;  /* location of statistics summary */
     518: EXTERN char *QueueDir;  /* location of queue directory */
     519: EXTERN char *FileName;  /* name to print on error messages */
     520: EXTERN char *SmtpPhase; /* current phase in SMTP processing */
     521: EXTERN char *MyHostName;    /* name of this host for SMTP messages */
     522: EXTERN char *RealHostName;  /* name of host we are talking to */
     523: EXTERN char *CurHostName;   /* current host we are dealing with */
     524: EXTERN jmp_buf  TopFrame;   /* branch-to-top-of-loop-on-error frame */
     525: EXTERN bool QuickAbort; /*  .... but only if we want a quick abort */
     526: extern char *ConfFile;  /* location of configuration file [conf.c] */
     527: extern char *FreezeFile;    /* location of frozen memory image [conf.c] */
     528: extern char *Arpa_Info; /* the reply code for Arpanet info [conf.c] */
     529: extern char *Arpa_TSyserr;
     530: extern char *Arpa_PSyserr;
     531: extern char *Arpa_Usrerr;
     532: extern char *Version;   /* the version of sendmail [Version.c] */
     533: extern ADDRESS  NullAddress;    /* a null (template) address [main.c] */
     534: EXTERN char SpaceSub;   /* substitution for <lwsp> */
     535: EXTERN int  WkClassFact;    /* multiplier for message class -> priority */
     536: EXTERN int  WkRecipFact;    /* multiplier for # of recipients -> priority */
     537: EXTERN int  WkTimeFact; /* priority offset each time this job is run */
     538: EXTERN int  CheckPointLimit;    /* deliveries before checkpointing */
     539: EXTERN char *PostMasterCopy;    /* address to get errs cc's */
     540: EXTERN char *TrustedUsers[MAXTRUST+1];  /* list of trusted users */
     541: EXTERN char *UserEnviron[MAXUSERENVIRON+1]; /* saved user environment */
     542: /*
     543: **  Trace information
     544: */
     545:
     546: /* trace vector and macros for debugging flags */
     547: EXTERN u_char   tTdvect[100];
     548: # define tTd(flag, level)   (tTdvect[flag] >= level)
     549: # define tTdlevel(flag)     (tTdvect[flag])
     550: /*
     551: **  Miscellaneous information.
     552: */
     553:
     554: # include   <sysexits.h>
     555:
     556:
     557: /*
     558: **  Some in-line functions
     559: */
     560:
     561: /* set exit status */
     562: #define setstat(s)  { \
     563:                 if (ExitStat == EX_OK || ExitStat == EX_TEMPFAIL) \
     564:                     ExitStat = s; \
     565:             }
     566:
     567: /* make a copy of a string */
     568: #define newstr(s)   strcpy(xalloc(strlen(s) + 1), s)
     569:
     570: #define STRUCTCOPY(s, d)    d = s
     571:
     572:
     573: /*
     574: **  Declarations of useful functions
     575: */
     576:
     577: extern ADDRESS  *parseaddr();
     578: extern char *xalloc();
     579: extern bool sameaddr();
     580: extern FILE *dfopen();
     581: extern EVENT    *setevent();
     582: extern char *sfgets();
     583: extern char *queuename();
     584: extern time_t   curtime();
     585: extern bool shouldqueue();
     586: extern char *denlstring();

#### Defined variables

AliasFile defined in line 515; used 6 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 500, 509
- in /usr/src/usr.sbin/sendmail/src/queue.c line 328
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 709-711(2)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 676

AliasLevel defined in line 505; used 5 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 107-109(2)
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 181, 516-518(2)

CheckPointLimit defined in line 538; used 1 times

- in /usr/src/usr.sbin/sendmail/src/readcf.c line 732

CurEnv defined in line 253; used 223 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 83, 542, 592-593(2)
- in /usr/src/usr.sbin/sendmail/src/collect.c line 49-56(5), 123, 165, 178-182(3), 193, 206, 214-219(4), 240-245(2), 325-327(2)
- in /usr/src/usr.sbin/sendmail/src/conf.c line 319
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 396
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 782-783(2), 828, 1038-1039(3), 1079, 1091, 1217, 1237-1239(4), 1312
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 43-50(4), 56-57(2), 118, 241-242(2), 252, 260-264(3), 271, 279, 312-320(6), 463, 475-476(2), 483-488(4), 496-505(6), 511-533(10), 551-555(3), 562
- in /usr/src/usr.sbin/sendmail/src/err.c line 68(2), 101, 129, 181-182(2), 217
- in /usr/src/usr.sbin/sendmail/src/headers.c line 101, 109-119(4), 148, 225, 303-305(2), 392-393(4)
- in /usr/src/usr.sbin/sendmail/src/main.c line 155, 250, 263-267(2), 367, 459, 490, 542, 640, 647-648(2), 695, 702-706(2), 714-716(3), 741-746(3), 779, 832, 839, 1029-1034(3)
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 75, 442, 1098, 1136, 1147, 1189-1191(3)
- in /usr/src/usr.sbin/sendmail/src/queue.c line 596-615(6), 627-633(5), 639
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 131, 143, 160, 810, 830-832(2)
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 69-71(2), 132, 169, 250, 303, 316, 482, 514, 562
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 374, 390, 408, 419, 429(2)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 136, 148, 168-169(2), 208-211(2), 220-221(2), 239, 258-262(2), 273-278(2), 286, 296, 304, 329-342(8), 348, 356-358(4), 438, 671
- in /usr/src/usr.sbin/sendmail/src/stats.c line 36, 42
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 101, 110, 116, 180-181(2), 296-298(2), 389-390(2), 426-434(3)
- in /usr/src/usr.sbin/sendmail/src/util.c line 575, 942

CurHostName defined in line 523; used 17 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 685, 716
- in /usr/src/usr.sbin/sendmail/src/err.c line 330-346(6)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 128-134(3), 160, 195, 240, 259, 305, 370

DefGid defined in line 501; used 5 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 145
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 846, 1221
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 533
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 788

DefUid defined in line 500; used 5 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 144
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 847, 1228
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 532
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 873

ErrorMode defined in line 461; used 8 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1444
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 126
- in /usr/src/usr.sbin/sendmail/src/main.c line 1012
- in /usr/src/usr.sbin/sendmail/src/queue.c line 598
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 774
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 64, 108
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 332

Errors defined in line 503; used 11 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 123, 993
- in /usr/src/usr.sbin/sendmail/src/err.c line 215
- in /usr/src/usr.sbin/sendmail/src/main.c line 688
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 149, 247, 274, 307, 345, 374, 528

EventQueue defined in line 419; used 11 times

- in /usr/src/usr.sbin/sendmail/src/clock.c line 58, 109, 155, 163-164(3), 184-187(3), 196-197(2)

ExitStat defined in line 504; used 24 times

- in line 563-564(3)
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 633, 745, 1145, 1153
- in /usr/src/usr.sbin/sendmail/src/err.c line 57-62(3)
- in /usr/src/usr.sbin/sendmail/src/main.c line 688-689(2), 741, 756-758(3)
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 87, 116, 230, 412
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 421
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 99, 109, 121

FileMode defined in line 510; used 9 times

- in /usr/src/usr.sbin/sendmail/src/collect.c line 56
- in /usr/src/usr.sbin/sendmail/src/conf.c line 143
- in /usr/src/usr.sbin/sendmail/src/main.c line 882
- in /usr/src/usr.sbin/sendmail/src/queue.c line 78, 102, 954, 969-972(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 780

FileName defined in line 519; used 12 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 382, 543
- in /usr/src/usr.sbin/sendmail/src/err.c line 262-264(2)
- in /usr/src/usr.sbin/sendmail/src/main.c line 778
- in /usr/src/usr.sbin/sendmail/src/queue.c line 688, 749
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 78, 259
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 483, 504, 522

HelpFile defined in line 516; used 4 times

- in /usr/src/usr.sbin/sendmail/src/readcf.c line 793-795(2)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 562(2)

LineNumber defined in line 507; used 13 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 383, 390, 479
- in /usr/src/usr.sbin/sendmail/src/err.c line 264
- in /usr/src/usr.sbin/sendmail/src/queue.c line 689, 743, 756
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 79
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 484, 505, 523
- in /usr/src/usr.sbin/sendmail/src/util.c line 644, 702

LocalMailer defined in line 160; used 13 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 481, 584
- in /usr/src/usr.sbin/sendmail/src/conf.c line 319
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 285, 873
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 487
- in /usr/src/usr.sbin/sendmail/src/main.c line 467
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 208, 256, 284
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 149, 257
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 181

LogLevel defined in line 509; used 27 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 251, 258, 274, 547
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 121, 246
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 99, 1005
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 90, 344, 469
- in /usr/src/usr.sbin/sendmail/src/err.c line 66
- in /usr/src/usr.sbin/sendmail/src/headers.c line 310, 389
- in /usr/src/usr.sbin/sendmail/src/main.c line 753, 1055
- in /usr/src/usr.sbin/sendmail/src/queue.c line 141, 235, 312, 601, 614, 987, 1021
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 803
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 326
- in /usr/src/usr.sbin/sendmail/src/util.c line 574, 580

Mailer defined in line 158; used 3 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 520
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 885
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 473

MotherPid defined in line 506; used 3 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 227, 625
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 452

MyHostName defined in line 521; used 9 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 460
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 134, 160, 196-200(2), 213, 419
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 145, 188

NumPriorities defined in line 285; used 5 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 416
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 215, 225-227(3)

OldUmask defined in line 502; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1208
- in /usr/src/usr.sbin/sendmail/src/main.c line 225

OpMode defined in line 436; used 34 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 340
- in /usr/src/usr.sbin/sendmail/src/collect.c line 157, 176
- in /usr/src/usr.sbin/sendmail/src/conf.c line 154, 167
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 824
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 251, 433(2)
- in /usr/src/usr.sbin/sendmail/src/err.c line 188(2)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 354
- in /usr/src/usr.sbin/sendmail/src/main.c line 226, 278-282(3), 307, 408, 420-423(2), 485, 549, 597, 613, 635, 646, 658, 669-678(3), 696-701(2)
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 512, 823

PostMasterCopy defined in line 539; used 3 times

- in /usr/src/usr.sbin/sendmail/src/readcf.c line 836
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 219-220(2)

Priorities defined in line 284; used 4 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 418-419(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 225-226(2)

ProgMailer defined in line 161; used 15 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 217, 259, 1236-1240(5)
- in /usr/src/usr.sbin/sendmail/src/main.c line 472
- in /usr/src/usr.sbin/sendmail/src/queue.c line 103
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 210
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 308-312(5)

QueueDir defined in line 518; used 7 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 475-477(2)
- in /usr/src/usr.sbin/sendmail/src/queue.c line 313, 398, 978
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 845-847(2)

QueueFactor defined in line 513; used 3 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 137, 377
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 840

QueueIntvl defined in line 514; used 5 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 382, 597, 613
- in /usr/src/usr.sbin/sendmail/src/queue.c line 296-297(2)

QueueLA defined in line 511; used 5 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 136, 375-377(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 657, 889

ReadTimeout defined in line 508; used 3 times

- in /usr/src/usr.sbin/sendmail/src/readcf.c line 851
- in /usr/src/usr.sbin/sendmail/src/util.c line 618, 627

RealGid defined in line 499; used 1 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 168

RealHostName defined in line 522; used 10 times

- in /usr/src/usr.sbin/sendmail/src/daemon.c line 236
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1321(2)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 126-128(2), 203-207(3), 220-221(2)

RealUid defined in line 498; used 1 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 155

RefuseLA defined in line 512; used 5 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 138
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 161-164(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 658, 893

RewriteRules defined in line 297; used 4 times

- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 525
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 119, 607-611(2)

SafeAlias defined in line 494; used 3 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 204
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 716-718(2)

SendMode defined in line 449; used 5 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1293
- in /usr/src/usr.sbin/sendmail/src/main.c line 679
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 739, 750
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 426

SmailSccsId defined in line 22; never used
SmtpPhase defined in line 520; used 17 times

- in /usr/src/usr.sbin/sendmail/src/err.c line 309, 325-328(2)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 138, 194, 217, 257, 290, 303, 328
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 92, 134, 146, 191, 244, 286, 306

SpaceSub defined in line 534; used 7 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 139
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 969
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 722-724(3)
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 202, 384

StatFile defined in line 517; used 3 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 749
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 856-858(2)

TimeOut defined in line 495; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 451, 459
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 866
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 192

TopFrame defined in line 524; used 4 times

- in /usr/src/usr.sbin/sendmail/src/err.c line 73, 105
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 142, 260

TrustedUsers defined in line 540; used 4 times

- in /usr/src/usr.sbin/sendmail/src/envelope.c line 584-586(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 243-245(2)

UserEnviron defined in line 541; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 865
- in /usr/src/usr.sbin/sendmail/src/main.c line 197-199(3)

WkClassFact defined in line 535; used 3 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 141
- in /usr/src/usr.sbin/sendmail/src/headers.c line 340
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 905

WkRecipFact defined in line 536; used 3 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 140
- in /usr/src/usr.sbin/sendmail/src/headers.c line 341
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 897

WkTimeFact defined in line 537; used 3 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 142
- in /usr/src/usr.sbin/sendmail/src/queue.c line 735
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 909

tTdvect defined in line 547; used 8 times

- in line 548-549(2)
- in /usr/src/usr.sbin/sendmail/src/main.c line 185(2), 321(2)
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 442(2)

#### Defined struct's

address defined in line 87; used 8 times

- in line 98-104(8)

envelope defined in line 212; used 6 times

- in line 230-231(4), 240(2)

event defined in line 408; used 4 times

- in line 414-417(4)

hdrinfo defined in line 184; used 10 times

- in line 190(2)
- in /usr/src/usr.sbin/sendmail/src/conf.c line 56(2)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 44(2), 176(2), 356(2)

header defined in line 167; used 4 times

- in line 171-176(4)

mailer defined in line 123; used 27 times

- in line 92, 136(2)
- in /usr/src/usr.sbin/sendmail/src/extract.c line 147(2)
- in /usr/src/usr.sbin/sendmail/src/main.c line 520(2)
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 66(2), 851-852(4), 1091(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 381(2), 392(2)
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 162(2)
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 455(2)
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 72(2), 271(2)

priority defined in line 278; used 2 times

- in line 284(2)

rewrite defined in line 290; used 14 times

- in line 294-297(4)
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 507(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 61(2), 120-124(4), 602(2)

symtab defined in line 361; used 4 times

- in line 365(2), 378(2)

#### Defined typedef's

ADDRESS defined in line 104; used 81 times

- in line 533, 577-222(4), 369
- in /usr/src/usr.sbin/sendmail/src/alias.c line 68-69(2), 318, 573-574(2)
- in /usr/src/usr.sbin/sendmail/src/collect.c line 202
- in /usr/src/usr.sbin/sendmail/src/conf.c line 308
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 45, 53-56(3), 63, 444, 556, 664, 1185, 1283, 1328, 1404, 1443
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 79, 116-118(2)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 305, 351
- in /usr/src/usr.sbin/sendmail/src/main.c line 67, 702
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 58-61(2), 69, 178, 845-848(2), 856, 997-998(2), 1037
- in /usr/src/usr.sbin/sendmail/src/queue.c line 64, 701-705(2)
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 45-49(3), 88, 94, 121-122(2), 155-166(6), 477-478(2), 562, 580-582(2)
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 55, 215, 221, 272, 283, 359, 368
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 106-107(2), 114, 269, 342, 373, 382
- in /usr/src/usr.sbin/sendmail/src/stats.c line 28
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 93, 236

BITMAP defined in line 69; used 8 times

- in line 127, 173, 368
- in /usr/src/usr.sbin/sendmail/src/headers.c line 46
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 641
- in /usr/src/usr.sbin/sendmail/src/util.c line 828-829(2), 854

ENVELOPE defined in line 240; used 38 times

- in line 253
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 44, 443, 553, 917, 1112, 1280
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 35-41(4), 76, 180-185(2), 339, 370
- in /usr/src/usr.sbin/sendmail/src/headers.c line 173, 278, 617
- in /usr/src/usr.sbin/sendmail/src/macro.c line 38, 201, 229
- in /usr/src/usr.sbin/sendmail/src/main.c line 65-66(2), 113
- in /usr/src/usr.sbin/sendmail/src/queue.c line 55, 668, 906, 1016
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 50, 364-366(3), 456
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 115-116(2)
- in /usr/src/usr.sbin/sendmail/src/stats.c line 27
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 272

EVENT defined in line 417; used 11 times

- in line 419, 581
- in /usr/src/usr.sbin/sendmail/src/clock.c line 36, 42-43(2), 65, 96-98(2), 143
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 76
- in /usr/src/usr.sbin/sendmail/src/util.c line 613

HDR defined in line 176; used 15 times

- in line 214
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 183-184(2), 202
- in /usr/src/usr.sbin/sendmail/src/headers.c line 40-41(2), 128, 175-177(2), 194, 223, 280, 620, 696
- in /usr/src/usr.sbin/sendmail/src/queue.c line 63

MAILER defined in line 136; used 19 times

- in line 158-161(3), 370
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 52, 554, 662, 916, 1065, 1111
- in /usr/src/usr.sbin/sendmail/src/headers.c line 616, 700
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 180
- in /usr/src/usr.sbin/sendmail/src/queue.c line 65
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 237, 330, 372, 485
- in /usr/src/usr.sbin/sendmail/src/util.c line 506

STAB defined in line 378; used 16 times

- in line 394
- in /usr/src/usr.sbin/sendmail/src/alias.c line 141, 319
- in /usr/src/usr.sbin/sendmail/src/conf.c line 316
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 709-710(2)
- in /usr/src/usr.sbin/sendmail/src/main.c line 103
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 565
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 315, 382, 937
- in /usr/src/usr.sbin/sendmail/src/stab.c line 38-40(2), 46-47(2), 110

#### Defined macros

BITMAPBYTES defined in line 62; used 4 times

- in line 69, 81
- in /usr/src/usr.sbin/sendmail/src/util.c line 833, 858

BYTEBITS defined in line 63; used 2 times

- in line 66-67(2)

CALLSUBR defined in line 319; used 2 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 811
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 799

CANONHOST defined in line 317; used 4 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 811
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 666, 868, 901

CANONNET defined in line 316; used 4 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 811
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 97, 671, 860

CANONUSER defined in line 318; used 5 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 811
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 661, 873, 907, 915

CONDELSE defined in line 323; used 1 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 814

CONDFI defined in line 324; used 1 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 814

CONDIF defined in line 322; used 1 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 814

EF_CLRQUEUE defined in line 246; used 3 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1318
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 134
- in /usr/src/usr.sbin/sendmail/src/queue.c line 759

EF_FATALERRS defined in line 248; used 10 times

- in /usr/src/usr.sbin/sendmail/src/collect.c line 182
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1318
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 126
- in /usr/src/usr.sbin/sendmail/src/err.c line 217
- in /usr/src/usr.sbin/sendmail/src/queue.c line 632, 759
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 75
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 262, 334, 348

EF_INQUEUE defined in line 244; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1337, 1349
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 140
- in /usr/src/usr.sbin/sendmail/src/queue.c line 628

EF_KEEPQUEUE defined in line 249; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1349
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 133

EF_OLDSTYLE defined in line 243; used 7 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 148, 651
- in /usr/src/usr.sbin/sendmail/src/queue.c line 212
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 830-832(2)
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 69-71(2)

EF_RESENT defined in line 251; used 5 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 101, 109, 303, 635
- in /usr/src/usr.sbin/sendmail/src/queue.c line 186

EF_RESPONSE defined in line 250; used 3 times

- in /usr/src/usr.sbin/sendmail/src/queue.c line 759
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 67, 395

EF_SENDRECEIPT defined in line 247; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 586
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 114

EF_TIMEOUT defined in line 245; used 3 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 456, 466
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 126

EM_BERKNET defined in line 466; never used
EM_MAIL defined in line 464; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1444
- in /usr/src/usr.sbin/sendmail/src/main.c line 1012
- in /usr/src/usr.sbin/sendmail/src/queue.c line 598
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 332

EM_PRINT defined in line 463; never used
EM_QUIET defined in line 467; used 1 times

- in /usr/src/usr.sbin/sendmail/src/envelope.c line 126

EM_WRITE defined in line 465; never used
EXTERN defined in line 25; used 69 times

- in line 158-161(3), 253, 284-285(2), 297, 419, 436, 449, 461, 477-525(49), 534-541(8), 547

HOF_VALID defined in line 353; never used
HOSTBEGIN defined in line 327; used 2 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 817
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 744

HOSTEND defined in line 328; used 2 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 817
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 756

HOSTINFO defined in line 340; used 7 times

- in line 342, 372-373(2)
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 708, 723, 733-738(2)

H_ACHECK defined in line 198; used 5 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 65, 73-74(2)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 630
- in /usr/src/usr.sbin/sendmail/src/queue.c line 193

H_CHECK defined in line 197; used 3 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 138, 630
- in /usr/src/usr.sbin/sendmail/src/queue.c line 193

H_DEFAULT defined in line 195; used 8 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 122, 136, 198, 227, 302, 316, 639
- in /usr/src/usr.sbin/sendmail/src/queue.c line 205

H_EOH defined in line 193; used 4 times

- in /usr/src/usr.sbin/sendmail/src/collect.c line 129
- in /usr/src/usr.sbin/sendmail/src/conf.c line 78-79(2)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 104

H_FORCE defined in line 199; used 4 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 84-86(3)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 123

H_FROM defined in line 201; used 14 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 59-67(8)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 144, 360, 648-653(2), 780
- in /usr/src/usr.sbin/sendmail/src/queue.c line 210

H_RCPT defined in line 194; used 10 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 69-74(6)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 144, 301, 648
- in /usr/src/usr.sbin/sendmail/src/queue.c line 210

H_RESENT defined in line 196; used 12 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 59-61(3), 70-82(5)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 100, 303, 635
- in /usr/src/usr.sbin/sendmail/src/queue.c line 186

H_TRACE defined in line 200; used 4 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 84-86(3)
- in /usr/src/usr.sbin/sendmail/src/headers.c line 297

H_VALID defined in line 202; never used
MATCHANY defined in line 309; used 2 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 807
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 613

MATCHCLASS defined in line 311; used 4 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 807
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 445, 573, 622

MATCHNCLASS defined in line 312; used 4 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 808
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 445, 576, 623

MATCHONE defined in line 310; used 2 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 807
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 622

MATCHREPL defined in line 313; used 3 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 834
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 445, 681

MATCHZANY defined in line 308; used 3 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 807
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 557, 613

MAX_ERRNO defined in line 472; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 950
- in /usr/src/usr.sbin/sendmail/src/err.c line 349

MD_ARPAFTP defined in line 439; used 4 times

- in /usr/src/usr.sbin/sendmail/src/envelope.c line 433
- in /usr/src/usr.sbin/sendmail/src/err.c line 188
- in /usr/src/usr.sbin/sendmail/src/headers.c line 354
- in /usr/src/usr.sbin/sendmail/src/main.c line 669

MD_DAEMON defined in line 441; used 7 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 154, 167
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 251
- in /usr/src/usr.sbin/sendmail/src/main.c line 282, 597, 613, 635

MD_DELIVER defined in line 438; used 1 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 226

MD_FREEZE defined in line 446; used 1 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 420

MD_INITALIAS defined in line 444; used 3 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 340
- in /usr/src/usr.sbin/sendmail/src/main.c line 278, 408

MD_PRINT defined in line 445; used 1 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 280

MD_SMTP defined in line 440; used 7 times

- in /usr/src/usr.sbin/sendmail/src/collect.c line 157, 176
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 824
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 433
- in /usr/src/usr.sbin/sendmail/src/err.c line 188
- in /usr/src/usr.sbin/sendmail/src/main.c line 646, 658

MD_TEST defined in line 443; used 3 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 549
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 512, 823

MD_VERIFY defined in line 442; used 4 times

- in /usr/src/usr.sbin/sendmail/src/main.c line 674-678(2), 696-701(2)

M_CANONICAL defined in line 139; used 1 times

- in /usr/src/usr.sbin/sendmail/src/envelope.c line 555

M_ESCFROM defined in line 141; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1136

M_EXPENSIVE defined in line 140; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 89

M_FOPT defined in line 142; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 128-130(2)

M_FROMPATH defined in line 149; used 1 times

- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 182

M_HST_UPPER defined in line 143; used 1 times

- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 147

M_INTERNAL defined in line 144; used 1 times

- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 160

M_LIMITS defined in line 146; used 2 times

- in /usr/src/usr.sbin/sendmail/src/util.c line 512, 527

M_LOCAL defined in line 145; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 584, 1425
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 899, 1009

M_MUSER defined in line 147; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 195

M_NHDR defined in line 148; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1070

M_RESTR defined in line 153; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 842

M_ROPT defined in line 150; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 128

M_SECURE_PORT defined in line 151; never used
M_STRIPQ defined in line 152; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 247

M_UGLYUUCP defined in line 155; used 1 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1074

M_USR_UPPER defined in line 154; used 1 times

- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 182

M_XDOT defined in line 156; used 2 times

- in /usr/src/usr.sbin/sendmail/src/util.c line 533, 545

PSBUFSIZE defined in line 52; used 8 times

- in /usr/src/usr.sbin/sendmail/src/envelope.c line 416
- in /usr/src/usr.sbin/sendmail/src/headers.c line 748
- in /usr/src/usr.sbin/sendmail/src/main.c line 575
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 67, 295, 741, 1101
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 67

QBADADDR defined in line 107; used 15 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 584
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 271, 450, 465, 1387, 1415, 1449
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 214, 263, 296, 302, 315
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 279, 385-388(2)

QDONTSEND defined in line 106; used 21 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 80
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 67, 94-96(2), 199, 222, 1330, 1387
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 483
- in /usr/src/usr.sbin/sendmail/src/main.c line 714
- in /usr/src/usr.sbin/sendmail/src/queue.c line 133, 158
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 116, 214, 239, 256-260(2), 284, 296
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 385-388(2)

QGOODUID defined in line 108; used 3 times

- in /usr/src/usr.sbin/sendmail/src/recipient.c line 330, 500, 584

QPRIMARY defined in line 109; used 4 times

- in /usr/src/usr.sbin/sendmail/src/recipient.c line 103-104(2), 241
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 272

QQUEUEUP defined in line 110; used 5 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 96, 271, 469
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 106
- in /usr/src/usr.sbin/sendmail/src/queue.c line 134

SM_DEFAULT defined in line 458; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1289
- in /usr/src/usr.sbin/sendmail/src/main.c line 716
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 425
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 338

SM_DELIVER defined in line 451; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1358
- in /usr/src/usr.sbin/sendmail/src/queue.c line 633
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 739
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 426

SM_FORK defined in line 453; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1335, 1453

SM_QUEUE defined in line 454; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1292, 1335

SM_QUICKD defined in line 452; never used
SM_VERIFY defined in line 455; used 4 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1336, 1384, 1399
- in /usr/src/usr.sbin/sendmail/src/main.c line 679

STRUCTCOPY defined in line 570; used 3 times

- in /usr/src/usr.sbin/sendmail/src/envelope.c line 197
- in /usr/src/usr.sbin/sendmail/src/main.c line 154-156(2)

ST_ADDRESS defined in line 383; never used
ST_ALIAS defined in line 385; used 2 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 143, 514

ST_CLASS defined in line 382; used 3 times

- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 570
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 349, 939

ST_ENTER defined in line 398; used 5 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 514
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 741
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 349, 474, 939

ST_FIND defined in line 397; used 7 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 143
- in /usr/src/usr.sbin/sendmail/src/conf.c line 318
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 725
- in /usr/src/usr.sbin/sendmail/src/main.c line 463-468(2)
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 570
- in /usr/src/usr.sbin/sendmail/src/stab.c line 81

ST_HOST defined in line 386; used 2 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 725, 741

ST_MAILER defined in line 384; used 4 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 318
- in /usr/src/usr.sbin/sendmail/src/main.c line 463-468(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 474

ST_UNDEF defined in line 381; never used
_BITBIT defined in line 67; used 3 times

- in line 72-78(3)

_BITWORD defined in line 66; used 3 times

- in line 72-78(3)

bitnset defined in line 72; used 27 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 89, 128-130(3), 195, 247, 584, 842, 1070-1074(2), 1136, 1425
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 555
- in /usr/src/usr.sbin/sendmail/src/main.c line 529
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 147, 182, 571, 899, 1009
- in /usr/src/usr.sbin/sendmail/src/queue.c line 199
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 672
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 160, 182
- in /usr/src/usr.sbin/sendmail/src/util.c line 512, 527, 533, 545

clrbitmap defined in line 81; used 2 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 55, 199

clrbitn defined in line 78; never used
newstr defined in line 568; used 62 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 515
- in /usr/src/usr.sbin/sendmail/src/collect.c line 49, 327
- in /usr/src/usr.sbin/sendmail/src/conf.c line 204, 214
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 236
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 135, 155, 317, 343, 462, 1014
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 317, 474, 496, 515, 551
- in /usr/src/usr.sbin/sendmail/src/headers.c line 129, 141, 196
- in /usr/src/usr.sbin/sendmail/src/main.c line 197, 249, 345, 356, 446, 832, 839
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 124, 137-139(2), 782, 909
- in /usr/src/usr.sbin/sendmail/src/queue.c line 71, 94, 433, 714-718(2), 724, 981
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 160, 225, 250, 402, 429, 452, 575, 711, 795, 807, 824, 836, 847, 858, 883
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 324-327(2), 333, 558
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 208-211(2)
- in /usr/src/usr.sbin/sendmail/src/stab.c line 112
- in /usr/src/usr.sbin/sendmail/src/util.c line 193

s_address defined in line 389; never used
s_alias defined in line 391; used 2 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 146, 515

s_class defined in line 388; used 4 times

- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 571
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 350, 940
- in /usr/src/usr.sbin/sendmail/src/stab.c line 90

s_host defined in line 392; used 5 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 726-731(3), 742-743(2)

s_mailer defined in line 390; used 4 times

- in /usr/src/usr.sbin/sendmail/src/conf.c line 320
- in /usr/src/usr.sbin/sendmail/src/main.c line 467-472(2)
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 475

setbitn defined in line 75; used 5 times

- in /usr/src/usr.sbin/sendmail/src/headers.c line 66
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 350, 434, 916, 940

setstat defined in line 562; used 3 times

- in /usr/src/usr.sbin/sendmail/src/deliver.c line 1009
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 99, 870

tTd defined in line 548; used 92 times

- in /usr/src/usr.sbin/sendmail/src/alias.c line 75, 102, 325, 580
- in /usr/src/usr.sbin/sendmail/src/clock.c line 74, 101, 151, 166
- in /usr/src/usr.sbin/sendmail/src/collect.c line 134, 211, 286
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 109, 129, 152, 186, 242, 373, 386-390(2)
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 74, 209, 677, 1299, 1407, 1438
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 82, 424, 452
- in /usr/src/usr.sbin/sendmail/src/headers.c line 50, 285, 293, 326, 471, 593, 713
- in /usr/src/usr.sbin/sendmail/src/macro.c line 49, 116, 204
- in /usr/src/usr.sbin/sendmail/src/main.c line 246, 256, 514, 615, 705, 740, 995-998(2)
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 77, 155, 277, 313, 377, 392, 512, 528, 543, 644, 653, 691, 804, 815, 823, 1106, 1194
- in /usr/src/usr.sbin/sendmail/src/queue.c line 81, 146, 424, 492, 551, 695, 946, 984, 997, 1024
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 664, 675, 690, 701
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 58, 173, 233
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 63, 142, 371
- in /usr/src/usr.sbin/sendmail/src/stab.c line 54, 69, 84, 105
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 97, 376, 414, 488
- in /usr/src/usr.sbin/sendmail/src/util.c line 216

tTdlevel defined in line 549; never used

#### Usage of this include

sendmail.h used 25 times

- in /usr/src/usr.sbin/sendmail/aux/mailstats.c line 19
- in /usr/src/usr.sbin/sendmail/src/alias.c line 16
- in /usr/src/usr.sbin/sendmail/src/arpadate.c line 39
- in /usr/src/usr.sbin/sendmail/src/clock.c line 15
- in /usr/src/usr.sbin/sendmail/src/collect.c line 16
- in /usr/src/usr.sbin/sendmail/src/conf.c line 17
- in /usr/src/usr.sbin/sendmail/src/daemon.c line 13
- in /usr/src/usr.sbin/sendmail/src/deliver.c line 17
- in /usr/src/usr.sbin/sendmail/src/envelope.c line 17
- in /usr/src/usr.sbin/sendmail/src/err.c line 15
- in /usr/src/usr.sbin/sendmail/src/extract.c line 4
- in /usr/src/usr.sbin/sendmail/src/headers.c line 16
- in /usr/src/usr.sbin/sendmail/src/macro.c line 15
- in /usr/src/usr.sbin/sendmail/src/main.c line 22
- in /usr/src/usr.sbin/sendmail/src/parseaddr.c line 15
- in /usr/src/usr.sbin/sendmail/src/queue.c line 12
- in /usr/src/usr.sbin/sendmail/src/readcf.c line 15
- in /usr/src/usr.sbin/sendmail/src/recipient.c line 16
- in /usr/src/usr.sbin/sendmail/src/savemail.c line 16
- in /usr/src/usr.sbin/sendmail/src/srvrsmtp.c line 13
- in /usr/src/usr.sbin/sendmail/src/stab.c line 15
- in /usr/src/usr.sbin/sendmail/src/stats.c line 15
- in /usr/src/usr.sbin/sendmail/src/trace.c line 16
- in /usr/src/usr.sbin/sendmail/src/usersmtp.c line 15
- in /usr/src/usr.sbin/sendmail/src/util.c line 20

Last modified: 1997-10-03 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 4571 |