home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / com / utils / elm / sources / sysdefs.h < prev    next >
Text File  |  1992-04-06  |  5KB  |  137 lines

  1. /* : sysdefs.SH,v 4.1.1.3 90/10/10 12:45:21 syd Exp $ */
  2. /*******************************************************************************
  3.  *  The Elm Mail System  -  : 4.1.1.3 $   : Exp $
  4.  *
  5.  *             Copyright (c) 1986, 1987 Dave Taylor
  6.  *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  7.  *******************************************************************************
  8.  * Bug reports, patches, comments, suggestions should be sent to:
  9.  *
  10.  *    Syd Weinstein, Elm Coordinator
  11.  *    elm@DSI.COM            dsinc!elm
  12.  *
  13.  *******************************************************************************
  14.  * $Log:    sysdefs.SH,v $
  15.  * Revision 4.1.1.3  90/10/10  12:45:21  syd
  16.  * Make the symbol look less like a typo, its real
  17.  * From: Syd
  18.  * 
  19.  * Revision 4.1.1.2  90/10/07  19:48:17  syd
  20.  * fix the bounce problem reported earlier when using MMDF submit as the MTA.
  21.  * From: Jim Clausing <jac%brahms.tinton.ccur.com@RELAY.CS.NET>
  22.  * 
  23.  * Revision 4.1.1.1  90/06/09  22:28:42  syd
  24.  * Allow use of submit with mmdf instead of sendmail stub
  25.  * From: martin <martin@hppcmart.grenoble.hp.com>
  26.  * 
  27.  * Revision 4.1  90/04/28  22:42:14  syd
  28.  * checkin of Elm 2.3 as of Release PL0
  29.  * 
  30.  *
  31.  ******************************************************************************/
  32.  
  33. /**  System level, configurable, defines for the ELM mail system.  **/
  34.  
  35. #define FIND_DELTA    10        /* byte region where the binary search
  36.                        on the path alias file is fruitless 
  37.                                            (can't be within this boundary)    */
  38.  
  39. #define MAX_IN_WEEDLIST 150    /* max headers to weed out               */
  40.  
  41. #define MAX_HOPS    35    /* max hops in return addr to E)veryone  */
  42.  
  43. #define DEFAULT_BATCH_SUBJECT  "no subject (file transmission)"
  44.  
  45. #define DEFAULT_DOMAIN  ".UUCP"  /* if mydomain file is missing */
  46.  
  47. /** If you want to implement 'site hiding' in the mail, then you'll need to
  48.     uncomment the following lines and set them to reasonable values.  See 
  49.     the configuration guide for more details....(actually these are undoc-
  50.     umented because they're fairly dangerous to use.  Just ignore 'em and
  51.     perhaps one day you'll find out what they do, ok?)
  52. **/
  53.  
  54. /****************************************************************************
  55.  
  56. #define   SITE_HIDING
  57. #define   HIDDEN_SITE_NAME    "fake-machine-name"
  58. #define   HIDDEN_SITE_USERS    "/usr/mail/lists/hidden_site_users"
  59.  
  60. ****************************************************************************/
  61.  
  62. #define system_text_file        "aliases.txt"
  63. #define system_hash_file        "aliases.hsh"
  64. #define system_data_file        "aliases.dat"
  65.  
  66. #define ALIAS_TEXT        "elm/aliases.txt"
  67. #define ALIAS_TEMP        "elm/aliases.tmp"
  68. #define ALIAS_HASH        "elm/aliases.hsh"
  69. #define ALIAS_DATA        "elm/aliases.dat"
  70.  
  71. #define AUTOREP_FILE            "autorep.dat"
  72. #define AUTOREP_LOG             "autorep.log"
  73. #define AUTOREP_LOCK            "autorep.lck"
  74.  
  75. #define pathfile        "nmail.pat"
  76. #define domains            "domains"
  77. #define hostdomfile             "domain"
  78.  
  79. /** where to put the output of the elm -d command... (in home dir) **/
  80. #define DEBUGFILE    "ELM_dbg.inf"
  81. #define OLDEBUG        "ELM_dbg.lst"
  82.  
  83. #define    default_temp    tempdir
  84. #define temp_file    ".snd"
  85. #define temp_form_file    ".frm"
  86. #define temp_mbox    ".mbx"
  87. #define temp_print      ".prt"
  88. #define temp_edit    ".elm"
  89. #define temp_uuname    ".uun"
  90. #define readmsg_file    "current.elm"
  91.  
  92. #define emacs_editor    "emacs"
  93.  
  94. #define sendmail    ""
  95. #define smflags        "-oi -oem"    /* ignore dots and mail back errors */
  96. #define smflagsv          "-oi -oem -v"   /* Verbose voyuer mode */
  97. #define submitmail      mailer
  98. #define submitflags     "-t"
  99. #define submitflags_s    "-mlrn"
  100. /* #define mailer    "rmail" */
  101. #define mailx        "mail"
  102.  
  103.  
  104. #define dotelm          "elm"
  105. #define helphome        elmhome
  106. #define helpfile    "elm-help"
  107.  
  108. #define elmrc_info      "elmrc.inf"
  109.  
  110. #define elmrcfile    "elm/elmrc"
  111. #define old_elmrcfile    "elm/elmrc.old"
  112. #define mailheaders    "elm/elmhdrs"
  113. #define dead_letter    "dead.mbx"
  114.  
  115. #define alias_file    "aliases.ini"
  116. #define group_file    "groups.ini"
  117. #define system_file    "systems.ini"
  118.  
  119. #define default_folders        "mail"
  120. #define default_recvdmail    "=received"
  121. #define default_sentmail    "=sent"
  122.  
  123. #define unedited_mail    "emergenc.mbx"
  124.  
  125. #define newalias    "newalias 2>nul >nul"
  126. #define readmsg        "readmsg"
  127.  
  128. #define cat        "cat"        /* how to display files */
  129. #define sed_cmd        "sed"        /* how to access sed */
  130. #define move_cmd    "mv"        /* how to access sed */
  131. #define uuname        "uuname"    /* how to get a uuname  */
  132.  
  133. #define MSG_SEPERATOR    "\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\001\n"    /* mmdf message seperator */
  134.  
  135.  
  136.  
  137.