add mci_options word & advertised max message size
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 27 Apr 1993 00:19:22 +0000 (16:19 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Tue, 27 Apr 1993 00:19:22 +0000 (16:19 -0800)
SCCS-vsn: usr.sbin/sendmail/src/sendmail.h 6.49

usr/src/usr.sbin/sendmail/src/sendmail.h

index da62fae..358e628 100644 (file)
@@ -5,7 +5,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)sendmail.h  6.48 (Berkeley) %G%
+ *     @(#)sendmail.h  6.49 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -15,7 +15,7 @@
 # ifdef _DEFINE
 # define EXTERN
 # ifndef lint
 # ifdef _DEFINE
 # define EXTERN
 # ifndef lint
-static char SmailSccsId[] =    "@(#)sendmail.h 6.48            %G%";
+static char SmailSccsId[] =    "@(#)sendmail.h 6.49            %G%";
 # endif
 # else /*  _DEFINE */
 # define EXTERN extern
 # endif
 # else /*  _DEFINE */
 # define EXTERN extern
@@ -416,6 +416,8 @@ MCI
        short           mci_errno;      /* error number on last connection */
        short           mci_exitstat;   /* exit status from last connection */
        short           mci_state;      /* SMTP state */
        short           mci_errno;      /* error number on last connection */
        short           mci_exitstat;   /* exit status from last connection */
        short           mci_state;      /* SMTP state */
+       short           mci_options;    /* ESMTP options */
+       long            mci_maxsize;    /* max size this server will accept */
        FILE            *mci_in;        /* input side of connection */
        FILE            *mci_out;       /* output side of connection */
        int             mci_pid;        /* process id of subordinate proc */
        FILE            *mci_in;        /* input side of connection */
        FILE            *mci_out;       /* output side of connection */
        int             mci_pid;        /* process id of subordinate proc */
@@ -439,6 +441,10 @@ MCI
 #define MCIS_QUITING   4               /* running quit protocol */
 #define MCIS_SSD       5               /* service shutting down */
 #define MCIS_ERROR     6               /* I/O error on connection */
 #define MCIS_QUITING   4               /* running quit protocol */
 #define MCIS_SSD       5               /* service shutting down */
 #define MCIS_ERROR     6               /* I/O error on connection */
+
+/* options bits */
+#define MCIO_EXPN      0x0001          /* EXPN command supported */
+#define MCIO_SIZE      0x0002          /* SIZE option supported */
 \f/*
 **  Mapping functions
 **
 \f/*
 **  Mapping functions
 **
@@ -730,20 +736,21 @@ EXTERN long       WkRecipFact;    /* multiplier for # of recipients -> priority */
 EXTERN long    WkTimeFact;     /* priority offset each time this job is run */
 EXTERN char    *PostMasterCopy;        /* address to get errs cc's */
 EXTERN int     CheckpointInterval;     /* queue file checkpoint interval */
 EXTERN long    WkTimeFact;     /* priority offset each time this job is run */
 EXTERN char    *PostMasterCopy;        /* address to get errs cc's */
 EXTERN int     CheckpointInterval;     /* queue file checkpoint interval */
-EXTERN char    *UdbSpec;       /* user database source spec [udbexpand.c] */
-EXTERN int     MaxHopCount;    /* number of hops until we give an error */
-EXTERN int     ConfigLevel;    /* config file level -- what does .cf expect? */
-EXTERN char    *TimeZoneSpec;  /* override time zone specification */
-EXTERN bool    MatchGecos;     /* look for user names in gecos field */
+EXTERN char    *UdbSpec;               /* user database source spec */
+EXTERN int     MaxHopCount;            /* max # of hops until bounce */
+EXTERN int     ConfigLevel;            /* config file level */
+EXTERN char    *TimeZoneSpec;          /* override time zone specification */
+EXTERN bool    MatchGecos;             /* look for user names in gecos field */
 EXTERN bool    DontPruneRoutes;        /* don't prune source routes */
 EXTERN bool    DontPruneRoutes;        /* don't prune source routes */
-EXTERN int     MaxMciCache;    /* maximum entries in MCI cache */
+EXTERN int     MaxMciCache;            /* maximum entries in MCI cache */
 EXTERN time_t  MciCacheTimeout;        /* maximum idle time on connections */
 EXTERN time_t  MciCacheTimeout;        /* maximum idle time on connections */
-EXTERN char    *ForwardPath;   /* path to search for .forward files */
-EXTERN long    MinBlocksFree;  /* minimum number of blocks free on queue fs */
+EXTERN char    *ForwardPath;           /* path to search for .forward files */
+EXTERN long    MinBlocksFree;          /* min # of blocks free on queue fs */
 EXTERN char    *QueueLimitRecipient;   /* limit queue runs to this recipient */
 EXTERN char    *QueueLimitSender;      /* limit queue runs to this sender */
 EXTERN char    *QueueLimitId;          /* limit queue runs to this id */
 EXTERN char    *QueueLimitRecipient;   /* limit queue runs to this recipient */
 EXTERN char    *QueueLimitSender;      /* limit queue runs to this sender */
 EXTERN char    *QueueLimitId;          /* limit queue runs to this id */
-EXTERN char    *FallBackMX;    /* fall back MX host */
+EXTERN char    *FallBackMX;            /* fall back MX host */
+EXTERN long    MaxMessageSize;         /* advertised max size we will accept */
 
 
 /*
 
 
 /*