home *** CD-ROM | disk | FTP | other *** search
/ ftp.uv.es / 2014.11.ftp.uv.es.tar / ftp.uv.es / pub / unix / aix-rs6000 / elm2.3.11.AIX3.1.5.Z / elm2.3.11.AIX3.1.5 / hdrs / sysdefs.SH < prev   
Text File  |  1990-10-10  |  5KB  |  144 lines

  1. case $CONFIG in
  2. '')
  3.     if test ! -f config.sh; then
  4.     ln ../config.sh . || \
  5.     ln ../../config.sh . || \
  6.     ln ../../../config.sh . || \
  7.     (echo "Can't find config.sh."; exit 1)
  8.     echo "Using config.sh from above..."
  9.     fi
  10.     . ./config.sh
  11.     ;;
  12. esac
  13. echo "Extracting hdrs/sysdefs.h (with variable substitutions)"
  14. sed <<!GROK!THIS! >sysdefs.h -e 's!^#undef!/\*#undef!'
  15. /* $Id: sysdefs.SH,v 4.1.1.3 90/10/10 12:45:21 syd Exp $ */
  16. /*******************************************************************************
  17.  *  The Elm Mail System  -  $Revision: 4.1.1.3 $   $State: Exp $
  18.  *
  19.  *             Copyright (c) 1986, 1987 Dave Taylor
  20.  *             Copyright (c) 1988, 1989, 1990 USENET Community Trust
  21.  *******************************************************************************
  22.  * Bug reports, patches, comments, suggestions should be sent to:
  23.  *
  24.  *    Syd Weinstein, Elm Coordinator
  25.  *    elm@DSI.COM            dsinc!elm
  26.  *
  27.  *******************************************************************************
  28.  * $Log:    sysdefs.SH,v $
  29.  * Revision 4.1.1.3  90/10/10  12:45:21  syd
  30.  * Make the symbol look less like a typo, its real
  31.  * From: Syd
  32.  * 
  33.  * Revision 4.1.1.2  90/10/07  19:48:17  syd
  34.  * fix the bounce problem reported earlier when using MMDF submit as the MTA.
  35.  * From: Jim Clausing <jac%brahms.tinton.ccur.com@RELAY.CS.NET>
  36.  * 
  37.  * Revision 4.1.1.1  90/06/09  22:28:42  syd
  38.  * Allow use of submit with mmdf instead of sendmail stub
  39.  * From: martin <martin@hppcmart.grenoble.hp.com>
  40.  * 
  41.  * Revision 4.1  90/04/28  22:42:14  syd
  42.  * checkin of Elm 2.3 as of Release PL0
  43.  * 
  44.  *
  45.  ******************************************************************************/
  46.  
  47. /**  System level, configurable, defines for the ELM mail system.  **/
  48.  
  49.  
  50. #define FIND_DELTA    10        /* byte region where the binary search
  51.                        on the path alias file is fruitless 
  52.                                            (can't be within this boundary)    */
  53.  
  54. #define MAX_IN_WEEDLIST 150    /* max headers to weed out               */
  55.  
  56. #define MAX_HOPS    35    /* max hops in return addr to E)veryone  */
  57.  
  58. #define DEFAULT_BATCH_SUBJECT  "$defbatsub"
  59.  
  60. #define DEFAULT_DOMAIN  "$mydomain"  /* if mydomain file is missing */
  61.  
  62. /** If you want to implement 'site hiding' in the mail, then you'll need to
  63.     uncomment the following lines and set them to reasonable values.  See 
  64.     the configuration guide for more details....(actually these are undoc-
  65.     umented because they're fairly dangerous to use.  Just ignore 'em and
  66.     perhaps one day you'll find out what they do, ok?)
  67. **/
  68.  
  69. /****************************************************************************
  70.  
  71. #define   SITE_HIDING
  72. #define   HIDDEN_SITE_NAME    "fake-machine-name"
  73. #define   HIDDEN_SITE_USERS    "/usr/mail/lists/hidden_site_users"
  74.  
  75. ****************************************************************************/
  76.  
  77. #define system_text_file        "$lib/aliases.text"
  78. #define system_hash_file        "$lib/aliases.hash"
  79. #define system_data_file        "$lib/aliases.data"
  80.  
  81. #define ALIAS_TEXT        ".elm/aliases.text"
  82. #define ALIAS_HASH        ".elm/aliases.hash"
  83. #define ALIAS_DATA        ".elm/aliases.data"
  84.  
  85. #define pathfile        "$pathalias"
  86. #define domains            "$domains"
  87. #define hostdomfile             "$lib/domain"
  88.  
  89. /** where to put the output of the elm -d command... (in home dir) **/
  90. #define DEBUGFILE    "ELM:debug.info"
  91. #define OLDEBUG        "ELM:debug.last"
  92.  
  93. #define    default_temp       "$tmpdir/"
  94. #define temp_file    "snd."
  95. #define temp_form_file    "form."
  96. #define temp_mbox    "mbox."
  97. #define temp_print      "print."
  98. #define temp_edit    "elm-edit"
  99. #define temp_uuname    "uuname."
  100. #define readmsg_file    ".elm/readmsg"
  101.  
  102. #define emacs_editor    "$emacs"
  103.  
  104. #define default_editor    "$defeditor"
  105. #define mailhome    "$maildir/"
  106.  
  107. #define default_shell    "$prefshell"
  108. #define default_pager    "$pager"
  109. #define default_printout    "$cat %s | $linepr"
  110.  
  111. #define sendmail    "$sendmail"
  112. #define smflags        "-oi -oem"    /* ignore dots and mail back errors */
  113. #define smflagsv          "-oi -oem -v"   /* Verbose voyuer mode */
  114. #define submitmail         "$submit"
  115. #define submitflags     "-mlrnxto,cc*"
  116. #define submitflags_s    "-mlrn"
  117. #define mailer        "$mailer"
  118.  
  119. #define mailx        "$mailx"
  120.  
  121. #define helphome    "$lib"
  122. #define helpfile    "elm-help"
  123.  
  124. #define ELMRC_INFO    "$lib/elmrc-info"
  125.  
  126. #define elmrcfile    ".elm/elmrc"
  127. #define old_elmrcfile    ".elm/elmrc.old"
  128. #define mailheaders    ".elm/elmheaders"
  129. #define dead_letter    "Cancelled.mail"
  130.  
  131. #define unedited_mail    "emergency.mbox"
  132.  
  133. #define newalias    "newalias 1>&2 > /dev/null"
  134. #define readmsg        "readmsg"
  135.  
  136. #define remove_cmd    "$rm -f"    /* how to remove a file */
  137. #define cat        "$cat"        /* how to display files */
  138. #define sed_cmd        "$sed"        /* how to access sed */
  139. #define move_cmd    "$mv"        /* how to access sed */
  140. #define uuname        "$uuname"    /* how to get a uuname  */
  141.  
  142. #define MSG_SEPERATOR    "\001\001\001\001\n"    /* mmdf message seperator */
  143. !GROK!THIS!
  144.