# 2.11BSD#431 - /usr/src/usr.sbin/sendmail.MX/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
    MxHosts           X
    MyHostName        X
    Nmx               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 int  Nmx;            /* number of MX RRs */
     540: EXTERN char *PostMasterCopy;    /* address to get errs cc's */
     541: EXTERN char *MxHosts[MAXMXHOSTS+1]; /* for MX RRs */
     542: EXTERN char *TrustedUsers[MAXTRUST+1];  /* list of trusted users */
     543: EXTERN char *UserEnviron[MAXUSERENVIRON+1]; /* saved user environment */
     544: /*
     545: **  Trace information
     546: */
     547:
     548: /* trace vector and macros for debugging flags */
     549: EXTERN u_char   tTdvect[100];
     550: # define tTd(flag, level)   (tTdvect[flag] >= level)
     551: # define tTdlevel(flag)     (tTdvect[flag])
     552: /*
     553: **  Miscellaneous information.
     554: */
     555:
     556: # include   <sysexits.h>
     557:
     558:
     559: /*
     560: **  Some in-line functions
     561: */
     562:
     563: /* set exit status */
     564: #define setstat(s)  { \
     565:                 if (ExitStat == EX_OK || ExitStat == EX_TEMPFAIL) \
     566:                     ExitStat = s; \
     567:             }
     568:
     569: /* make a copy of a string */
     570: #define newstr(s)   strcpy(xalloc(strlen(s) + 1), s)
     571:
     572: #define STRUCTCOPY(s, d)    d = s
     573:
     574:
     575: /*
     576: **  Declarations of useful functions
     577: */
     578:
     579: extern ADDRESS  *parseaddr();
     580: extern char *xalloc();
     581: extern bool sameaddr();
     582: extern FILE *dfopen();
     583: extern EVENT    *setevent();
     584: extern char *sfgets();
     585: extern char *queuename();
     586: extern time_t   curtime();
     587: extern bool shouldqueue();
     588: extern char *denlstring();

#### Defined variables

AliasFile defined in line 515; used 6 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 496, 505
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 339
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 714-716(2)
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 685

AliasLevel defined in line 505; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 110-112(2)
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 174, 508-510(2)

CheckPointLimit defined in line 538; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 737

CurEnv defined in line 253; used 207 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 86, 534, 584-585(2)
- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 55-62(5), 129, 171, 184-188(3), 199, 212, 220-225(4), 246-251(2), 331-333(2)
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 319
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 396
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 49-56(4), 62-63(2), 124, 247-248(2), 258, 266-270(3), 277, 285, 318-326(6), 469, 481-482(2), 489-494(4), 502-511(6), 517-537(10), 555-559(3), 566
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 77(2), 110, 138, 190-191(2), 226
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 107, 115-125(4), 154, 231, 309-311(2), 398-399(4)
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 160, 255, 268-272(2), 373, 455, 486, 538, 636, 643-644(2), 691, 698-702(2), 710-712(3), 737-742(3), 775, 828, 835, 1025-1030(3)
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 81, 448, 1102, 1140, 1151, 1193-1195(3)
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 609-628(6), 640-646(5), 652
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 137, 149, 166, 812, 832-834(2)
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 72-74(2), 127, 162, 243, 296, 309, 474, 506, 553
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 380, 396, 414, 425, 435(2)
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 144, 157, 177-178(2), 229, 247-249(2), 268-272(2), 283-288(2), 296, 306, 314, 339-352(8), 358, 366-368(4), 448, 680
- in /usr/src/usr.sbin/sendmail.MX/src/stats.c line 42, 48
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 105, 114, 120, 184-185(2), 301-303(2), 394-395(2), 430-438(3)
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 575, 942

CurHostName defined in line 523; used 15 times

- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 339-355(6)
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 136-142(3), 169, 204, 250, 269, 315, 380

DefGid defined in line 501; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 145
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 537
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 793

DefUid defined in line 500; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 144
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 536
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 875

ErrorMode defined in line 461; used 7 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 132
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 1008
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 611
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 779
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 70, 114
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 342

Errors defined in line 503; used 9 times

- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 224
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 684
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 158, 257, 284, 317, 355, 384, 537

EventQueue defined in line 419; used 11 times

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

ExitStat defined in line 504; used 21 times

- in line 565-566(3)
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 66-71(3)
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 684-685(2), 737, 752-754(3)
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 363
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 93, 122, 236, 418
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 431
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 103, 113, 125

FileMode defined in line 510; used 8 times

- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 62
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 143
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 878
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 89, 113, 967, 982
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 785

FileName defined in line 519; used 12 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 382, 535
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 271-273(2)
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 774
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 701, 762
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 84, 265
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 475, 496, 514

HelpFile defined in line 516; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 798-800(2)
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 571(2)

LineNumber defined in line 507; used 13 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 383, 390, 477
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 273
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 702, 756, 769
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 85
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 476, 497, 515
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 644, 702

LocalMailer defined in line 160; used 11 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 479, 576
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 319
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 493
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 463
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 201, 249, 277
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 155, 263
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 185

LogLevel defined in line 509; used 25 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 254, 261, 277, 539
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 121, 246
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 96, 350, 475
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 75
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 316, 395
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 749, 1051
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 152, 246, 323, 614, 627, 998, 1032
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 808
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 332
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 574, 580

Mailer defined in line 158; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 516
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 889
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 479

MotherPid defined in line 506; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 232, 621
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 462

MxHosts defined in line 541; never used
MyHostName defined in line 521; used 9 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 456
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 142, 169, 205-209(2), 222, 429
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 149, 192

Nmx defined in line 539; never used
NumPriorities defined in line 285; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 421
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 221, 231-233(3)

OldUmask defined in line 502; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 230

OpMode defined in line 436; used 33 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 341
- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 163, 182
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 154, 167
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 257, 439(2)
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 197(2)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 360
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 231, 283-287(3), 312, 413, 425-428(2), 481, 545, 593, 609, 631, 642, 654, 665-674(3), 692-697(2)
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 517, 828

PostMasterCopy defined in line 540; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 838
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 225-226(2)

Priorities defined in line 284; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 423-424(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 231-232(2)

ProgMailer defined in line 161; used 8 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 468
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 114
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 203
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 314-318(5)

QueueDir defined in line 518; used 7 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 471-473(2)
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 324, 411, 989
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 847-849(2)

QueueFactor defined in line 513; used 3 times

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

QueueIntvl defined in line 514; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 387, 593, 609
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 307-308(2)

QueueLA defined in line 511; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 136, 375-377(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 663, 891

ReadTimeout defined in line 508; used 3 times

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

RealGid defined in line 499; used 1 times

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

RealHostName defined in line 522; used 8 times

- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 236
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 134-136(2), 212-216(3), 229-230(2)

RealUid defined in line 498; used 1 times

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

RefuseLA defined in line 512; used 5 times

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

RewriteRules defined in line 297; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 530
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 125, 613-617(2)

SafeAlias defined in line 494; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 207
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 721-723(2)

SendMode defined in line 449; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 675
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 744, 755
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 436

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

- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 318, 334-337(2)
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 146, 203, 226, 267, 300, 313, 338
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 96, 138, 150, 195, 249, 291, 311

SpaceSub defined in line 534; used 7 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 139
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 973
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 727-729(3)
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 195, 377

StatFile defined in line 517; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 745
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 858-860(2)

TimeOut defined in line 495; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 868
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 185

TopFrame defined in line 524; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 82, 114
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 151, 270

TrustedUsers defined in line 542; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 588-590(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 249-251(2)

UserEnviron defined in line 543; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 202-204(3)

WkClassFact defined in line 535; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 141
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 346
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 907

WkRecipFact defined in line 536; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 140
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 347
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 899

WkTimeFact defined in line 537; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 142
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 748
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 911

tTdvect defined in line 549; used 8 times

- in line 550-551(2)
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 190(2), 326(2)
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 452(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.MX/src/conf.c line 56(2)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 50(2), 182(2), 362(2)

header defined in line 167; used 4 times

- in line 171-176(4)

mailer defined in line 123; used 25 times

- in line 92, 136(2)
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 516(2)
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 72(2), 856-857(4), 1095(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 387(2), 398(2)
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 155(2)
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 461(2)
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 76(2), 276(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.MX/src/parseaddr.c line 513(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 67(2), 126-130(4), 608(2)

symtab defined in line 361; used 4 times

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

#### Defined typedef's

ADDRESS defined in line 104; used 68 times

- in line 533, 579-222(4), 369
- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 71-72(2), 320, 565-566(2)
- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 208
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 308
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 85, 122-124(2)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 311, 357
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 73, 698
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 64-67(2), 75, 184, 850-853(2), 860, 1001-1002(2), 1041
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 75, 714-718(2)
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 51-55(3), 83, 89, 116-117(2), 148-159(6), 469-470(2), 553, 571-573(2)
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 61, 221, 227, 278, 289, 365, 374
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 113-114(2), 122, 279, 352, 383, 392
- in /usr/src/usr.sbin/sendmail.MX/src/stats.c line 34
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 97, 241

BITMAP defined in line 69; used 8 times

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

ENVELOPE defined in line 240; used 32 times

- in line 253
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 41-47(4), 82, 186-191(2), 345, 376
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 179, 284, 622
- in /usr/src/usr.sbin/sendmail.MX/src/macro.c line 44, 207, 235
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 71-72(2), 114
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 66, 681, 919, 1027
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 56, 370-372(3), 462
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 123-124(2)
- in /usr/src/usr.sbin/sendmail.MX/src/stats.c line 33
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 277

EVENT defined in line 417; used 11 times

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

HDR defined in line 176; used 15 times

- in line 214
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 189-190(2), 208
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 46-47(2), 134, 181-183(2), 200, 229, 286, 625, 701
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 74

MAILER defined in line 136; used 13 times

- in line 158-161(3), 370
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 621, 705
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 186
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 76
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 242, 335, 377, 489
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 506

STAB defined in line 378; used 14 times

- in line 394
- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 144, 321
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 316
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 104
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 570
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 321, 388, 939
- in /usr/src/usr.sbin/sendmail.MX/src/stab.c line 44-46(2), 52-53(2), 115

#### Defined macros

BITMAPBYTES defined in line 62; used 4 times

- in line 69, 81
- in /usr/src/usr.sbin/sendmail.MX/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.MX/src/main.c line 807
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 804

CANONHOST defined in line 317; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 807
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 671, 872, 905

CANONNET defined in line 316; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 807
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 103, 676, 864

CANONUSER defined in line 318; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 807
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 666, 877, 911, 919

CONDELSE defined in line 323; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 810

CONDFI defined in line 324; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 810

CONDIF defined in line 322; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 810

EF_CLRQUEUE defined in line 246; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 140
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 772

EF_FATALERRS defined in line 248; used 9 times

- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 188
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 132
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 226
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 645, 772
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 81
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 272, 344, 358

EF_INQUEUE defined in line 244; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 146
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 641

EF_KEEPQUEUE defined in line 249; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 139

EF_OLDSTYLE defined in line 243; used 7 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 154, 656
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 223
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 832-834(2)
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 72-74(2)

EF_RESENT defined in line 251; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 107, 115, 309, 640
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 197

EF_RESPONSE defined in line 250; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 772
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 73, 401

EF_SENDRECEIPT defined in line 247; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 120

EF_TIMEOUT defined in line 245; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 132

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

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 1008
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 611
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 342

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

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 132

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

- in line 158-161(3), 253, 284-285(2), 297, 419, 436, 449, 461, 477-525(49), 534-543(10), 549

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

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 813
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 749

HOSTEND defined in line 328; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 813
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 761

HOSTINFO defined in line 340; used 3 times

- in line 342, 372-373(2)

H_ACHECK defined in line 198; used 5 times

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

H_CHECK defined in line 197; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 144, 635
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 204

H_DEFAULT defined in line 195; used 8 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 128, 142, 204, 233, 308, 322, 644
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 216

H_EOH defined in line 193; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 135
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 78-79(2)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 110

H_FORCE defined in line 199; used 4 times

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

H_FROM defined in line 201; used 14 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 59-67(8)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 150, 366, 653-658(2), 785
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 221

H_RCPT defined in line 194; used 10 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 69-74(6)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 150, 307, 653
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 221

H_RESENT defined in line 196; used 12 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 59-61(3), 70-82(5)
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 106, 309, 640
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 197

H_TRACE defined in line 200; used 4 times

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

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

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 803
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 618

MATCHCLASS defined in line 311; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 803
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 451, 578, 627

MATCHNCLASS defined in line 312; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 804
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 451, 581, 628

MATCHONE defined in line 310; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 803
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 627

MATCHREPL defined in line 313; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 830
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 451, 686

MATCHZANY defined in line 308; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 803
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 562, 618

MAX_ERRNO defined in line 472; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 358

MD_ARPAFTP defined in line 439; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 439
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 197
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 360
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 665

MD_DAEMON defined in line 441; used 7 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 154, 167
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 257
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 287, 593, 609, 631

MD_DELIVER defined in line 438; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 231

MD_FREEZE defined in line 446; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 425

MD_INITALIAS defined in line 444; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 341
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 283, 413

MD_PRINT defined in line 445; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 285

MD_SMTP defined in line 440; used 6 times

- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 163, 182
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 439
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 197
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 642, 654

MD_TEST defined in line 443; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 545
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 517, 828

MD_VERIFY defined in line 442; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 670-674(2), 692-697(2)

M_CANONICAL defined in line 139; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 559

M_ESCFROM defined in line 141; never used
M_EXPENSIVE defined in line 140; never used
M_FOPT defined in line 142; never used
M_FROMPATH defined in line 149; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 186

M_HST_UPPER defined in line 143; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 153

M_INTERNAL defined in line 144; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 164

M_LIMITS defined in line 146; used 2 times

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

M_LOCAL defined in line 145; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 903, 1013

M_MUSER defined in line 147; never used
M_NHDR defined in line 148; never used
M_RESTR defined in line 153; never used
M_ROPT defined in line 150; never used
M_SECURE_PORT defined in line 151; never used
M_STRIPQ defined in line 152; never used
M_UGLYUUCP defined in line 155; never used
M_USR_UPPER defined in line 154; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 188

M_XDOT defined in line 156; used 2 times

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

PSBUFSIZE defined in line 52; used 8 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 422
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 753
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 571
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 73, 301, 746, 1105
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 73

QBADADDR defined in line 107; used 9 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 576
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 207, 256, 289, 295, 308
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 289, 395-398(2)

QDONTSEND defined in line 106; used 14 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 83
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 489
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 710
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 144, 169
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 111, 207, 232, 249-253(2), 277, 289
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 395-398(2)

QGOODUID defined in line 108; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 323, 492, 575

QPRIMARY defined in line 109; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 98-99(2), 234
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 282

QQUEUEUP defined in line 110; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 112
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 145

SM_DEFAULT defined in line 458; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 712
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 431
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 348

SM_DELIVER defined in line 451; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 646
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 744
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 436

SM_FORK defined in line 453; never used
SM_QUEUE defined in line 454; never used
SM_QUICKD defined in line 452; never used
SM_VERIFY defined in line 455; used 1 times

- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 675

STRUCTCOPY defined in line 572; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 203
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 159-161(2)

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

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

ST_CLASS defined in line 382; used 3 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 575
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 355, 941

ST_ENTER defined in line 398; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 506
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 355, 480, 941

ST_FIND defined in line 397; used 6 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 146
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 318
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 459-464(2)
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 575
- in /usr/src/usr.sbin/sendmail.MX/src/stab.c line 86

ST_HOST defined in line 386; never used
ST_MAILER defined in line 384; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 318
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 459-464(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 480

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 15 times

- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 559
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 525
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 153, 188, 576, 903, 1013
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 210
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 677
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 164, 186
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 512, 527, 533, 545

clrbitmap defined in line 81; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 61, 205

clrbitn defined in line 78; never used
newstr defined in line 570; used 55 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 507
- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 55, 333
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 204, 214
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 236
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 323, 480, 502, 521, 555
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 135, 147, 202
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 202, 254, 351, 362, 828, 835
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 130, 143-145(2), 787, 913
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 82, 105, 446, 727-731(2), 737, 992
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 166, 231, 256, 408, 435, 458, 581, 716, 800, 812, 826, 838, 849, 860, 885
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 317-320(2), 326, 549
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 217-220(2)
- in /usr/src/usr.sbin/sendmail.MX/src/stab.c line 117
- in /usr/src/usr.sbin/sendmail.MX/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.MX/src/alias.c line 149, 507

s_class defined in line 388; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 576
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 356, 942
- in /usr/src/usr.sbin/sendmail.MX/src/stab.c line 95

s_host defined in line 392; never used
s_mailer defined in line 390; used 4 times

- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 320
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 463-468(2)
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 481

setbitn defined in line 75; used 5 times

- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 72
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 356, 440, 918, 942

setstat defined in line 564; used 2 times

- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 105, 874

tTd defined in line 550; used 89 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 78, 105, 327, 572
- in /usr/src/usr.sbin/sendmail.MX/src/clock.c line 74, 101, 151, 166
- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 140, 217, 292
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 109, 129, 152, 186, 242, 373, 386-390(2)
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 88, 430, 458
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 56, 291, 299, 332, 476, 598, 718
- in /usr/src/usr.sbin/sendmail.MX/src/macro.c line 55, 122, 210
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 251, 261, 510, 611, 701, 736, 991-994(2)
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 83, 161, 283, 319, 383, 398, 517, 533, 548, 649, 658, 696, 809, 820, 828, 1110, 1198
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 92, 157, 437, 505, 564, 708, 959, 995, 1008, 1035
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 669, 680, 695, 706
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 61, 166, 205, 226, 254, 287
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 69, 148, 377
- in /usr/src/usr.sbin/sendmail.MX/src/stab.c line 59, 74, 89, 110
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 101, 381, 418, 492
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 216

tTdlevel defined in line 551; never used

#### Usage of this include

sendmail.h used 23 times

- in /usr/src/usr.sbin/sendmail.MX/src/alias.c line 30
- in /usr/src/usr.sbin/sendmail.MX/src/arpadate.c line 39
- in /usr/src/usr.sbin/sendmail.MX/src/clock.c line 15
- in /usr/src/usr.sbin/sendmail.MX/src/collect.c line 22
- in /usr/src/usr.sbin/sendmail.MX/src/conf.c line 17
- in /usr/src/usr.sbin/sendmail.MX/src/daemon.c line 13
- in /usr/src/usr.sbin/sendmail.MX/src/envelope.c line 23
- in /usr/src/usr.sbin/sendmail.MX/src/err.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/extract.c line 4
- in /usr/src/usr.sbin/sendmail.MX/src/headers.c line 22
- in /usr/src/usr.sbin/sendmail.MX/src/macro.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/main.c line 29
- in /usr/src/usr.sbin/sendmail.MX/src/parseaddr.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/queue.c line 17
- in /usr/src/usr.sbin/sendmail.MX/src/readcf.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/recipient.c line 22
- in /usr/src/usr.sbin/sendmail.MX/src/savemail.c line 22
- in /usr/src/usr.sbin/sendmail.MX/src/srvrsmtp.c line 17
- in /usr/src/usr.sbin/sendmail.MX/src/stab.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/stats.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/trace.c line 21
- in /usr/src/usr.sbin/sendmail.MX/src/usersmtp.c line 17
- in /usr/src/usr.sbin/sendmail.MX/src/util.c line 20

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