document distributed with 4.2BSD
[unix-history] / usr / src / usr.bin / mail / configdefs.h
index 9d3a088..ac467b8 100644 (file)
@@ -1,4 +1,10 @@
-#
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)configdefs.h        5.1 (Berkeley) %G%
+ */
 
 /*
  * This file contains the definitions of data structures used in
 
 /*
  * This file contains the definitions of data structures used in
  */
 
 /*
  */
 
 /*
- * Sccs ID @(#)configdefs.h    1.2 %G%
+ * The following constants are used when you are running 4.1a bsd or
+ * later on a local network.  Under control of the #define flag
+ * GETHOST, the host name is determined dynamically using the
+ * gethostname() system call.  The name thus found is inserted
+ * into the host table slot whose name was originally EMPTY.
  */
  */
+#define        EMPTY           "** empty **"
+#define        EMPTYID         'E'
 
 /*
  * The following data structure is the host table.  You must have
  * an entry here for your own machine, plus any special stuff you
 
 /*
  * The following data structure is the host table.  You must have
  * an entry here for your own machine, plus any special stuff you
- * expect the mailer to know about.  Not all hosts need be here,
- * however:  Mail can dope out stuff about hosts on the fly by looking
+ * expect the mailer to know about.  If you have #define'd GETHOST
+ * in v7.local.h, you needn't add your machine to the host table.
+ * Not all hosts need be here, however:
+ * Mail can dope out stuff about hosts on the fly by looking
  * at addresses.  The machines needed here are:
  *     1) The local machine
  *     2) Any machines on the path to a network gateway
  * at addresses.  The machines needed here are:
  *     1) The local machine
  *     2) Any machines on the path to a network gateway