home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume16 / ida2 / part01 next >
Text File  |  1988-11-13  |  67KB  |  2,431 lines

  1. Subject:  v16i073:  IDA Sendmail kit, Part01/08
  2. Newsgroups: comp.sources.unix
  3. Sender: sources
  4. Approved: rsalz@uunet.UU.NET
  5.  
  6. Submitted-by: Lennart Lovstrand <lovstran@arisia.xerox.com>
  7. Posting-number: Volume 16, Issue 73
  8. Archive-name: ida2/part01
  9.  
  10. Hello & Welcome to the IDA* Sendmail Enhancement Kit (rev 1.2.5).
  11.  
  12. The Kit includes a set of source code modifications to the BSD 4.3
  13. sendmail program version 5.59.  The changes will enable sendmail to have
  14. direct access to dbm(3) files and Sun's Yellow Pages, separate envelope/
  15. header rewriting rulesets, and multi-token class matches among other
  16. things.  Various bug fixes and other improvements has also been included.
  17.  
  18. As a separate part of the Kit is the IDA Sendmail Master Configuration
  19. file and a sample setups used at the CIS Dept, U of Linkoping and at
  20. Rank Xerox EuroPARC.  The configuration file together with the supplied
  21. data files and utility programs implement such nice features as pathalias
  22. based systems routing within sendmail, fully !-/@-translating rulesets,
  23. and generic local user addresses and again much more.  See the "M4
  24. IDENTIFIERS" section in ida/cf/Sendmail.mc for details and options.
  25.  
  26. Finally, there is an accompanying paper on mail addressing issues in
  27. general and hybrid addresses in particular.  Included in the paper is a
  28. description of the changes to sendmail and the configuration setup.
  29. Note however that the paper was written for the original (1.0) revision
  30. of the Kit and that it therefore may be out of date on some details.  See
  31. the supplied README and INSTALL files for up-to-date information.
  32.  
  33. To unpack the Kit, preferrably first cd to your sendmail source directory
  34. and then send the rest of this message and the following seven through
  35. /bin/sh or unshar.  This should create a new "ida" subdirectory with all
  36. the Kit's files.
  37.  
  38. If you are on the ARPA Internet, you may choose to retrieve the Kit
  39. in compressed tar format from ~ftp/pub1/ida.tar.Z on Arisia.Xerox.COM
  40. using anonymous ftp.  A compressed executable binary of IDA sendmail for
  41. Sun-3/SunOS 3.x is also available as ~ftp/pub1/ida-sendmail-sun3.Z.
  42.  
  43. Enjoy!
  44. --Lennart
  45.  
  46. *) IDA is an abbreviation of "Institutionen for Datavetenskap", Swedish
  47.    for "The Department of Computer and Information Science".  Under no
  48.    circumstance should it be confused with the IDA that stands for the
  49.    Institute for Defense Analysis, with which the author has no
  50.    relationship to nor wish to become associated with.
  51.  
  52. --cut--here--cut--here--cut--here--cut--here--cut--here--cut--here-->8--
  53. #! /bin/sh
  54. # This is a shell archive.  Remove anything before this line, then unpack
  55. # it by saving it into a file and typing "sh file".  To overwrite existing
  56. # files, type "sh file -c".  You can also feed this as standard input via
  57. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  58. # will see the following message at the end:
  59. #        "End of archive 1 (of 8)."
  60. # Contents:  ida ida/Makefile ida/aux ida/aux/Makefile ida/aux/header.c
  61. #   ida/aux/mkdomext.c ida/aux/scanf.c ida/cf ida/cf/Makefile
  62. #   ida/cf/Makefile.europarc ida/cf/Makefile.generic
  63. #   ida/cf/Makefile.ida ida/cf/asterix.m4 ida/cf/cftest
  64. #   ida/cf/client.m4 ida/cf/europarc.m4 ida/cf/majestix.m4
  65. #   ida/cf/newaliases.m4 ida/cf/obelix.m4 ida/cf/tests ida/doc
  66. #   ida/doc/Makefile ida/doc/cover.tr ida/doc/mkdomext.1
  67. #   ida/doc/xalparse.8 ida/lib ida/lib/Makefile
  68. #   ida/lib/Makefile.europarc ida/lib/Makefile.generic ida/lib/decnet
  69. #   ida/lib/decnet/nodes ida/lib/decnet/xtable ida/lib/mailertable
  70. #   ida/lib/restart_clients ida/lib/sendmail.hf ida/lib/sendmail.st
  71. #   ida/lib/stop_clients ida/lib/uucp ida/lib/uucp/relays
  72. #   ida/lib/uucp/xtable ida/patches ida/patches/MDBM.edit
  73. #   ida/patches/Makefile ida/patches/Makefile.diff
  74. #   ida/patches/Version.c.diff ida/patches/arpadate.c.diff
  75. #   ida/patches/conf.c.diff ida/patches/conf.h.diff
  76. #   ida/patches/domain.c.diff ida/patches/headers.c.diff
  77. #   ida/patches/mdbm_compat.h ida/patches/queue.c.diff
  78. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  79. if test ! -d ida ; then
  80.     echo shar: Creating directory \"ida\"
  81.     mkdir ida
  82. fi
  83. if test -f ida/Makefile -a "${1}" != "-c" ; then 
  84.   echo shar: Will not over-write existing file \"ida/Makefile\"
  85. else
  86. echo shar: Extracting \"ida/Makefile\" \(1424 characters\)
  87. sed "s/^X//" >ida/Makefile <<'END_OF_ida/Makefile'
  88. X#
  89. X#  MAKEFILE -- The IDA Sendmail Enhancement Kit.
  90. X#  Copyright (c) 1987 Lennart Lovstrand
  91. X#  CIS Dept, Univ of Linkoping, Sweden
  92. X#
  93. X#  Use it, abuse it, but don't sell it.
  94. X#
  95. X
  96. X#  Global definitions; will be exported to all Makefiles
  97. XMAN8DIR=    /usr/man/manl        # Place for the section 8 manuals
  98. XMAN8EXT=    .l            # Extension for section 8 manuals
  99. XMAN1DIR=    /usr/man/manl        # Place for the section 1 manuals
  100. XMAN1EXT=    .l            # Extension for section 1 manuals
  101. XBINDIR=        /usr/local/bin        # Where the binary aux files should go
  102. XLIBDIR=        /usr/lib/mail        # Where the data files should be
  103. XSRCDIR=        ../../src        # The sendmail src subdirectory
  104. XINCLUDEDIR=    ../../include        # The sendmail include subdirectory
  105. XDOCDIR=        ../../doc        # The sendmail doc subdirctory
  106. XMDBM=        #-DMDBM -I$(SRCDIR)    # Only defined if you want to use mdbm
  107. XDBMLIB=        -ldbm            # Change to -lmdbm if you use mdbm
  108. XDBMDIREXT=    .dir            # Change to .map for mdbm
  109. XDBMPAGEXT=    .pag            # Change to .dat for mdbm
  110. XTROFF=        pstroff            # The [nt]roff program of your choice
  111. X
  112. Xconfigure:    config.ed
  113. X        @echo ">>> Propagating changes to subdirectories."
  114. X        for M in */Makefile; do \
  115. X            ed $$M <config.ed; \
  116. X        done
  117. X
  118. Xconfig.ed:    Makefile
  119. X        egrep '^[^#    ].*=' Makefile | \
  120. X        sed -e 's/[     ]*#.*$$//' -e 's/#.*$$//' \
  121. X            -e 's/^\(.*=\).*$$/g\/^\1\/c\\;&\\;./' | \
  122. X        tr ';' '\012' >$@
  123. X        echo w >>$@
  124. X        echo q >>$@
  125. X
  126. Xclean:
  127. X        -rm -f \#* *~ config.ed
  128. X
  129. Xspotless:    clean
  130. X        for d in */.; do \
  131. X            (cd $$d; make clean); \
  132. X        done
  133. END_OF_ida/Makefile
  134. if test 1424 -ne `wc -c <ida/Makefile`; then
  135.     echo shar: \"ida/Makefile\" unpacked with wrong size!
  136. fi
  137. # end of overwriting check
  138. fi
  139. if test ! -d ida/aux ; then
  140.     echo shar: Creating directory \"ida/aux\"
  141.     mkdir ida/aux
  142. fi
  143. if test -f ida/aux/Makefile -a "${1}" != "-c" ; then 
  144.   echo shar: Will not over-write existing file \"ida/aux/Makefile\"
  145. else
  146. echo shar: Extracting \"ida/aux/Makefile\" \(938 characters\)
  147. sed "s/^X//" >ida/aux/Makefile <<'END_OF_ida/aux/Makefile'
  148. X#
  149. X#  MAKEFILE -- Auxiliary Files.
  150. X#  Copyright (c) 1987 Lennart Lovstrand
  151. X#  CIS Dept, Univ of Linkoping, Sweden
  152. X#
  153. X#  Use it, abuse it, but don't sell it.
  154. X#
  155. X#  Rmail has it's own options, go change them there.
  156. X#
  157. X
  158. XBINS=        dbm mkdomext scanf xalparse
  159. XCFLAGS=        -O -DVMUNIX -I$(INCLUDEDIR)
  160. X
  161. X#  The following definitions are inserted by ../Makefile
  162. X#  Change them there--not here!
  163. XBINDIR=        /usr/local/bin
  164. XLIBDIR=        /usr/lib/mail
  165. XSRCDIR=        ../../src
  166. XINCLUDEDIR=    ../../include
  167. XDBMLIB=        -ldbm
  168. X
  169. Xall:        $(BINS) rmail
  170. X
  171. Xdbm:        dbm.c
  172. X        $(CC) $(CFLAGS) $(MDBM) -o dbm dbm.c $(DBMLIB)
  173. X
  174. Xrmail:        rmail.c
  175. X        $(CC) $(CFLAGS) $(MDBM) -o rmail rmail.c $(DBMLIB)
  176. X
  177. Xinstall:    $(BINS)
  178. X        cp $(BINS) $(BINDIR)
  179. X        cd $(BINDIR); strip $(BINS)
  180. X        @echo '>>> Do "make install-rmail" to explitly install rmail.'
  181. X
  182. Xinstall-rmail:    rmail
  183. X        install -m 4755 -o root -s rmail /bin
  184. X
  185. Xclean:
  186. X        -rm -f \#* *~ *.o $(BINS) rmail
  187. X
  188. X.c.o:
  189. X        $(CC) $(CFLAGS) -c $<
  190. X
  191. X.c:
  192. X        $(CC) $(CFLAGS) -o $@ $<
  193. END_OF_ida/aux/Makefile
  194. if test 938 -ne `wc -c <ida/aux/Makefile`; then
  195.     echo shar: \"ida/aux/Makefile\" unpacked with wrong size!
  196. fi
  197. # end of overwriting check
  198. fi
  199. if test -f ida/aux/header.c -a "${1}" != "-c" ; then 
  200.   echo shar: Will not over-write existing file \"ida/aux/header.c\"
  201. else
  202. echo shar: Extracting \"ida/aux/header.c\" \(1683 characters\)
  203. sed "s/^X//" >ida/aux/header.c <<'END_OF_ida/aux/header.c'
  204. X/*
  205. X**  HEADER -- Header line parser.
  206. X**  Copyright (c) 1985 Lennart Lovstrand
  207. X**  CIS Dept, Univ of Linkoping, Sweden
  208. X**
  209. X**  Use it, abuse it, but don't sell it.
  210. X**
  211. X**  Version of 14-Apr-85.
  212. X*/
  213. X
  214. X#include <stdio.h>
  215. X#include <strings.h>
  216. X#include <ctype.h>
  217. X#include "useful.h"
  218. X
  219. X#define H_CC        "cc"
  220. X#define H_FROM        "from"
  221. X#define H_MESSAGE_ID    "message_id"
  222. X#define H_RETURN_PATH    "return-path"
  223. X#define H_TO        "to"
  224. X#define H_VIA        "via"
  225. X
  226. X#define COMMA    ','
  227. X
  228. X#define MAKELC(C)    (isupper(C) ? tolower(C) : C)
  229. X
  230. X/*
  231. X *    iskey: checks if the line is prefixed by
  232. X *    the supplied keyword (immediately followed by
  233. X *    a colon)
  234. X */
  235. Xiskey(key, line)
  236. Xchar *key, *line;
  237. X{
  238. X    for (; *key != NULL && *line != NULL; key++, line++)
  239. X        if (MAKELC(*key) != MAKELC(*line))
  240. X            break;
  241. X
  242. X    return *key == NULL && *line == ':';
  243. X}
  244. X
  245. Xchar *eat(str, ch)
  246. Xchar *str, ch;
  247. X{
  248. X    for(; *str == ch; str++);
  249. X    return str;
  250. X}
  251. X
  252. X/*
  253. X *    extract_address:
  254. X *    finds and extracts the machine address part of an address field
  255. X */
  256. X
  257. Xchar *extract_address(field, address)
  258. Xchar *field, *address;
  259. X{
  260. X    char *address_start = address;
  261. X
  262. X    while(*field && *field != COMMA && *field != '>')
  263. X        switch (*field) {
  264. X            case '<':
  265. X                return extract_address(field, address_start);
  266. X            case '(':
  267. X                while (*field && *field != ')');
  268. X                    field++;
  269. X                break;
  270. X            case '"':
  271. X                do
  272. X                    *address++ = *field++;
  273. X                while (*field && *field != '"');
  274. X                if (*field)
  275. X                    *address++ = *field++;
  276. X                break;
  277. X            case ' ':
  278. X                *address++ = *field++;
  279. X                field = eat(field, ' ');
  280. X                break;
  281. X            case '\\':
  282. X                *address++ = *field++;
  283. X                /* fall through */
  284. X            default:
  285. X                *address++ = *field++;
  286. X        }
  287. X    *address = NULL;
  288. X    if (*field)
  289. X        return index(field, COMMA)+1;
  290. X    else
  291. X        return field;
  292. X}
  293. X
  294. X
  295. END_OF_ida/aux/header.c
  296. if test 1683 -ne `wc -c <ida/aux/header.c`; then
  297.     echo shar: \"ida/aux/header.c\" unpacked with wrong size!
  298. fi
  299. # end of overwriting check
  300. fi
  301. if test -f ida/aux/mkdomext.c -a "${1}" != "-c" ; then 
  302.   echo shar: Will not over-write existing file \"ida/aux/mkdomext.c\"
  303. else
  304. echo shar: Extracting \"ida/aux/mkdomext.c\" \(2248 characters\)
  305. sed "s/^X//" >ida/aux/mkdomext.c <<'END_OF_ida/aux/mkdomext.c'
  306. X/*
  307. X**  MKDOMEXT -- Extend domain names
  308. X**  Copyright (c) 1987 Lennart Lovstrand
  309. X**  CIS Dept, Univ of Linkoping, Sweden
  310. X**
  311. X**  Use it, abuse it, but don't sell it.
  312. X*/
  313. X
  314. X#include "useful.h"
  315. X#include <stdio.h>
  316. X#include <ctype.h>
  317. X
  318. X#ifndef lint
  319. Xstatic char    SccsId[] = "@(#)mkdomext.c 1.5 (lel@ida.liu.se) 4/24/87";
  320. X#endif !lint
  321. X
  322. Xvoid printf(), fprintf();
  323. X
  324. Xchar *Progname;
  325. X
  326. Xmain(argc, argv)
  327. X     int argc;
  328. X     char **argv;
  329. X{
  330. X    char buf[BUFSIZ];
  331. X    char domains[BUFSIZ];
  332. X    char *tab, *p, *index();
  333. X
  334. X    Progname = argv[0];
  335. X
  336. X    if (argc == 1) {
  337. X    fprintf(stderr, "%s: no domains?\n", Progname);
  338. X    exit(1);
  339. X    }
  340. X
  341. X    /* collect the argument domain names */
  342. X    domains[0] = '\0';
  343. X    for (argc--, argv++; argc > 0; argc--, argv++) {
  344. X    if (strlen(*argv) + 3 > sizeof(domains)) {
  345. X        fprintf(stderr, "%s: too many domain arguments--\n %s %s %s\n",
  346. X            Progname,
  347. X            "chain two instances of", Progname,
  348. X            "together or recompile with larger ``domains'' array");
  349. X        exit(1);
  350. X    }
  351. X    (void) strcat(domains, " .");
  352. X    (void) strcat(domains, *argv);
  353. X    }
  354. X
  355. X    while (gets(buf) != NULL) {
  356. X    tab = index(buf, '\t');
  357. X    if (tab != NULL)
  358. X        *tab = '\0';
  359. X
  360. X    for (p = index(buf, '.'); p != NULL; p = index(p + 1, '.')) {
  361. X        if (instring(domains, p)) {
  362. X        for (; p != NULL; p = index(p + 1, '.')) {
  363. X            *p = '\0';
  364. X            if (tab != NULL)
  365. X            printf("%s\t%s\n", buf, tab + 1);
  366. X            else
  367. X            printf("%s\n", buf);
  368. X            *p = '.';
  369. X        }
  370. X        break;
  371. X        }
  372. X    }
  373. X    if (tab != NULL)
  374. X        *tab = '\t';
  375. X    puts(buf);
  376. X    }
  377. X}
  378. X
  379. X/*
  380. X**    INSTRING -- Returns TRUE if the source string ``s'' can be found
  381. X**        as a substring in target string ``t''.
  382. X*/
  383. X
  384. Xinstring(t, s)
  385. X     char *t, *s;
  386. X{
  387. X    extern char *index();
  388. X    register char *p;
  389. X    register int len = strlen(s);
  390. X
  391. X    for (p = index(t, *s); p != NULL; p = index(p + 1, *s))
  392. X    if (ispart(p, s, len))
  393. X        return TRUE;
  394. X    return FALSE;
  395. X}
  396. X
  397. X/*
  398. X**    ISPART -- Compare at most the first n chars of two strings
  399. X**        without respect to upper/lower case.
  400. X*/
  401. X
  402. Xispart(s, t, n)
  403. X     register char *s, *t;
  404. X     register int n;
  405. X{
  406. X    for (; n > 0 && *s != '\0' && *t != '\0'; s++, t++, n--)
  407. X    if ((isupper(*s) ? tolower(*s) : *s) !=
  408. X        (isupper(*t) ? tolower(*t) : *t))
  409. X        break;
  410. X    return (n == 0 || *s == *t); /* really *s == 0 && *t == 0 */
  411. X}
  412. END_OF_ida/aux/mkdomext.c
  413. if test 2248 -ne `wc -c <ida/aux/mkdomext.c`; then
  414.     echo shar: \"ida/aux/mkdomext.c\" unpacked with wrong size!
  415. fi
  416. # end of overwriting check
  417. fi
  418. if test -f ida/aux/scanf.c -a "${1}" != "-c" ; then 
  419.   echo shar: Will not over-write existing file \"ida/aux/scanf.c\"
  420. else
  421. echo shar: Extracting \"ida/aux/scanf.c\" \(1089 characters\)
  422. sed "s/^X//" >ida/aux/scanf.c <<'END_OF_ida/aux/scanf.c'
  423. X/*
  424. X**  SCANF -- Program to scan & extract input lines.
  425. X**  Copyright (c) 1987, 1988 Lennart Lovstrand
  426. X**  CIS Dept, Univ of Linkoping, Sweden
  427. X**
  428. X**  Use it, abuse it, but don't sell it.
  429. X**
  430. X**  Very simple version 0.11 of Tue Aug 23 12:01:10 BST 1988
  431. X*/
  432. X
  433. X#include "useful.h"
  434. X#include <stdio.h>
  435. X#include <ctype.h>
  436. X
  437. Xmain(argc, argv)
  438. X    int argc;
  439. X    char **argv;
  440. X{
  441. X    char buf[BUFSIZ], val[BUFSIZ];
  442. X    FILE *input;
  443. X    bool ignore_case = FALSE;
  444. X
  445. X    if (argc > 1 && strcmp(argv[1], "-i") == 0) {
  446. X    ignore_case = TRUE;
  447. X    argc--; argv++;
  448. X    }
  449. X
  450. X    if (argc < 2 || argc > 3) {
  451. X    fprintf(stderr, "usage: scanf [-i] scanf_pattern [file]\n");
  452. X    exit(1);
  453. X    }
  454. X
  455. X    if (ignore_case)
  456. X    lower(argv[1]);
  457. X
  458. X    if (argc == 2)
  459. X    input = stdin;
  460. X    else {
  461. X    input = fopen(argv[2], "r");
  462. X    if (input == NULL) {
  463. X        perror(argv[2]);
  464. X        exit(1);
  465. X    }
  466. X    }
  467. X
  468. X    while (fgets(buf, sizeof(buf), input) != NULL) {
  469. X    if (ignore_case)
  470. X        lower(buf);
  471. X    if (sscanf(buf, argv[1], val) == 1)
  472. X        puts(val);
  473. X    }
  474. X}
  475. X
  476. Xlower(p)
  477. X    register char *p;
  478. X{
  479. X    for (; *p != '\0'; p++)
  480. X    if (isupper(*p))
  481. X        *p = tolower(*p);
  482. X}
  483. END_OF_ida/aux/scanf.c
  484. if test 1089 -ne `wc -c <ida/aux/scanf.c`; then
  485.     echo shar: \"ida/aux/scanf.c\" unpacked with wrong size!
  486. fi
  487. # end of overwriting check
  488. fi
  489. if test ! -d ida/cf ; then
  490.     echo shar: Creating directory \"ida/cf\"
  491.     mkdir ida/cf
  492. fi
  493. if test -f ida/cf/Makefile -a "${1}" != "-c" ; then 
  494.   echo shar: Will not over-write existing file \"ida/cf/Makefile\"
  495. else
  496. echo shar: Extracting \"ida/cf/Makefile\" \(900 characters\)
  497. sed "s/^X//" >ida/cf/Makefile <<'END_OF_ida/cf/Makefile'
  498. X#
  499. X#  MAKEFILE -- Configuration Files.
  500. X#  Copyright (c) 1987 Lennart Lovstrand
  501. X#  CIS Dept, Univ of Linkoping, Sweden
  502. X#
  503. X#  Use it, abuse it, but don't sell it.
  504. X#
  505. X#  Generic version.
  506. X
  507. XSITENAME=    europarc
  508. XCONFIGS=    $(SITENAME).cf newaliases.cf
  509. X
  510. X#  The following definitions are inserted by ../Makefile
  511. X#  Change them there--not here!
  512. XLIBDIR=        /usr/lib/mail
  513. X
  514. Xall:        $(CONFIGS)
  515. X
  516. Xinstall:    $(CONFIGS)
  517. X        cp $(SITENAME).cf /usr/lib/sendmail.cf
  518. X        cp newaliases.cf $(LIBDIR)
  519. X
  520. Xdiff:
  521. X        -diff /usr/lib/sendmail.cf $(SITENAME).cf
  522. X
  523. Xclean:
  524. X        -rm -f \#* *~ *.cf
  525. X
  526. Xbackup:
  527. X        tar cf Backup.tar *.m4 *.mc
  528. X
  529. X$(CONFIGS):    Sendmail.mc
  530. X
  531. Xsendmail.cf    Sendmail.cf:
  532. X        @echo 'Based on what host/site?  Do make <host>.cf instead.'
  533. X
  534. Xstop:
  535. X        -skill sendmail
  536. X
  537. Xrestart:    stop
  538. X        /usr/lib/sendmail -bd -q30m
  539. X
  540. X.SUFFIXES:    .cf .m4
  541. X
  542. X.m4.cf:
  543. X        @echo "# NOTE: This file was automatically generated from an m4 specification" >$*.cf
  544. X        m4 $*.m4 >>$*.cf
  545. END_OF_ida/cf/Makefile
  546. if test 900 -ne `wc -c <ida/cf/Makefile`; then
  547.     echo shar: \"ida/cf/Makefile\" unpacked with wrong size!
  548. fi
  549. # end of overwriting check
  550. fi
  551. if test -f ida/cf/Makefile.europarc -a "${1}" != "-c" ; then 
  552.   echo shar: Will not over-write existing file \"ida/cf/Makefile.europarc\"
  553. else
  554. echo shar: Extracting \"ida/cf/Makefile.europarc\" \(900 characters\)
  555. sed "s/^X//" >ida/cf/Makefile.europarc <<'END_OF_ida/cf/Makefile.europarc'
  556. X#
  557. X#  MAKEFILE -- Configuration Files.
  558. X#  Copyright (c) 1987 Lennart Lovstrand
  559. X#  CIS Dept, Univ of Linkoping, Sweden
  560. X#
  561. X#  Use it, abuse it, but don't sell it.
  562. X#
  563. X#  Generic version.
  564. X
  565. XSITENAME=    europarc
  566. XCONFIGS=    $(SITENAME).cf newaliases.cf
  567. X
  568. X#  The following definitions are inserted by ../Makefile
  569. X#  Change them there--not here!
  570. XLIBDIR=        /usr/lib/mail
  571. X
  572. Xall:        $(CONFIGS)
  573. X
  574. Xinstall:    $(CONFIGS)
  575. X        cp $(SITENAME).cf /usr/lib/sendmail.cf
  576. X        cp newaliases.cf $(LIBDIR)
  577. X
  578. Xdiff:
  579. X        -diff /usr/lib/sendmail.cf $(SITENAME).cf
  580. X
  581. Xclean:
  582. X        -rm -f \#* *~ *.cf
  583. X
  584. Xbackup:
  585. X        tar cf Backup.tar *.m4 *.mc
  586. X
  587. X$(CONFIGS):    Sendmail.mc
  588. X
  589. Xsendmail.cf    Sendmail.cf:
  590. X        @echo 'Based on what host/site?  Do make <host>.cf instead.'
  591. X
  592. Xstop:
  593. X        -skill sendmail
  594. X
  595. Xrestart:    stop
  596. X        /usr/lib/sendmail -bd -q30m
  597. X
  598. X.SUFFIXES:    .cf .m4
  599. X
  600. X.m4.cf:
  601. X        @echo "# NOTE: This file was automatically generated from an m4 specification" >$*.cf
  602. X        m4 $*.m4 >>$*.cf
  603. END_OF_ida/cf/Makefile.europarc
  604. if test 900 -ne `wc -c <ida/cf/Makefile.europarc`; then
  605.     echo shar: \"ida/cf/Makefile.europarc\" unpacked with wrong size!
  606. fi
  607. # end of overwriting check
  608. fi
  609. if test -f ida/cf/Makefile.generic -a "${1}" != "-c" ; then 
  610.   echo shar: Will not over-write existing file \"ida/cf/Makefile.generic\"
  611. else
  612. echo shar: Extracting \"ida/cf/Makefile.generic\" \(939 characters\)
  613. sed "s/^X//" >ida/cf/Makefile.generic <<'END_OF_ida/cf/Makefile.generic'
  614. X#
  615. X#  MAKEFILE -- Configuration Files.
  616. X#  Copyright (c) 1987 Lennart Lovstrand
  617. X#  CIS Dept, Univ of Linkoping, Sweden
  618. X#
  619. X#  Use it, abuse it, but don't sell it.
  620. X#
  621. X#  Generic version.
  622. X
  623. XSITENAME=    # Value of `hostname | sed 's/\..*//'` or equiv
  624. XCONFIGS=    $(SITENAME).cf newaliases.cf
  625. X
  626. X#  The following definitions are inserted by ../Makefile
  627. X#  Change them there--not here!
  628. XLIBDIR=        /usr/lib/mail
  629. X
  630. Xall:        $(CONFIGS)
  631. X
  632. Xinstall:    $(CONFIGS)
  633. X        cp $(SITENAME).cf /usr/lib/sendmail.cf
  634. X        cp newaliases.cf $(LIBDIR)
  635. X
  636. Xdiff:
  637. X        -diff /usr/lib/sendmail.cf $(SITENAME).cf
  638. X
  639. Xclean:
  640. X        -rm -f \#* *~ *.cf
  641. X
  642. Xbackup:
  643. X        tar cf Backup.tar *.m4 *.mc
  644. X
  645. X$(CONFIGS):    Sendmail.mc
  646. X
  647. Xsendmail.cf    Sendmail.cf:
  648. X        @echo 'Based on what host/site?  Do make <host>.cf instead.'
  649. X
  650. Xstop:
  651. X        -skill sendmail
  652. X
  653. Xrestart:    stop
  654. X        /usr/lib/sendmail -bd -q30m
  655. X
  656. X.SUFFIXES:    .cf .m4
  657. X
  658. X.m4.cf:
  659. X        @echo "# NOTE: This file was automatically generated from an m4 specification" >$*.cf
  660. X        m4 $*.m4 >>$*.cf
  661. END_OF_ida/cf/Makefile.generic
  662. if test 939 -ne `wc -c <ida/cf/Makefile.generic`; then
  663.     echo shar: \"ida/cf/Makefile.generic\" unpacked with wrong size!
  664. fi
  665. # end of overwriting check
  666. fi
  667. if test -f ida/cf/Makefile.ida -a "${1}" != "-c" ; then 
  668.   echo shar: Will not over-write existing file \"ida/cf/Makefile.ida\"
  669. else
  670. echo shar: Extracting \"ida/cf/Makefile.ida\" \(1235 characters\)
  671. sed "s/^X//" >ida/cf/Makefile.ida <<'END_OF_ida/cf/Makefile.ida'
  672. X#
  673. X#  MAKEFILE -- Configuration Files.
  674. X#  Copyright (c) 1987 Lennart Lovstrand
  675. X#  CIS Dept, Univ of Linkoping, Sweden
  676. X#
  677. X#  Use it, abuse it, but don't sell it.
  678. X#
  679. X#  Special IDA version.
  680. X
  681. X
  682. XCONFIGS=    asterix.cf client.cf majestix.cf newaliases.cf obelix.cf
  683. X
  684. XCLIENTS=    crabbofix lillefix miraculix portofix prefix senilix \
  685. X        smidefix tragicomix
  686. X
  687. X#  The following definitions are inserted by ../Makefile
  688. X#  Change them there--not here!
  689. XLIBDIR=        /usr/lib/mail
  690. X
  691. Xall:        $(CONFIGS)
  692. X
  693. Xinstall:    $(CONFIGS)
  694. X        cp majestix.cf client.cf newaliases.cf $(LIBDIR)
  695. X        rcp asterix.cf asterix:/usr/lib/sendmail.cf
  696. X        mail -s sendmail.cf real_lel@obelix <obelix.cf
  697. X
  698. Xclients:    $(CLIENTS)
  699. X
  700. X$(CLIENTS):
  701. X        -rsh $@ rm /private$(LIBDIR)/sendmail.fc
  702. X        -rcp client.cf $@:/private$(LIBDIR)/sendmail.cf
  703. X
  704. Xdiff:
  705. X        -diff $(LIBDIR)/majestix.cf majestix.cf
  706. X        -diff $(LIBDIR)/client.cf client.cf
  707. X
  708. Xclean:
  709. X        -rm -f \#* *~ *.cf
  710. X
  711. Xbackup:
  712. X        tar cf Backup.tar *.m4 *.mc
  713. X
  714. X$(CONFIGS):    Sendmail.mc
  715. X
  716. Xsendmail.cf    Sendmail.cf:
  717. X        @echo 'Based on what host?  Do make <host>.cf instead.'
  718. X
  719. Xstop:
  720. X        -skill sendmail
  721. X
  722. Xrestart:    stop
  723. X        /usr/lib/sendmail -bd -q30m
  724. X
  725. X.SUFFIXES:    .cf .m4
  726. X
  727. X.m4.cf:
  728. X        @echo "# NOTE: This file was automatically generated from an m4 specification" >$*.cf
  729. X        m4 $*.m4 >>$*.cf
  730. END_OF_ida/cf/Makefile.ida
  731. if test 1235 -ne `wc -c <ida/cf/Makefile.ida`; then
  732.     echo shar: \"ida/cf/Makefile.ida\" unpacked with wrong size!
  733. fi
  734. # end of overwriting check
  735. fi
  736. if test -f ida/cf/asterix.m4 -a "${1}" != "-c" ; then 
  737.   echo shar: Will not over-write existing file \"ida/cf/asterix.m4\"
  738. else
  739. echo shar: Extracting \"ida/cf/asterix.m4\" \(463 characters\)
  740. sed "s/^X//" >ida/cf/asterix.m4 <<'END_OF_ida/cf/asterix.m4'
  741. X# Sendmail configuration file for asterix.liu.se
  742. Xdefine(ALIASES, LIBDIR/aliases)
  743. Xdefine(DECNETXTABLE, LIBDIR/decnet/xtable)
  744. Xdefine(DECNETNODES, LIBDIR/decnet/nodes)
  745. Xdefine(DEFAULT_DOMAIN, liu.se)
  746. Xdefine(DOMAINTABLE, LIBDIR/domaintable)
  747. Xdefine(GENERICFROM, LIBDIR/generics)
  748. Xdefine(LIUIDA)
  749. Xdefine(MAILERTABLE, LIBDIR/mailertable)
  750. Xdefine(PATHTABLE, LIBDIR/pathtable)
  751. Xdefine(UUCPNODES, /usr/lib/uucp/L.sys)
  752. Xdefine(UUCPXTABLE, LIBDIR/uucp/xtable)
  753. Xinclude(Sendmail.mc)
  754. END_OF_ida/cf/asterix.m4
  755. if test 463 -ne `wc -c <ida/cf/asterix.m4`; then
  756.     echo shar: \"ida/cf/asterix.m4\" unpacked with wrong size!
  757. fi
  758. # end of overwriting check
  759. fi
  760. if test -f ida/cf/cftest -a "${1}" != "-c" ; then 
  761.   echo shar: Will not over-write existing file \"ida/cf/cftest\"
  762. else
  763. echo shar: Extracting \"ida/cf/cftest\" \(264 characters\)
  764. sed "s/^X//" >ida/cf/cftest <<'END_OF_ida/cf/cftest'
  765. X#!/bin/sh
  766. X#
  767. X#    usage: cftest [sendmail_options] < test_file
  768. X#
  769. X#    sends the test patterns on stdin through sendmail and
  770. X#    collects the results.
  771. X#
  772. X
  773. X/usr/lib/sendmail -bt $* | awk '\
  774. X    !/^>/ {lastline = $0} \
  775. X    /^>/  {print lastline; print ""; print substr($0, 3, 999)}'
  776. END_OF_ida/cf/cftest
  777. if test 264 -ne `wc -c <ida/cf/cftest`; then
  778.     echo shar: \"ida/cf/cftest\" unpacked with wrong size!
  779. fi
  780. chmod +x ida/cf/cftest
  781. # end of overwriting check
  782. fi
  783. if test -f ida/cf/client.m4 -a "${1}" != "-c" ; then 
  784.   echo shar: Will not over-write existing file \"ida/cf/client.m4\"
  785. else
  786. echo shar: Extracting \"ida/cf/client.m4\" \(427 characters\)
  787. sed "s/^X//" >ida/cf/client.m4 <<'END_OF_ida/cf/client.m4'
  788. X# Sendmail configuration file for Sun-3 clients (*.liu.se)
  789. Xdefine(ALIASES, LIBDIR/aliases)
  790. Xdefine(DECNETXTABLE, LIBDIR/decnet/xtable)
  791. Xdefine(DECNETNODES, LIBDIR/decnet/nodes)
  792. Xdefine(DEFAULT_DOMAIN, liu.se)
  793. Xdefine(DOMAINTABLE, LIBDIR/domaintable)
  794. Xdefine(GENERICFROM, LIBDIR/generics)
  795. Xdefine(LIUIDA)
  796. Xdefine(PSEUDONYMS, all)
  797. Xdefine(RELAY_HOST, majestix)
  798. Xdefine(RELAY_MAILER, TCP)
  799. Xdefine(RSH_SERVER, majestix)
  800. Xinclude(Sendmail.mc)
  801. END_OF_ida/cf/client.m4
  802. if test 427 -ne `wc -c <ida/cf/client.m4`; then
  803.     echo shar: \"ida/cf/client.m4\" unpacked with wrong size!
  804. fi
  805. # end of overwriting check
  806. fi
  807. if test -f ida/cf/europarc.m4 -a "${1}" != "-c" ; then 
  808.   echo shar: Will not over-write existing file \"ida/cf/europarc.m4\"
  809. else
  810. echo shar: Extracting \"ida/cf/europarc.m4\" \(544 characters\)
  811. sed "s/^X//" >ida/cf/europarc.m4 <<'END_OF_ida/cf/europarc.m4'
  812. X# Sendmail configuration file for domain EuroPARC.Xerox.COM
  813. Xdefine(ALIASES, %mail.aliases)dnl
  814. Xdefine(DOMAINTABLE, %mail.domaintable)dnl
  815. Xdefine(GENERICFROM, %mail.generics)dnl
  816. Xdefine(MAILERTABLE, LIBDIR/mailertable)dnl
  817. Xdefine(PATHTABLE, %mail.pathtable)dnl
  818. Xdefine(PSEUDODOMAINS, BITNET CSNET JUNET MAILNET UUCP)dnl
  819. Xdefine(RSH_SERVER, mailhost)dnl
  820. Xdefine(UUCPNODES, |uuname)dnl
  821. Xdefine(XEROXGV, Xerox.COM)dnl
  822. Xdefine(XEROXNS, XNS.EuroPARC.Xerox.COM)dnl
  823. Xdefine(XNSDOMAIN, IP:RX)dnl
  824. Xdefine(XNSMAIL, /usr/local/bin/xnsmail)dnl
  825. Xinclude(Sendmail.mc)dnl
  826. END_OF_ida/cf/europarc.m4
  827. if test 544 -ne `wc -c <ida/cf/europarc.m4`; then
  828.     echo shar: \"ida/cf/europarc.m4\" unpacked with wrong size!
  829. fi
  830. # end of overwriting check
  831. fi
  832. if test -f ida/cf/majestix.m4 -a "${1}" != "-c" ; then 
  833.   echo shar: Will not over-write existing file \"ida/cf/majestix.m4\"
  834. else
  835. echo shar: Extracting \"ida/cf/majestix.m4\" \(575 characters\)
  836. sed "s/^X//" >ida/cf/majestix.m4 <<'END_OF_ida/cf/majestix.m4'
  837. X# Sendmail configuration file for host majestix.liu.se
  838. Xdefine(ALIASES, LIBDIR/aliases)
  839. Xdefine(DECNETXTABLE, LIBDIR/decnet/xtable)
  840. Xdefine(DECNETNODES, LIBDIR/decnet/nodes)
  841. Xdefine(DEFAULT_DOMAIN, liu.se)
  842. Xdefine(DOMAINTABLE, LIBDIR/domaintable)
  843. Xdefine(GENERICFROM, LIBDIR/generics)
  844. Xdefine(LIUIDA)
  845. Xdefine(MAILERTABLE, LIBDIR/mailertable)
  846. Xdefine(PATHTABLE, LIBDIR/pathtable)
  847. Xdefine(PSEUDONYMS, ida.liu.se liuida all)
  848. Xdefine(UUCPNAME, liuida)
  849. Xdefine(UUCPNODES, /usr/lib/uucp/L.sys)
  850. Xdefine(UUCPRELAYS, LIBDIR/uucp/relays)
  851. Xdefine(UUCPXTABLE, LIBDIR/uucp/xtable)
  852. Xinclude(Sendmail.mc)
  853. END_OF_ida/cf/majestix.m4
  854. if test 575 -ne `wc -c <ida/cf/majestix.m4`; then
  855.     echo shar: \"ida/cf/majestix.m4\" unpacked with wrong size!
  856. fi
  857. # end of overwriting check
  858. fi
  859. if test -f ida/cf/newaliases.m4 -a "${1}" != "-c" ; then 
  860.   echo shar: Will not over-write existing file \"ida/cf/newaliases.m4\"
  861. else
  862. echo shar: Extracting \"ida/cf/newaliases.m4\" \(322 characters\)
  863. sed "s/^X//" >ida/cf/newaliases.m4 <<'END_OF_ida/cf/newaliases.m4'
  864. X#    General configuration file for newaliases program
  865. X#
  866. X#    Check that the DOMAINTABLE definition agrees with your site's setup.
  867. X#    Note that ALIASES never, never, never should be set to a YP map here.
  868. X#
  869. Xdefine(ALIASES, LIBDIR/aliases)dnl
  870. Xdefine(DOMAINTABLE, %mail.domaintable)dnl
  871. Xdefine(NEWALIASES)dnl
  872. Xinclude(Sendmail.mc)dnl
  873. END_OF_ida/cf/newaliases.m4
  874. if test 322 -ne `wc -c <ida/cf/newaliases.m4`; then
  875.     echo shar: \"ida/cf/newaliases.m4\" unpacked with wrong size!
  876. fi
  877. # end of overwriting check
  878. fi
  879. if test -f ida/cf/obelix.m4 -a "${1}" != "-c" ; then 
  880.   echo shar: Will not over-write existing file \"ida/cf/obelix.m4\"
  881. else
  882. echo shar: Extracting \"ida/cf/obelix.m4\" \(320 characters\)
  883. sed "s/^X//" >ida/cf/obelix.m4 <<'END_OF_ida/cf/obelix.m4'
  884. X# Sendmail configuration file for host obelix.UUCP
  885. Xdefine(ALIASES, LIBDIR/aliases)
  886. Xdefine(BSD29)
  887. Xdefine(DEFAULT_DOMAIN, liu.se)
  888. Xdefine(RELAY_HOST, asterix)
  889. Xdefine(RELAY_MAILER, UUCP-B)
  890. Xdefine(PSEUDONYMS, obelix.UUCP obelix.liu.se obelix.liu obelix.ida.liu.se)
  891. Xdefine(UUCPNODES, /usr/lib/uucp/L.sys)
  892. Xinclude(Sendmail.mc)
  893. END_OF_ida/cf/obelix.m4
  894. if test 320 -ne `wc -c <ida/cf/obelix.m4`; then
  895.     echo shar: \"ida/cf/obelix.m4\" unpacked with wrong size!
  896. fi
  897. # end of overwriting check
  898. fi
  899. if test -f ida/cf/tests -a "${1}" != "-c" ; then 
  900.   echo shar: Will not over-write existing file \"ida/cf/tests\"
  901. else
  902. echo shar: Extracting \"ida/cf/tests\" \(98 characters\)
  903. sed "s/^X//" >ida/cf/tests <<'END_OF_ida/cf/tests'
  904. X3,19 a!b
  905. X3,19 a!b!c
  906. X3,19 a!b@c
  907. X3,19 a!b%c@d
  908. X3,19 a!b%c%d
  909. X3,19 a!b%c@d.d
  910. X3,19 a!b%c.c@d.d
  911. X3,19 a@b
  912. END_OF_ida/cf/tests
  913. if test 98 -ne `wc -c <ida/cf/tests`; then
  914.     echo shar: \"ida/cf/tests\" unpacked with wrong size!
  915. fi
  916. # end of overwriting check
  917. fi
  918. if test ! -d ida/doc ; then
  919.     echo shar: Creating directory \"ida/doc\"
  920.     mkdir ida/doc
  921. fi
  922. if test -f ida/doc/Makefile -a "${1}" != "-c" ; then 
  923.   echo shar: Will not over-write existing file \"ida/doc/Makefile\"
  924. else
  925. echo shar: Extracting \"ida/doc/Makefile\" \(996 characters\)
  926. sed "s/^X//" >ida/doc/Makefile <<'END_OF_ida/doc/Makefile'
  927. X#
  928. X#  MAKEFILE -- The Documentation Files.
  929. X#  Copyright (c) 1987 Lennart Lovstrand
  930. X#  CIS Dept, Univ of Linkoping, Sweden
  931. X#
  932. X#  Use it, abuse it, but don't sell it.
  933. X#
  934. X
  935. XMAN1S=        dbm.1 mkdomext.1
  936. XMAN8S=        xalparse.8
  937. XMANS=        $(MAN1S) $(MAN8S)
  938. XDOC=        paper.ms
  939. XDOCS=        part1.ms part2.ms
  940. X
  941. X#  The following definitions are inserted by ../Makefile
  942. X#  Change them there--not here!
  943. XMAN8DIR=    /usr/man/manl
  944. XMAN8EXT=    .l
  945. XMAN1DIR=    /usr/man/manl
  946. XMAN1EXT=    .l
  947. XTROFF=        pstroff
  948. X
  949. Xdoc:        $(DOC)
  950. X        refer -e -l,2 -s $(DOC) | tbl | $(TROFF) -ms
  951. X
  952. Xdoc.lpr:    $(DOC)
  953. X        refer -e -l,2 -s $(DOC) | tbl | nroff -ms > $@
  954. X
  955. Xman:        $(MANS)
  956. X        for m in $(MANS); do \
  957. X            $(TROFF) -man $$m; \
  958. X        done
  959. X
  960. Xman.lpr:    $(MANS)
  961. X        for m in $(MANS); do \
  962. X            nroff -man $$m > $$m.lpr; \
  963. X        done
  964. X
  965. X$(DOC):
  966. X        cat $(DOCS) >$(DOC)
  967. X        -rm -f $(DOCS)
  968. X
  969. Xinstall:    $(MANS)
  970. X        for m in $(MAN1S); do \
  971. X            cp $$m $(MAN1DIR)/`basename $$m .1`$(MAN1EXT); \
  972. X        done
  973. X        for m in $(MAN8S); do \
  974. X            cp $$m $(MAN8DIR)/`basename $$m .8`$(MAN8EXT); \
  975. X        done
  976. X
  977. Xclean:
  978. X        -rm -f \#* *~ *.lpr
  979. END_OF_ida/doc/Makefile
  980. if test 996 -ne `wc -c <ida/doc/Makefile`; then
  981.     echo shar: \"ida/doc/Makefile\" unpacked with wrong size!
  982. fi
  983. # end of overwriting check
  984. fi
  985. if test -f ida/doc/cover.tr -a "${1}" != "-c" ; then 
  986.   echo shar: Will not over-write existing file \"ida/doc/cover.tr\"
  987. else
  988. echo shar: Extracting \"ida/doc/cover.tr\" \(227 characters\)
  989. sed "s/^X//" >ida/doc/cover.tr <<'END_OF_ida/doc/cover.tr'
  990. X.fp 1 R
  991. X.fp 2 I
  992. X.fp 3 B
  993. X.fp 4 S
  994. X.nf
  995. X.vs 0.3i
  996. X.sv 2.47i
  997. X.ce 100
  998. X.ps 18
  999. X.ft 2
  1000. XExamensarbete
  1001. X.sp
  1002. X.ft 3
  1003. XElectronic Mail Addressing
  1004. Xin Theory and Practice
  1005. X.ft 1
  1006. X.sp
  1007. X.ps 14
  1008. XLennart L\(o:vstrand
  1009. X.sp
  1010. X.ps 12
  1011. XLiTH-IDA-Ex-8715
  1012. X1987-05-27
  1013. END_OF_ida/doc/cover.tr
  1014. if test 227 -ne `wc -c <ida/doc/cover.tr`; then
  1015.     echo shar: \"ida/doc/cover.tr\" unpacked with wrong size!
  1016. fi
  1017. # end of overwriting check
  1018. fi
  1019. if test -f ida/doc/mkdomext.1 -a "${1}" != "-c" ; then 
  1020.   echo shar: Will not over-write existing file \"ida/doc/mkdomext.1\"
  1021. else
  1022. echo shar: Extracting \"ida/doc/mkdomext.1\" \(1613 characters\)
  1023. sed "s/^X//" >ida/doc/mkdomext.1 <<'END_OF_ida/doc/mkdomext.1'
  1024. X.TH MKDOMEXT 1 "24 April 1987"                \" -*- nroff -*-
  1025. X.SH NAME
  1026. Xmkdomext \- make the exteneded set of domain names
  1027. X.SH SYNOPSIS
  1028. X.B mkdomext
  1029. X.IR domain " [\|.\|.\|.\|]"
  1030. X.SH DESCRIPTION
  1031. XThis program acts as a filter that, when supplied with fully qualified
  1032. Xdomain names on stdin, will generate all legal abbreviations of these on
  1033. Xstdout with respect to the parent domains given on the command line.  It
  1034. Xis used to be able to recognize unqualified local subdomains and sibling
  1035. Xdomains from one or more positions in the domain hierarchy.
  1036. X.PP
  1037. XThe fully qualified domains on stdin should be given one on a line, each
  1038. Xterminated by a newline or tab.  Any text after the tab will go through
  1039. Xuntouched.  This makes it especially useful for filtering the output of
  1040. Xthe
  1041. X.IR dbm (1)
  1042. X.B parse
  1043. Xfunction when producing a domain name server table.
  1044. X.SH EXAMPLE
  1045. X.nf
  1046. X.ta \w'majestix.liu.se'u+5n
  1047. X% cat >foo
  1048. Xmajestix.liu.se    majestix.liu.se
  1049. Xobelix.liu.se    obelix.liu.se
  1050. Xobelix.\s-1UUCP\s+1    obelix.liu.se
  1051. Xaida.uu.se    aida.uu.se
  1052. Xmc.lcs.mit.edu    mc.lcs.mit.edu
  1053. Xmit-mc    mc.lcs.mit.edu
  1054. X^D
  1055. X% mkdomext liu.se \s-1UUCP\s+1 <foo >bar
  1056. X% cat bar
  1057. Xmajestix    majestix.liu.se
  1058. Xmajestix.liu    majestix.liu.se
  1059. Xmajestix.liu.se    majestix.liu.se
  1060. Xobelix    obelix.liu.se
  1061. Xobelix.liu    obelix.liu.se
  1062. Xobelix.liu.se    obelix.liu.se
  1063. Xobelix    obelix.liu.se
  1064. Xobelix.\s-1UUCP\s+1    obelix.liu.se
  1065. Xaida.uu    aida.uu.se
  1066. Xaida.uu.se    aida.uu.se
  1067. Xmc.lcs.mit.edu    mc.lcs.mit.edu
  1068. Xmit-mc    mc.lcs.mit.edu
  1069. X.SH AUTHOR
  1070. X.nf
  1071. XLennart Lovstrand <lel@ida.liu.se>
  1072. XCIS Dept, Univ of Linkoping, Sweden
  1073. X.fi
  1074. X.SH "SEE ALSO"
  1075. X.IR dbm (1)
  1076. X.br
  1077. XRFC822\-Standard for the Format of ARPA Internet Text Messages
  1078. X(section 6.2.2)
  1079. END_OF_ida/doc/mkdomext.1
  1080. if test 1613 -ne `wc -c <ida/doc/mkdomext.1`; then
  1081.     echo shar: \"ida/doc/mkdomext.1\" unpacked with wrong size!
  1082. fi
  1083. # end of overwriting check
  1084. fi
  1085. if test -f ida/doc/xalparse.8 -a "${1}" != "-c" ; then 
  1086.   echo shar: Will not over-write existing file \"ida/doc/xalparse.8\"
  1087. else
  1088. echo shar: Extracting \"ida/doc/xalparse.8\" \(1604 characters\)
  1089. sed "s/^X//" >ida/doc/xalparse.8 <<'END_OF_ida/doc/xalparse.8'
  1090. X.TH XALPARSE 8 "24 April 1987"                \" -*- nroff -*-
  1091. X.SH NAME
  1092. Xxalparse \- parse an extended aliases file
  1093. X.SH SYNOPSIS
  1094. X.B xalparse
  1095. X.I xaliases aliases generics
  1096. X.SH DESCRIPTION
  1097. XThe
  1098. X.I xalparse
  1099. Xprogram parses an extended aliases file and produceces an ordinary
  1100. Xaliases file together with a file with generic address translations.
  1101. X.PP
  1102. XThe format of the xaliases file is a superset of
  1103. X.IR aliases (5):
  1104. X.RS
  1105. Xalias, alias, \|.\|.\|.\|: prefix address, prefix address, \|.\|.\|.\|
  1106. X.RE
  1107. XIt differes by allowing more than one LHS alias and by adding an
  1108. Xoptional
  1109. X.I prefix
  1110. Xin front of each RHS address.  The
  1111. X.I prefix
  1112. Xmarks the address as either inbound or outbound according to the
  1113. Xfollowing table:
  1114. X.RS
  1115. X.nf
  1116. X.ta \w'(\fIno mark\fP)'u+5n
  1117. X(\fIno mark\fP)    Inbound
  1118. X<    Outbound
  1119. X>    Inbound
  1120. X<>    Both Inbound and Outbound
  1121. X.fi
  1122. X.RE
  1123. X.PP
  1124. XInbound aliasing is the normal function implemented by
  1125. X.IR aliases (5).
  1126. XAll inbound entries are therefore simply copied to the
  1127. X.I aliases
  1128. Xoutput file.  Outbound addresses are written to the
  1129. X.I generics
  1130. Xfile in a format suitable for parsing by
  1131. X.I dbm (1).
  1132. XEach line will consist of the first LHS
  1133. X.I alias
  1134. Xof the entry followed by the outbound addresses separated with spaces.
  1135. XThe
  1136. X.I generics
  1137. Xfile is then normally loaded into a
  1138. X.IR dbm (3)
  1139. Xdatabase that is read by
  1140. X.IR sendmail (8)
  1141. Xand used to substitute header sender addresses with the aliased name.
  1142. X.SH AUTHOR
  1143. X.nf
  1144. XLennart Lovstrand <lel@ida.liu.se>
  1145. XCIS Dept, Univ of Linkoping, Sweden
  1146. X.fi
  1147. X.SH "SEE ALSO"
  1148. X.IR dbm (1),
  1149. X.IR aliases (5),
  1150. X.IR sendmail (8)
  1151. X.br
  1152. XElectronic Mail Addressing in Theory and Practice with The IDA Sendmail
  1153. XEnchancement Kit.
  1154. END_OF_ida/doc/xalparse.8
  1155. if test 1604 -ne `wc -c <ida/doc/xalparse.8`; then
  1156.     echo shar: \"ida/doc/xalparse.8\" unpacked with wrong size!
  1157. fi
  1158. # end of overwriting check
  1159. fi
  1160. if test ! -d ida/lib ; then
  1161.     echo shar: Creating directory \"ida/lib\"
  1162.     mkdir ida/lib
  1163. fi
  1164. if test -f ida/lib/Makefile -a "${1}" != "-c" ; then 
  1165.   echo shar: Will not over-write existing file \"ida/lib/Makefile\"
  1166. else
  1167. echo shar: Extracting \"ida/lib/Makefile\" \(1974 characters\)
  1168. sed "s/^X//" >ida/lib/Makefile <<'END_OF_ida/lib/Makefile'
  1169. X#
  1170. X#  MAKEFILE -- Library Files.
  1171. X#  Copyright (c) 1987, 1988 Lennart Lovstrand
  1172. X#  CIS Dept, Univ of Linkoping, Sweden
  1173. X#
  1174. X#  Use it, abuse it, but don't sell it.
  1175. X#
  1176. X#  EuroPARC version without DECnet.
  1177. X#  Remove those files from TABLES that you aren't using.
  1178. X
  1179. X
  1180. XLOCALDOMAINS=    EuroPARC.Xerox.COM UUCP        # only if domaintable is used
  1181. XPATHFLAGS=    -C25 -i -lEuroNet
  1182. XSENDMAIL=    /usr/lib/sendmail
  1183. XSKILL=        /usr/local/bin/skill        # not required
  1184. XTABLES=        $(YP)domaintable$(DBMDIREXT) $(YP)generics$(DBMDIREXT) \
  1185. X        $(YP)pathtable$(DBMDIREXT) $(YP)aliases$(DBMDIREXT)
  1186. X#        mailertable$(DBMDIREXT) uucp/xtable$(DBMDIREXT)
  1187. XUUCPNODES=    /usr/lib/uucp/L.sys
  1188. X# Prefix for YP dbm files; remove this if you won't be using YP databases
  1189. XYP=        /etc/yp/europarc/mail.
  1190. X
  1191. X
  1192. X#  The following definitions are inserted by ../Makefile
  1193. X#  Change them there--not here!
  1194. XDBMDIREXT=    .dir
  1195. XDBMPAGEXT=    .pag
  1196. X
  1197. X
  1198. X#  Update all dbm tables
  1199. Xall:    $(TABLES)
  1200. X
  1201. Xaliases generics:    xaliases
  1202. X    xalparse xaliases aliases generics
  1203. X
  1204. X$(YP)aliases$(DBMDIREXT):    aliases newaliases.cf $(YP)domaintable$(DBMDIREXT)
  1205. X    $(SENDMAIL) -Cnewaliases.cf -bi
  1206. X    if [ -n "$(YP)" ]; then \
  1207. X        mv aliases.dir $(YP)aliases.dir; \
  1208. X        mv aliases.pag $(YP)aliases.pag; \
  1209. X    fi
  1210. X
  1211. X$(YP)generics$(DBMDIREXT):    generics
  1212. X    dbm -L make generics $(YP)generics
  1213. X
  1214. X$(YP)domaintable$(DBMDIREXT):    domaintable
  1215. X    if [ -n "$(LOCALDOMAINS)" ]; then \
  1216. X        dbm parse domaintable | mkdomext $(LOCALDOMAINS) |\
  1217. X            dbm -IL load $(YP)domaintable; \
  1218. X    else \
  1219. X        dbm parse domaintable | dbm -IL load $(YP)domaintable; \
  1220. X    fi
  1221. X
  1222. X$(YP)pathtable$(DBMDIREXT):    pathtable
  1223. X    pathalias $(PATHFLAGS) pathtable | dbm load $(YP)pathtable
  1224. X
  1225. Xmailertable$(DBMDIREXT):    mailertable
  1226. X    dbm -L make mailertable mailertable
  1227. X
  1228. Xuucp/xtable$(DBMDIREXT):    uucp/xtable $(UUCPNODES)
  1229. X    (dbm parse uucp/xtable; \
  1230. X     awk '{printf "%s.UUCP\t%s\n", $$1, $$1}' $(UUCPNODES)) | \
  1231. X     dbm -IL load uucp/xtable
  1232. X
  1233. Xstop:
  1234. X    -$(SKILL) sendmail
  1235. X
  1236. Xrestart:    stop
  1237. X    $(SENDMAIL) -bd -q30m
  1238. X
  1239. Xclean:
  1240. X    -rm -f \#* *~ *.dir *.pag *.map *.dat */*.dir */*.pag */*.map */*.dat
  1241. END_OF_ida/lib/Makefile
  1242. if test 1974 -ne `wc -c <ida/lib/Makefile`; then
  1243.     echo shar: \"ida/lib/Makefile\" unpacked with wrong size!
  1244. fi
  1245. # end of overwriting check
  1246. fi
  1247. if test -f ida/lib/Makefile.europarc -a "${1}" != "-c" ; then 
  1248.   echo shar: Will not over-write existing file \"ida/lib/Makefile.europarc\"
  1249. else
  1250. echo shar: Extracting \"ida/lib/Makefile.europarc\" \(1974 characters\)
  1251. sed "s/^X//" >ida/lib/Makefile.europarc <<'END_OF_ida/lib/Makefile.europarc'
  1252. X#
  1253. X#  MAKEFILE -- Library Files.
  1254. X#  Copyright (c) 1987, 1988 Lennart Lovstrand
  1255. X#  CIS Dept, Univ of Linkoping, Sweden
  1256. X#
  1257. X#  Use it, abuse it, but don't sell it.
  1258. X#
  1259. X#  EuroPARC version without DECnet.
  1260. X#  Remove those files from TABLES that you aren't using.
  1261. X
  1262. X
  1263. XLOCALDOMAINS=    EuroPARC.Xerox.COM UUCP        # only if domaintable is used
  1264. XPATHFLAGS=    -C25 -i -lEuroNet
  1265. XSENDMAIL=    /usr/lib/sendmail
  1266. XSKILL=        /usr/local/bin/skill        # not required
  1267. XTABLES=        $(YP)domaintable$(DBMDIREXT) $(YP)generics$(DBMDIREXT) \
  1268. X        $(YP)pathtable$(DBMDIREXT) $(YP)aliases$(DBMDIREXT)
  1269. X#        mailertable$(DBMDIREXT) uucp/xtable$(DBMDIREXT)
  1270. XUUCPNODES=    /usr/lib/uucp/L.sys
  1271. X# Prefix for YP dbm files; remove this if you won't be using YP databases
  1272. XYP=        /etc/yp/europarc/mail.
  1273. X
  1274. X
  1275. X#  The following definitions are inserted by ../Makefile
  1276. X#  Change them there--not here!
  1277. XDBMDIREXT=    .dir
  1278. XDBMPAGEXT=    .pag
  1279. X
  1280. X
  1281. X#  Update all dbm tables
  1282. Xall:    $(TABLES)
  1283. X
  1284. Xaliases generics:    xaliases
  1285. X    xalparse xaliases aliases generics
  1286. X
  1287. X$(YP)aliases$(DBMDIREXT):    aliases newaliases.cf $(YP)domaintable$(DBMDIREXT)
  1288. X    $(SENDMAIL) -Cnewaliases.cf -bi
  1289. X    if [ -n "$(YP)" ]; then \
  1290. X        mv aliases.dir $(YP)aliases.dir; \
  1291. X        mv aliases.pag $(YP)aliases.pag; \
  1292. X    fi
  1293. X
  1294. X$(YP)generics$(DBMDIREXT):    generics
  1295. X    dbm -L make generics $(YP)generics
  1296. X
  1297. X$(YP)domaintable$(DBMDIREXT):    domaintable
  1298. X    if [ -n "$(LOCALDOMAINS)" ]; then \
  1299. X        dbm parse domaintable | mkdomext $(LOCALDOMAINS) |\
  1300. X            dbm -IL load $(YP)domaintable; \
  1301. X    else \
  1302. X        dbm parse domaintable | dbm -IL load $(YP)domaintable; \
  1303. X    fi
  1304. X
  1305. X$(YP)pathtable$(DBMDIREXT):    pathtable
  1306. X    pathalias $(PATHFLAGS) pathtable | dbm load $(YP)pathtable
  1307. X
  1308. Xmailertable$(DBMDIREXT):    mailertable
  1309. X    dbm -L make mailertable mailertable
  1310. X
  1311. Xuucp/xtable$(DBMDIREXT):    uucp/xtable $(UUCPNODES)
  1312. X    (dbm parse uucp/xtable; \
  1313. X     awk '{printf "%s.UUCP\t%s\n", $$1, $$1}' $(UUCPNODES)) | \
  1314. X     dbm -IL load uucp/xtable
  1315. X
  1316. Xstop:
  1317. X    -$(SKILL) sendmail
  1318. X
  1319. Xrestart:    stop
  1320. X    $(SENDMAIL) -bd -q30m
  1321. X
  1322. Xclean:
  1323. X    -rm -f \#* *~ *.dir *.pag *.map *.dat */*.dir */*.pag */*.map */*.dat
  1324. END_OF_ida/lib/Makefile.europarc
  1325. if test 1974 -ne `wc -c <ida/lib/Makefile.europarc`; then
  1326.     echo shar: \"ida/lib/Makefile.europarc\" unpacked with wrong size!
  1327. fi
  1328. # end of overwriting check
  1329. fi
  1330. if test -f ida/lib/Makefile.generic -a "${1}" != "-c" ; then 
  1331.   echo shar: Will not over-write existing file \"ida/lib/Makefile.generic\"
  1332. else
  1333. echo shar: Extracting \"ida/lib/Makefile.generic\" \(1968 characters\)
  1334. sed "s/^X//" >ida/lib/Makefile.generic <<'END_OF_ida/lib/Makefile.generic'
  1335. X#
  1336. X#  MAKEFILE -- Library Files.
  1337. X#  Copyright (c) 1987, 1988 Lennart Lovstrand
  1338. X#  CIS Dept, Univ of Linkoping, Sweden
  1339. X#
  1340. X#  Use it, abuse it, but don't sell it.
  1341. X#
  1342. X#  Generic version without DECnet.
  1343. X#  Remove those files from TABLES that you aren't using.
  1344. X
  1345. X
  1346. XLOCALDOMAINS=    #ida.liu.se UUCP        # only if domaintable is used
  1347. XPATHFLAGS=    -C25 -i #-lIDA-TCP-NET
  1348. XSENDMAIL=    /usr/lib/sendmail
  1349. XSKILL=        /usr/local/bin/skill        # not required
  1350. XTABLES=        $(YP)domaintable$(DBMDIREXT) $(YP)generics$(DBMDIREXT) \
  1351. X        $(YP)pathtable$(DBMDIREXT) $(YP)aliases$(DBMDIREXT) \
  1352. X        mailertable$(DBMDIREXT) uucp/xtable$(DBMDIREXT)
  1353. XUUCPNODES=    /usr/lib/uucp/L.sys
  1354. X# Prefix for YP dbm files; remove this if you won't be using YP databases
  1355. XYP=        #/etc/yp/ida/mail.
  1356. X
  1357. X
  1358. X#  The following definitions are inserted by ../Makefile
  1359. X#  Change them there--not here!
  1360. XDBMDIREXT=    .dir
  1361. XDBMPAGEXT=    .pag
  1362. X
  1363. X
  1364. X#  Update all dbm tables
  1365. Xall:    $(TABLES)
  1366. X
  1367. Xaliases generics:    xaliases
  1368. X    xalparse xaliases aliases generics
  1369. X
  1370. X$(YP)aliases$(DBMDIREXT):    aliases newaliases.cf $(YP)domaintable$(DBMDIREXT)
  1371. X    $(SENDMAIL) -Cnewaliases.cf -bi
  1372. X    if [ -n "$(YP)" ]; then \
  1373. X        mv aliases.dir $(YP)aliases.dir; \
  1374. X        mv aliases.pag $(YP)aliases.pag; \
  1375. X    fi
  1376. X
  1377. X$(YP)generics$(DBMDIREXT):    generics
  1378. X    dbm -L make generics $(YP)generics
  1379. X
  1380. X$(YP)domaintable$(DBMDIREXT):    domaintable
  1381. X    if [ -n "$(LOCALDOMAINS)" ]; then \
  1382. X        dbm parse domaintable | mkdomext $(LOCALDOMAINS) |\
  1383. X            dbm -IL load $(YP)domaintable; \
  1384. X    else \
  1385. X        dbm parse domaintable | dbm -IL load $(YP)domaintable; \
  1386. X    fi
  1387. X
  1388. X$(YP)pathtable$(DBMDIREXT):    pathtable
  1389. X    pathalias $(PATHFLAGS) pathtable | dbm load $(YP)pathtable
  1390. X
  1391. Xmailertable$(DBMDIREXT):    mailertable
  1392. X    dbm -L make mailertable mailertable
  1393. X
  1394. Xuucp/xtable$(DBMDIREXT):    uucp/xtable $(UUCPNODES)
  1395. X    (dbm parse uucp/xtable; \
  1396. X     awk '{printf "%s.UUCP\t%s\n", $$1, $$1}' $(UUCPNODES)) | \
  1397. X     dbm -IL load uucp/xtable
  1398. X
  1399. Xstop:
  1400. X    -$(SKILL) sendmail
  1401. X
  1402. Xrestart:    stop
  1403. X    $(SENDMAIL) -bd -q30m
  1404. X
  1405. Xclean:
  1406. X    -rm -f \#* *~ *.dir *.pag *.map *.dat */*.dir */*.pag */*.map */*.dat
  1407. END_OF_ida/lib/Makefile.generic
  1408. if test 1968 -ne `wc -c <ida/lib/Makefile.generic`; then
  1409.     echo shar: \"ida/lib/Makefile.generic\" unpacked with wrong size!
  1410. fi
  1411. # end of overwriting check
  1412. fi
  1413. if test ! -d ida/lib/decnet ; then
  1414.     echo shar: Creating directory \"ida/lib/decnet\"
  1415.     mkdir ida/lib/decnet
  1416. fi
  1417. if test -f ida/lib/decnet/nodes -a "${1}" != "-c" ; then 
  1418.   echo shar: Will not over-write existing file \"ida/lib/decnet/nodes\"
  1419. else
  1420. echo shar: Extracting \"ida/lib/decnet/nodes\" \(1248 characters\)
  1421. sed "s/^X//" >ida/lib/decnet/nodes <<'END_OF_ida/lib/decnet/nodes'
  1422. Xliuida
  1423. Xlisbet
  1424. Xlaura
  1425. Xbill
  1426. Xbull
  1427. Xtrisse
  1428. Xfrasse
  1429. Xmurre
  1430. Xfille
  1431. Xbilbo
  1432. Xfrodo
  1433. Xelrond
  1434. Xgollum
  1435. Xolds
  1436. Xchevy
  1437. Xkafka
  1438. Xrolls
  1439. Xniva
  1440. Xvaz
  1441. Xlinnea
  1442. Xlinus
  1443. Xlina
  1444. Xelinor
  1445. Xp13l00
  1446. Xviktor
  1447. Xludvig
  1448. Xhazel
  1449. Xbigwig
  1450. Xkloker
  1451. Xtoker
  1452. Xclover
  1453. Xfiver
  1454. Xdaisy
  1455. Xaladin
  1456. Xturtle
  1457. Xminmin
  1458. Xjinjin
  1459. Xweiwei
  1460. Xfelix
  1461. Xflinta
  1462. Xflisa
  1463. Xfrida
  1464. Xfilip
  1465. Xfilipb
  1466. Xfenix
  1467. Xfrank
  1468. Xdec
  1469. Xrtr13a
  1470. Xmoll
  1471. Xdur
  1472. Xnfr
  1473. Xelin
  1474. Xelsy
  1475. Xelmer
  1476. Xromeo
  1477. Xvaxkab
  1478. Xkleo
  1479. Xklas
  1480. Xkicki
  1481. Xvera
  1482. Xkaron
  1483. Xpallas
  1484. Xfreja
  1485. Xelvira
  1486. Xsi
  1487. Xrtr08a
  1488. Xidun
  1489. Xbrage
  1490. Xbackus
  1491. Xnoatun
  1492. Xnjord
  1493. Xskade
  1494. Xgotl
  1495. Xmeta
  1496. Xpara
  1497. Xthermo
  1498. Xhelios
  1499. Xoseen
  1500. Xksab
  1501. Xkthttt
  1502. Xevild
  1503. Xelinda
  1504. Xelise
  1505. Xella
  1506. Xelton
  1507. Xelena
  1508. Xelke
  1509. Xelsa
  1510. Xeliza
  1511. Xornen
  1512. Xknoen
  1513. Xffacom
  1514. Xafivax
  1515. Xa08001
  1516. Xplasma
  1517. Xplasm1
  1518. Xvanb
  1519. Xvana
  1520. Xmcg
  1521. Xvanc
  1522. Xbasun
  1523. Xpsypdp
  1524. Xpsyvax
  1525. Xutb1
  1526. Xutb2
  1527. Xbiovax
  1528. Xostvax
  1529. Xtpsyk
  1530. Xargus
  1531. Xrtm
  1532. Xostpdp
  1533. Xlvax
  1534. Xmanwe
  1535. Xskogis
  1536. Xfjarr
  1537. Xrtr09a
  1538. Xmalin
  1539. Xtekla
  1540. Xcartus
  1541. Xpelle
  1542. Xpictor
  1543. Xtlu
  1544. Xmax
  1545. Xkvax1
  1546. Xkvax2
  1547. Xsigurd
  1548. Xescil
  1549. Xgwax1
  1550. Xgwax2
  1551. Xkemist
  1552. Xcell
  1553. Xminc
  1554. Xsilver
  1555. Xlapse
  1556. Xmaja
  1557. Xrtr18a
  1558. Ximunis
  1559. Xxray
  1560. Xgraph
  1561. Ximmuna
  1562. Xbmc1
  1563. Xfarfar
  1564. Xeva
  1565. Xnimbus
  1566. Xlaban
  1567. Xpax
  1568. Xtersx
  1569. Xapele1
  1570. Xtekn01
  1571. Xinfth1
  1572. Xtherm1
  1573. Xorgch1
  1574. Xfyvax1
  1575. Xfyvax2
  1576. Xelsys
  1577. Xcontrl
  1578. Xmeddat
  1579. Xsostel
  1580. Xfyvax3
  1581. Xcthmga
  1582. Xrtr31a
  1583. Xinfth2
  1584. Xinfth3
  1585. Xinfth4
  1586. Xkstad
  1587. Xlnkarl
  1588. Xedbild
  1589. Xsmtgbg
  1590. Xgotmed
  1591. Xvega
  1592. Xkcvax
  1593. Xsirius
  1594. Xgemini
  1595. Xadam
  1596. Xcastor
  1597. Xpollux
  1598. Xrigel
  1599. Xpandor
  1600. Xikaros
  1601. Xjanus
  1602. Xperdix
  1603. Xpan
  1604. Xshanno
  1605. Xbutter
  1606. Xerlang
  1607. Xpluto
  1608. Xagaton
  1609. Xbode
  1610. Xemma
  1611. Xshiva
  1612. Xegino
  1613. Xsamson
  1614. Xtyche
  1615. Xgarbo
  1616. Xalice
  1617. Xmira
  1618. Xp46xje
  1619. Xp46ldc
  1620. Xrtr46a
  1621. Xp46ibm
  1622. Xp46vm1
  1623. Xvaxi
  1624. Xvaxii
  1625. END_OF_ida/lib/decnet/nodes
  1626. if test 1248 -ne `wc -c <ida/lib/decnet/nodes`; then
  1627.     echo shar: \"ida/lib/decnet/nodes\" unpacked with wrong size!
  1628. fi
  1629. # end of overwriting check
  1630. fi
  1631. if test -f ida/lib/decnet/xtable -a "${1}" != "-c" ; then 
  1632.   echo shar: Will not over-write existing file \"ida/lib/decnet/xtable\"
  1633. else
  1634. echo shar: Extracting \"ida/lib/decnet/xtable\" \(1613 characters\)
  1635. sed "s/^X//" >ida/lib/decnet/xtable <<'END_OF_ida/lib/decnet/xtable'
  1636. X#
  1637. X#    DECnet domain translation table v1.0
  1638. X#    Last edited by lel@ida.liu.se Mon Apr 20 21:42:58 MET DST 1987
  1639. X#
  1640. X#    This file contiains the official domain name for nodes
  1641. X#    either on the locally connected DECnet or on the national
  1642. X#    SUNET.
  1643. X#
  1644. X#    Each line should contain the node's name within the DECnet
  1645. X#    followed by it's full official domain name.  The domain name
  1646. X#    may be followed by other names by which the node should be
  1647. X#    recognized, eg. when nodes are present in multiple domains.
  1648. X#
  1649. X#    Nodes not represented here but present in the decnet/nodes file
  1650. X#    are assumed to be contained in the SUNET.SE domain.
  1651. X#
  1652. X
  1653. Xagaton        agaton.lu.se
  1654. Xaida        aida.uu.se
  1655. Xaladin        aladin.liu.se
  1656. Xbmc1        bmc1.uu.se
  1657. Xcarmen        carmen.uu.se
  1658. Xcartus        cartus.uu.se
  1659. Xcell        cell.uu.se
  1660. Xclover        clover.liu.se
  1661. Xdaisy        daisy.liu.se
  1662. Xelinor        elinor.liu.se
  1663. Xescil        escil.uu.se
  1664. Xeva        eva.uu.se
  1665. Xfarfar        farfar.uu.se
  1666. Xfreja        freja.qz.se
  1667. Xgraph        graph.uu.se
  1668. Xgwax1        gwax1.uu.se
  1669. Xgwax2        gwax2.uu.se
  1670. Xhazel        hazel.liu.se
  1671. Ximmuna        immuna.uu.se
  1672. Ximunis        imunis.uu.se
  1673. Xjinjin        jinjin.liu.se
  1674. Xkemist        kemist.uu.se
  1675. Xkvax1        kvax1.uu.se
  1676. Xkvax2        kvax2.uu.se
  1677. Xlaban        laban.uu.se
  1678. Xlapse        lapse.uu.se
  1679. Xlina        lina.liu.se
  1680. Xlinnea        linnea.liu.se
  1681. Xlinus        linus.liu.se
  1682. Xlisbet        lisbet.liu.se
  1683. Xludvig        ludvig.liu.se
  1684. Xmaja        maja.uu.se
  1685. Xmalin        malin.uu.se
  1686. Xmax        max.uu.se
  1687. Xminc        minc.uu.se
  1688. Xminmin        minmin.liu.se
  1689. Xnimbus        nimbus.uu.se
  1690. Xp13l00        p13l00.liu.se
  1691. Xpandor        pandor.lu.se
  1692. Xpax        pax.uu.se
  1693. Xpelle        pelle.uu.se
  1694. Xpictor        pictor.uu.se
  1695. Xrtr18a        rtr18a.uu.se
  1696. Xsigurd        sigurd.uu.se
  1697. Xsilver        silver.uu.se
  1698. Xtekla        tekla.uu.se
  1699. Xtlu        tlu.uu.se
  1700. Xturtle        turtle.liu.se
  1701. Xviktor        viktor.liu.se
  1702. Xweiwei        weiwei.liu.se
  1703. Xxray        xray.uu.se
  1704. END_OF_ida/lib/decnet/xtable
  1705. if test 1613 -ne `wc -c <ida/lib/decnet/xtable`; then
  1706.     echo shar: \"ida/lib/decnet/xtable\" unpacked with wrong size!
  1707. fi
  1708. # end of overwriting check
  1709. fi
  1710. if test -f ida/lib/mailertable -a "${1}" != "-c" ; then 
  1711.   echo shar: Will not over-write existing file \"ida/lib/mailertable\"
  1712. else
  1713. echo shar: Extracting \"ida/lib/mailertable\" \(650 characters\)
  1714. sed "s/^X//" >ida/lib/mailertable <<'END_OF_ida/lib/mailertable'
  1715. X#
  1716. X#    Mailer table for physical node majestix.liu.se
  1717. X#    (aka the UUCP node liuida)
  1718. X#
  1719. X#    Format is <mailer>:<hostname> <official-name-1> ... <official-name-n>
  1720. X#    where mail sent to users on each of the <official-names> will
  1721. X#    be forced to invoke the specified mailer and sent to the
  1722. X#    specified host, which should be in a format that the mailer will
  1723. X#    understand.
  1724. X
  1725. XUUCP:alp    alp.UUCP    alp.se
  1726. XUUCP:liutde    liutde.UUCP    liutde.se    tde.liu.se
  1727. XUUCP:prosys    prosys.UUCP    prosys.se
  1728. XUUCP-A:enea    enea.UUCP    enea.se
  1729. XUUCP-A:erilin    erilin.UUCP    erilin.se    erilin.ericsson.se
  1730. XUUCP-A:erix    erix.UUCP    erix.se        erix.ericsson.se
  1731. XUUCP-A:rainier    rainier.UUCP    rainier.se    rainier.liu.se
  1732. END_OF_ida/lib/mailertable
  1733. if test 650 -ne `wc -c <ida/lib/mailertable`; then
  1734.     echo shar: \"ida/lib/mailertable\" unpacked with wrong size!
  1735. fi
  1736. # end of overwriting check
  1737. fi
  1738. if test -f ida/lib/restart_clients -a "${1}" != "-c" ; then 
  1739.   echo shar: Will not over-write existing file \"ida/lib/restart_clients\"
  1740. else
  1741. echo shar: Extracting \"ida/lib/restart_clients\" \(202 characters\)
  1742. sed "s/^X//" >ida/lib/restart_clients <<'END_OF_ida/lib/restart_clients'
  1743. X#!/bin/sh
  1744. X#        restart sendmail on all clients
  1745. X#
  1746. X
  1747. Xfor h in crabbofix lillefix miraculix portofix prefix senilix smidefix tragicomix; do
  1748. X  echo -n "$h "
  1749. X  rsh $h -n "(cd /usr/lib/mail; make restart)"
  1750. Xdone
  1751. END_OF_ida/lib/restart_clients
  1752. if test 202 -ne `wc -c <ida/lib/restart_clients`; then
  1753.     echo shar: \"ida/lib/restart_clients\" unpacked with wrong size!
  1754. fi
  1755. chmod +x ida/lib/restart_clients
  1756. # end of overwriting check
  1757. fi
  1758. if test -f ida/lib/sendmail.hf -a "${1}" != "-c" ; then 
  1759.   echo shar: Will not over-write existing file \"ida/lib/sendmail.hf\"
  1760. else
  1761. echo shar: Extracting \"ida/lib/sendmail.hf\" \(1858 characters\)
  1762. sed "s/^X//" >ida/lib/sendmail.hf <<'END_OF_ida/lib/sendmail.hf'
  1763. X@(#)    sendmail.hf    4.2    6/7/85
  1764. Xcpyr    
  1765. Xcpyr    Sendmail
  1766. Xcpyr    Copyright (c) 1983  Eric P. Allman
  1767. Xcpyr    Berkeley, California
  1768. Xcpyr    
  1769. Xcpyr    Copyright (c) 1983 Regents of the University of California.
  1770. Xcpyr    All rights reserved.  The Berkeley software License Agreement
  1771. Xcpyr    specifies the terms and conditions for redistribution.
  1772. Xcpyr    
  1773. Xcpyr    @(#)sendmail.hf    4.2 (Berkeley) 6/7/85
  1774. Xcpyr    
  1775. Xsmtp    Commands:
  1776. Xsmtp        HELO    MAIL    RCPT    DATA    RSET
  1777. Xsmtp        NOOP    QUIT    HELP    VRFY    EXPN
  1778. Xsmtp    For more info use "HELP <topic>".
  1779. Xsmtp    To report bugs in the implementation contact eric@Berkeley.ARPA
  1780. Xsmtp    or eric@UCB-ARPA.ARPA.
  1781. Xsmtp    For local information contact postmaster at this site.
  1782. Xhelp    HELP [ <topic> ]
  1783. Xhelp        The HELP command gives help info.
  1784. Xhelo    HELO <hostname>
  1785. Xhelo        Introduce yourself.  I am a boor, so I really don't
  1786. Xhelo        care if you do.
  1787. Xmail    MAIL FROM: <sender>
  1788. Xmail        Specifies the sender.
  1789. Xrcpt    RCPT TO: <recipient>
  1790. Xrcpt        Specifies the recipient.  Can be used any number of times.
  1791. Xdata    DATA
  1792. Xdata        Following text is collected as the message.
  1793. Xdata        End with a single dot.
  1794. Xrset    RSET
  1795. Xrset        Resets the system.
  1796. Xquit    QUIT
  1797. Xquit        Exit sendmail (SMTP).
  1798. Xvrfy    VRFY <recipient>
  1799. Xvrfy        Not implemented to protocol.  Gives some sexy
  1800. Xvrfy        information.
  1801. Xexpn    EXPN <recipient>
  1802. Xexpn        Same as VRFY in this implementation.
  1803. Xnoop    NOOP
  1804. Xnoop        Do nothing.
  1805. Xsend    SEND FROM: <sender>
  1806. Xsend        replaces the MAIL command, and can be used to send
  1807. Xsend        directly to a users terminal.  Not supported in this
  1808. Xsend        implementation.
  1809. Xsoml    SOML FROM: <sender>
  1810. Xsoml        Send or mail.  If the user is logged in, send directly,
  1811. Xsoml        otherwise mail.  Not supported in this implementation.
  1812. Xsaml    SAML FROM: <sender>
  1813. Xsaml        Send and mail.  Send directly to the user's terminal,
  1814. Xsaml        and also mail a letter.  Not supported in this
  1815. Xsaml        implementation.
  1816. Xturn    TURN
  1817. Xturn        Reverses the direction of the connection.  Not currently
  1818. Xturn        implemented.
  1819. END_OF_ida/lib/sendmail.hf
  1820. if test 1858 -ne `wc -c <ida/lib/sendmail.hf`; then
  1821.     echo shar: \"ida/lib/sendmail.hf\" unpacked with wrong size!
  1822. fi
  1823. # end of overwriting check
  1824. fi
  1825. if test -f ida/lib/sendmail.st -a "${1}" != "-c" ; then 
  1826.   echo shar: Will not over-write existing file \"ida/lib/sendmail.st\"
  1827. else
  1828. echo shar: Extracting \"ida/lib/sendmail.st\" \(0 character\)
  1829. sed "s/^X//" >ida/lib/sendmail.st <<'END_OF_ida/lib/sendmail.st'
  1830. END_OF_ida/lib/sendmail.st
  1831. if test 0 -ne `wc -c <ida/lib/sendmail.st`; then
  1832.     echo shar: \"ida/lib/sendmail.st\" unpacked with wrong size!
  1833. fi
  1834. # end of overwriting check
  1835. fi
  1836. if test -f ida/lib/stop_clients -a "${1}" != "-c" ; then 
  1837.   echo shar: Will not over-write existing file \"ida/lib/stop_clients\"
  1838. else
  1839. echo shar: Extracting \"ida/lib/stop_clients\" \(196 characters\)
  1840. sed "s/^X//" >ida/lib/stop_clients <<'END_OF_ida/lib/stop_clients'
  1841. X#!/bin/sh
  1842. X#        stop sendmail on all clients
  1843. X#
  1844. X
  1845. Xfor h in crabbofix lillefix miraculix portofix prefix senilix smidefix tragicomix; do
  1846. X  echo -n "$h "
  1847. X  rsh $h -n "(cd /usr/lib/mail; make stop)"
  1848. Xdone
  1849. END_OF_ida/lib/stop_clients
  1850. if test 196 -ne `wc -c <ida/lib/stop_clients`; then
  1851.     echo shar: \"ida/lib/stop_clients\" unpacked with wrong size!
  1852. fi
  1853. chmod +x ida/lib/stop_clients
  1854. # end of overwriting check
  1855. fi
  1856. if test ! -d ida/lib/uucp ; then
  1857.     echo shar: Creating directory \"ida/lib/uucp\"
  1858.     mkdir ida/lib/uucp
  1859. fi
  1860. if test -f ida/lib/uucp/relays -a "${1}" != "-c" ; then 
  1861.   echo shar: Will not over-write existing file \"ida/lib/uucp/relays\"
  1862. else
  1863. echo shar: Extracting \"ida/lib/uucp/relays\" \(548 characters\)
  1864. sed "s/^X//" >ida/lib/uucp/relays <<'END_OF_ida/lib/uucp/relays'
  1865. Xakgua.UUCP
  1866. Xalberta.UUCP
  1867. Xbellcore.UUCP
  1868. Xburl.UUCP
  1869. Xcbosgd.UUCP
  1870. Xcernvax.UUCP
  1871. Xclyde.UUCP
  1872. Xcmcl2.UUCP
  1873. Xcuae2.UUCP
  1874. Xdecvax.UUCP
  1875. Xdecwrl.UUCP
  1876. Xdiku.UUCP
  1877. Xdrillsys.UUCP
  1878. Xenea.UUCP
  1879. Xenea.se
  1880. Xgatech.UUCP
  1881. Xglacier.UUCP
  1882. Xhao.UUCP
  1883. Xhplabs.UUCP
  1884. Xi2unix.UUCP
  1885. Xihnp4.UUCP
  1886. Xinria.UUCP
  1887. Xkddlab.UUCP
  1888. Xlll-crg.UUCP
  1889. Xlll-lcc.UUCP
  1890. Xmcnc.UUCP
  1891. Xmcvax.UUCP
  1892. Xmcvax.cwi.nl
  1893. Xmunnari.UUCP
  1894. Xoliveb.UUCP
  1895. Xpenet.UUCP
  1896. Xphilabs.UUCP
  1897. Xprlb2.UUCP
  1898. Xqantel.UUCP
  1899. Xsdcrdcf.UUCP
  1900. Xsdcsvax.UUCP
  1901. Xseismo.UUCP
  1902. Xtektronix.UUCP
  1903. Xubc-vision.UUCP
  1904. Xukc.UUCP
  1905. Xulysses.UUCP
  1906. Xunido.UUCP
  1907. Xutzoo.UUCP
  1908. Xuw-beaver.UUCP
  1909. Xvmars.UUCP
  1910. Xwatmath.UUCP
  1911. END_OF_ida/lib/uucp/relays
  1912. if test 548 -ne `wc -c <ida/lib/uucp/relays`; then
  1913.     echo shar: \"ida/lib/uucp/relays\" unpacked with wrong size!
  1914. fi
  1915. # end of overwriting check
  1916. fi
  1917. if test -f ida/lib/uucp/xtable -a "${1}" != "-c" ; then 
  1918.   echo shar: Will not over-write existing file \"ida/lib/uucp/xtable\"
  1919. else
  1920. echo shar: Extracting \"ida/lib/uucp/xtable\" \(672 characters\)
  1921. sed "s/^X//" >ida/lib/uucp/xtable <<'END_OF_ida/lib/uucp/xtable'
  1922. X#
  1923. X#    Translation table between domain addresses and
  1924. X#    flat-spaced UUCP node names.
  1925. X#
  1926. X#    This table is used when formatting addresses for
  1927. X#    delivery overold-fashioned UUCP links.  Batched SMTP
  1928. X#    over UUCP does not use this table, since it is assumed
  1929. X#    that (B)SMTP nodes already know about domain names.
  1930. X#
  1931. X#    It is never necessary to enter a translation from "foo.UUCP"
  1932. X#    to "foo", since that already (automatically) is done by
  1933. X#    ruleset 14.
  1934. X#
  1935. X
  1936. Xalp        alp.se
  1937. Xemil        emil.uu.se
  1938. Xenea        enea.se
  1939. Xerilin        erilin.ericsson.se
  1940. Xerix        erix.ericsson.se
  1941. Xkuling        kuling.uu.se
  1942. Xliuida        ida.liu.se
  1943. Xliutde        tde.liu.se
  1944. Xmcvax        mcvax.cwi.nl
  1945. Xnumax        numax.uu.se
  1946. Xobelix        obelix.liu.se
  1947. Xprosys        prosys.se
  1948. END_OF_ida/lib/uucp/xtable
  1949. if test 672 -ne `wc -c <ida/lib/uucp/xtable`; then
  1950.     echo shar: \"ida/lib/uucp/xtable\" unpacked with wrong size!
  1951. fi
  1952. # end of overwriting check
  1953. fi
  1954. if test ! -d ida/patches ; then
  1955.     echo shar: Creating directory \"ida/patches\"
  1956.     mkdir ida/patches
  1957. fi
  1958. if test -f ida/patches/MDBM.edit -a "${1}" != "-c" ; then 
  1959.   echo shar: Will not over-write existing file \"ida/patches/MDBM.edit\"
  1960. else
  1961. echo shar: Extracting \"ida/patches/MDBM.edit\" \(171 characters\)
  1962. sed "s/^X//" >ida/patches/MDBM.edit <<'END_OF_ida/patches/MDBM.edit'
  1963. X: MDBM.edit SRCDIR DBMLIB
  1964. Xcd $1
  1965. Xchmod u+w Makefile
  1966. Xecho ">>> Editing $1/Makefile to enable MDBM..."
  1967. X/bin/ed Makefile <<EOF
  1968. Xg/^LIBS=/s/-ldbm/$2/
  1969. Xw
  1970. Xq
  1971. XEOF
  1972. Xchmod u-w Makefile
  1973. END_OF_ida/patches/MDBM.edit
  1974. if test 171 -ne `wc -c <ida/patches/MDBM.edit`; then
  1975.     echo shar: \"ida/patches/MDBM.edit\" unpacked with wrong size!
  1976. fi
  1977. # end of overwriting check
  1978. fi
  1979. if test -f ida/patches/Makefile -a "${1}" != "-c" ; then 
  1980.   echo shar: Will not over-write existing file \"ida/patches/Makefile\"
  1981. else
  1982. echo shar: Extracting \"ida/patches/Makefile\" \(1119 characters\)
  1983. sed "s/^X//" >ida/patches/Makefile <<'END_OF_ida/patches/Makefile'
  1984. X#
  1985. X#  MAKEFILE -- Sendmail Patches.
  1986. X#  Copyright (c) 1987 Lennart Lovstrand
  1987. X#  CIS Dept, Univ of Linkoping, Sweden
  1988. X#
  1989. X#  Use it, abuse it, but don't sell it.
  1990. X#
  1991. X
  1992. XSRCDIFFS=    Makefile.diff Version.c.diff alias.c.diff \
  1993. X        arpadate.c.diff conf.c.diff conf.h.diff daemon.c.diff \
  1994. X        deliver.c.diff domain.c.diff headers.c.diff macro.c.diff \
  1995. X        main.c.diff parseaddr.c.diff queue.c.diff readcf.c.diff \
  1996. X        recipient.c.diff savemail.c.diff sendmail.h.diff \
  1997. X        srvrsmtp.c.diff usersmtp.c.diff util.c.diff
  1998. XDOCDIFFS=    op.me.diff
  1999. X
  2000. X
  2001. X#  The following definitions are inserted by ../Makefile
  2002. X#  Change them there--not here!
  2003. XMDBM=
  2004. XDBMLIB=        -ldbm
  2005. XSRCDIR=        ../../src
  2006. XDOCDIR=        ../../doc
  2007. X
  2008. Xpatch:
  2009. X        for f in $(SRCDIFFS); do \
  2010. X            patch $(SRCDIR)/`basename $$f .diff` $$f; \
  2011. X        done
  2012. X        for f in $(DOCDIFFS); do \
  2013. X            patch $(DOCDIR)/`basename $$f .diff` $$f; \
  2014. X        done
  2015. X        -if [ -n "$(MDBM)" ]; then \
  2016. X            cp mdbm_compat.h $(SRCDIR); \
  2017. X            patch -d $(SRCDIR) -b .old < MDBM.diffs; \
  2018. X            sh MDBM.edit $(SRCDIR) $(DBMLIB); \
  2019. X        fi
  2020. X
  2021. Xbackup:
  2022. X        tar cvf Backup.tar $(SRCDIR)/*.[hc] $(DOCDIR)/op.me
  2023. X
  2024. Xrestore:
  2025. X        tar xvf Backup.tar
  2026. X
  2027. Xclean:
  2028. X        -rm -f \#* *~ Backup.tar
  2029. END_OF_ida/patches/Makefile
  2030. if test 1119 -ne `wc -c <ida/patches/Makefile`; then
  2031.     echo shar: \"ida/patches/Makefile\" unpacked with wrong size!
  2032. fi
  2033. # end of overwriting check
  2034. fi
  2035. if test -f ida/patches/Makefile.diff -a "${1}" != "-c" ; then 
  2036.   echo shar: Will not over-write existing file \"ida/patches/Makefile.diff\"
  2037. else
  2038. echo shar: Extracting \"ida/patches/Makefile.diff\" \(1221 characters\)
  2039. sed "s/^X//" >ida/patches/Makefile.diff <<'END_OF_ida/patches/Makefile.diff'
  2040. X*** Makefile.orig    Sat Aug 20 05:10:52 1988
  2041. X--- Makefile    Sun Sep 25 18:16:07 1988
  2042. X***************
  2043. X*** 22,27 ****
  2044. X--- 22,28 ----
  2045. X  
  2046. X  CFLAGS=    -O -I. -I../include -DVMUNIX -DMXDOMAIN
  2047. X  ASMSED=    ../include/asm.sed
  2048. X+ LIBS=    -ldbm -lresolv
  2049. X  
  2050. X  GET=    sccs get
  2051. X  DELTA=    sccs delta
  2052. X***************
  2053. X*** 29,44 ****
  2054. X  PRT=    sccs prt
  2055. X  
  2056. X  .c.o:
  2057. X!     cc -S ${CFLAGS} $*.c
  2058. X!     sed -f ${ASMSED} $*.s | as -o $*.o
  2059. X!     rm -f $*.s
  2060. X  
  2061. X! sendmail: ${OBJS} Version.o
  2062. X!     ${CC} ${COPTS} -o $@ Version.o ${OBJS} -ldbm
  2063. X!     size sendmail; ls -l sendmail; ${WHAT} < Version.o
  2064. X! 
  2065. X! dsendmail: ${OBJS} Version.o
  2066. X!     ${CC} ${COPTS} -o sendmail Version.o ${OBJS} -ldbm -lresolv
  2067. X      size sendmail; ls -l sendmail; ${WHAT} < Version.o
  2068. X  
  2069. X  install:
  2070. X--- 30,46 ----
  2071. X  PRT=    sccs prt
  2072. X  
  2073. X  .c.o:
  2074. X!     cc -c ${CFLAGS} $*.c
  2075. X! #    cc -S ${CFLAGS} $*.c
  2076. X! #    sed -f ${ASMSED} $*.s | as -o $*.o
  2077. X! #    rm -f $*.s
  2078. X  
  2079. X! # The date sendmail was compiled is written to the
  2080. X! # freeze file, to avoid reading in a .fc file created
  2081. X! # by a different version.
  2082. X! sendmail: $(OBJS) Version.o
  2083. X!     echo 'char datecompiled[] = "' `date` '";' >datecompiled.c
  2084. X!     $(CC) $(COPTS) -o sendmail Version.o datecompiled.c $(OBJS) $(LIBS)
  2085. X      size sendmail; ls -l sendmail; ${WHAT} < Version.o
  2086. X  
  2087. X  install:
  2088. END_OF_ida/patches/Makefile.diff
  2089. if test 1221 -ne `wc -c <ida/patches/Makefile.diff`; then
  2090.     echo shar: \"ida/patches/Makefile.diff\" unpacked with wrong size!
  2091. fi
  2092. # end of overwriting check
  2093. fi
  2094. if test -f ida/patches/Version.c.diff -a "${1}" != "-c" ; then 
  2095.   echo shar: Will not over-write existing file \"ida/patches/Version.c.diff\"
  2096. else
  2097. echo shar: Extracting \"ida/patches/Version.c.diff\" \(419 characters\)
  2098. sed "s/^X//" >ida/patches/Version.c.diff <<'END_OF_ida/patches/Version.c.diff'
  2099. X*** Version.c.orig    Mon Mar 14 04:02:40 1988
  2100. X--- Version.c    Mon Aug  1 15:09:46 1988
  2101. X***************
  2102. X*** 18,24 ****
  2103. X  static char sccsid[] = "@(#)version.c    5.59 (Berkeley) 3/13/88";
  2104. X  #endif /* not lint */
  2105. X  
  2106. X! char    Version[] = "5.59";
  2107. X  
  2108. X  # ifdef COMMENT
  2109. X  
  2110. X--- 18,24 ----
  2111. X  static char sccsid[] = "@(#)version.c    5.59 (Berkeley) 3/13/88";
  2112. X  #endif /* not lint */
  2113. X  
  2114. X! char    Version[] = "5.59++";
  2115. X  
  2116. X  # ifdef COMMENT
  2117. X  
  2118. END_OF_ida/patches/Version.c.diff
  2119. if test 419 -ne `wc -c <ida/patches/Version.c.diff`; then
  2120.     echo shar: \"ida/patches/Version.c.diff\" unpacked with wrong size!
  2121. fi
  2122. # end of overwriting check
  2123. fi
  2124. if test -f ida/patches/arpadate.c.diff -a "${1}" != "-c" ; then 
  2125.   echo shar: Will not over-write existing file \"ida/patches/arpadate.c.diff\"
  2126. else
  2127. echo shar: Extracting \"ida/patches/arpadate.c.diff\" \(407 characters\)
  2128. sed "s/^X//" >ida/patches/arpadate.c.diff <<'END_OF_ida/patches/arpadate.c.diff'
  2129. X*** arpadate.c.orig    Sat Apr  2 01:51:03 1988
  2130. X--- arpadate.c    Mon Aug  1 19:33:25 1988
  2131. X***************
  2132. X*** 139,145 ****
  2133. X--- 139,149 ----
  2134. X      else
  2135. X          p = tzname[0];
  2136. X  # else
  2137. X+ #ifndef sun
  2138. X      p = localtime(&t.time)->tm_zone;
  2139. X+ #else
  2140. X+     p = (char *)timezone(t.timezone, localtime(&t.time)->tm_isdst);
  2141. X+ #endif
  2142. X  # endif USG
  2143. X      if ((strncmp(p, "GMT", 3) == 0 || strncmp(p, "gmt", 3) == 0) &&
  2144. X          p[3] != '\0')
  2145. END_OF_ida/patches/arpadate.c.diff
  2146. if test 407 -ne `wc -c <ida/patches/arpadate.c.diff`; then
  2147.     echo shar: \"ida/patches/arpadate.c.diff\" unpacked with wrong size!
  2148. fi
  2149. # end of overwriting check
  2150. fi
  2151. if test -f ida/patches/conf.c.diff -a "${1}" != "-c" ; then 
  2152.   echo shar: Will not over-write existing file \"ida/patches/conf.c.diff\"
  2153. else
  2154. echo shar: Extracting \"ida/patches/conf.c.diff\" \(714 characters\)
  2155. sed "s/^X//" >ida/patches/conf.c.diff <<'END_OF_ida/patches/conf.c.diff'
  2156. X*** conf.c.orig    Sat Apr  2 01:51:04 1988
  2157. X--- conf.c    Fri Aug 26 01:33:56 1988
  2158. X***************
  2159. X*** 81,86 ****
  2160. X--- 81,87 ----
  2161. X      "resent-cc",        H_RCPT|H_RESENT,
  2162. X      "bcc",            H_RCPT|H_ACHECK,
  2163. X      "resent-bcc",        H_RCPT|H_ACHECK|H_RESENT,
  2164. X+     "apparently-to",    H_RCPT,
  2165. X          /* message identification and control */
  2166. X      "message-id",        0,
  2167. X      "resent-message-id",    H_RESENT,
  2168. X***************
  2169. X*** 142,147 ****
  2170. X--- 143,150 ----
  2171. X  
  2172. X  setdefaults()
  2173. X  {
  2174. X+     int c;
  2175. X+ 
  2176. X      QueueLA = 8;
  2177. X      QueueFactor = 10000;
  2178. X      RefuseLA = 12;
  2179. X***************
  2180. X*** 152,157 ****
  2181. X--- 155,165 ----
  2182. X      FileMode = 0644;
  2183. X      DefUid = 1;
  2184. X      DefGid = 1;
  2185. X+ 
  2186. X+ # ifdef NDBM
  2187. X+     for (c = 0; c < 128; c++)
  2188. X+         DbmTab[c].db_dbm = DB_NOTYETOPEN;
  2189. X+ # endif NDBM
  2190. X  }
  2191. X  
  2192. X  /*
  2193. END_OF_ida/patches/conf.c.diff
  2194. if test 714 -ne `wc -c <ida/patches/conf.c.diff`; then
  2195.     echo shar: \"ida/patches/conf.c.diff\" unpacked with wrong size!
  2196. fi
  2197. # end of overwriting check
  2198. fi
  2199. if test -f ida/patches/conf.h.diff -a "${1}" != "-c" ; then 
  2200.   echo shar: Will not over-write existing file \"ida/patches/conf.h.diff\"
  2201. else
  2202. echo shar: Extracting \"ida/patches/conf.h.diff\" \(811 characters\)
  2203. sed "s/^X//" >ida/patches/conf.h.diff <<'END_OF_ida/patches/conf.h.diff'
  2204. X*** conf.h.orig    Sat Apr  2 01:21:19 1988
  2205. X--- conf.h    Fri Aug 26 18:24:13 1988
  2206. X***************
  2207. X*** 48,53 ****
  2208. X--- 48,54 ----
  2209. X  
  2210. X  # define DBM        1    /* use DBM library (requires -ldbm) */
  2211. X  # define NDBM        1    /* new DBM library available (requires DBM) */
  2212. X+ # define YP        1    /* enable Yellow Pages code */
  2213. X  # define DEBUG        1    /* enable debugging */
  2214. X  # define LOG        1    /* enable logging */
  2215. X  # define SMTP        1    /* enable user and server SMTP */
  2216. X***************
  2217. X*** 56,58 ****
  2218. X--- 57,66 ----
  2219. X  # define DAEMON        1    /* include the daemon (requires IPC & SMTP) */
  2220. X  # define SETPROCTITLE    1    /* munge argv to display current status */
  2221. X  /* # define WIZ        1    /* allow wizard mode */
  2222. X+ 
  2223. X+ /*
  2224. X+ **  This was neither defined under SunOS 3.5 nor my test BSD4.3 machine.
  2225. X+ */
  2226. X+ #ifndef EX_CONFIG
  2227. X+ # define EX_CONFIG 78
  2228. X+ #endif EX_CONFIG
  2229. END_OF_ida/patches/conf.h.diff
  2230. if test 811 -ne `wc -c <ida/patches/conf.h.diff`; then
  2231.     echo shar: \"ida/patches/conf.h.diff\" unpacked with wrong size!
  2232. fi
  2233. # end of overwriting check
  2234. fi
  2235. if test -f ida/patches/domain.c.diff -a "${1}" != "-c" ; then 
  2236.   echo shar: Will not over-write existing file \"ida/patches/domain.c.diff\"
  2237. else
  2238. echo shar: Extracting \"ida/patches/domain.c.diff\" \(1082 characters\)
  2239. sed "s/^X//" >ida/patches/domain.c.diff <<'END_OF_ida/patches/domain.c.diff'
  2240. X*** domain.c.orig    Wed May  4 01:13:44 1988
  2241. X--- domain.c    Thu Aug 25 10:26:46 1988
  2242. X***************
  2243. X*** 147,152 ****
  2244. X--- 147,169 ----
  2245. X      return(nmx);
  2246. X  }
  2247. X  
  2248. X+ /*
  2249. X+ **    Getcanonname() below is broken in the sense that it won't return
  2250. X+ **    unqualified local host names with their full domain extension,
  2251. X+ **    unless the argument is an alias.
  2252. X+ **
  2253. X+ **    Since gethostbyname() calls the name server with bind 4.8,
  2254. X+ **    I don't see why this function would be needed at all.  I've
  2255. X+ **    therefore restored the old code in maphostname() of daemon.c
  2256. X+ **    that uses gethostbyname().  If there's something I've missed,
  2257. X+ **    feel free to change maphostname() to again call getcanonname(),
  2258. X+ **    but also make sure that the latter will qualify the host with
  2259. X+ **    its full domain AND return a status code indicating if the host
  2260. X+ **    was found.
  2261. X+ **
  2262. X+ **    Lennart Lovstrand, Rank Xerox EuroPARC, 24-Aug-88
  2263. X+ */
  2264. X+ #ifdef GETHOSTBYNAME_ISNT_ENOUGH
  2265. X  getcanonname(host, hbsize)
  2266. X      char *host;
  2267. X      int hbsize;
  2268. X***************
  2269. X*** 224,226 ****
  2270. X--- 241,244 ----
  2271. X          }
  2272. X      }
  2273. X  }
  2274. X+ #endif GETHOSTBYNAME_ISNT_ENOUGH
  2275. END_OF_ida/patches/domain.c.diff
  2276. if test 1082 -ne `wc -c <ida/patches/domain.c.diff`; then
  2277.     echo shar: \"ida/patches/domain.c.diff\" unpacked with wrong size!
  2278. fi
  2279. # end of overwriting check
  2280. fi
  2281. if test -f ida/patches/headers.c.diff -a "${1}" != "-c" ; then 
  2282.   echo shar: Will not over-write existing file \"ida/patches/headers.c.diff\"
  2283. else
  2284. echo shar: Extracting \"ida/patches/headers.c.diff\" \(503 characters\)
  2285. sed "s/^X//" >ida/patches/headers.c.diff <<'END_OF_ida/patches/headers.c.diff'
  2286. X*** headers.c.orig    Mon Mar 14 05:31:51 1988
  2287. X--- headers.c    Mon Aug  1 15:07:23 1988
  2288. X***************
  2289. X*** 782,788 ****
  2290. X          *p = '\0';
  2291. X  
  2292. X          /* translate the name to be relative */
  2293. X!         name = remotename(name, m, bitset(H_FROM, h->h_flags), FALSE);
  2294. X          if (*name == '\0')
  2295. X          {
  2296. X              *p = savechar;
  2297. X--- 782,789 ----
  2298. X          *p = '\0';
  2299. X  
  2300. X          /* translate the name to be relative */
  2301. X!         name = remotename(name, m, bitset(H_FROM, h->h_flags), FALSE,
  2302. X!                   TRUE);
  2303. X          if (*name == '\0')
  2304. X          {
  2305. X              *p = savechar;
  2306. END_OF_ida/patches/headers.c.diff
  2307. if test 503 -ne `wc -c <ida/patches/headers.c.diff`; then
  2308.     echo shar: \"ida/patches/headers.c.diff\" unpacked with wrong size!
  2309. fi
  2310. # end of overwriting check
  2311. fi
  2312. if test -f ida/patches/mdbm_compat.h -a "${1}" != "-c" ; then 
  2313.   echo shar: Will not over-write existing file \"ida/patches/mdbm_compat.h\"
  2314. else
  2315. echo shar: Extracting \"ida/patches/mdbm_compat.h\" \(899 characters\)
  2316. sed "s/^X//" >ida/patches/mdbm_compat.h <<'END_OF_ida/patches/mdbm_compat.h'
  2317. X/**
  2318. X **    MDBM Compatibility File
  2319. X **
  2320. X **    These definitions will make sendmail use Maryland's mdbm
  2321. X **    library package instead of the new multifile database
  2322. X **    routines of 4.3.
  2323. X **
  2324. X **    Note: Don't use this if you already have ndbm.
  2325. X **/
  2326. X
  2327. X#include <mdbm.h>
  2328. X
  2329. Xtypedef struct mdbm DBMFILE;
  2330. X
  2331. X#ifndef NDBM
  2332. X# define NDBM
  2333. X#endif NDBM
  2334. X#ifndef MDBM
  2335. X# define MDBM
  2336. X#endif MDBM
  2337. X
  2338. X/*
  2339. X *  Mdbm equivalents for ndbm functions
  2340. X */
  2341. X
  2342. X#define DB_DIREXT    ".map"
  2343. X#define DB_PAGEXT    ".dat"
  2344. X
  2345. X#define DBM_REPLACE    MDBM_REPLACE
  2346. X#define DBM_INSERT    MDBM_INSERT
  2347. X
  2348. X#define dbm_dirfno(db)    ((db)->mdbm_mapfd)
  2349. X#define dbm_pagfno(db)    ((db)->mdbm_datafd)
  2350. X
  2351. X#define dbm_open(file, flags, mode) \
  2352. X            mdbm_open(file, flags, mode, NULL, NULL, NULL)
  2353. X#define dbm_close    mdbm_close
  2354. X#define dbm_fetch    mdbm_fetch
  2355. X#define dbm_store    mdbm_store
  2356. X#define dbm_firstkey    mdbm_firstkey
  2357. X#define dbm_nextkey    mdbm_nextkey /* don't forget to fill in 2nd param! */
  2358. END_OF_ida/patches/mdbm_compat.h
  2359. if test 899 -ne `wc -c <ida/patches/mdbm_compat.h`; then
  2360.     echo shar: \"ida/patches/mdbm_compat.h\" unpacked with wrong size!
  2361. fi
  2362. # end of overwriting check
  2363. fi
  2364. if test -f ida/patches/queue.c.diff -a "${1}" != "-c" ; then 
  2365.   echo shar: Will not over-write existing file \"ida/patches/queue.c.diff\"
  2366. else
  2367. echo shar: Extracting \"ida/patches/queue.c.diff\" \(855 characters\)
  2368. sed "s/^X//" >ida/patches/queue.c.diff <<'END_OF_ida/patches/queue.c.diff'
  2369. X*** queue.c.orig    Mon Mar 14 03:54:04 1988
  2370. X--- queue.c    Sat Aug 20 01:15:36 1988
  2371. X***************
  2372. X*** 181,187 ****
  2373. X      */
  2374. X  
  2375. X      bzero((char *) &nullmailer, sizeof nullmailer);
  2376. X!     nullmailer.m_r_rwset = nullmailer.m_s_rwset = -1;
  2377. X      nullmailer.m_eol = "\n";
  2378. X  
  2379. X      define('g', "\001f", e);
  2380. X--- 181,188 ----
  2381. X      */
  2382. X  
  2383. X      bzero((char *) &nullmailer, sizeof nullmailer);
  2384. X!     nullmailer.m_re_rwset = nullmailer.m_se_rwset = -1;
  2385. X!     nullmailer.m_rh_rwset = nullmailer.m_sh_rwset = -1;
  2386. X      nullmailer.m_eol = "\n";
  2387. X  
  2388. X      define('g', "\001f", e);
  2389. X***************
  2390. X*** 336,342 ****
  2391. X      **  Make sure the alias database is open.
  2392. X      */
  2393. X  
  2394. X!     initaliases(AliasFile, FALSE);
  2395. X  
  2396. X      /*
  2397. X      **  Start making passes through the queue.
  2398. X--- 337,343 ----
  2399. X      **  Make sure the alias database is open.
  2400. X      */
  2401. X  
  2402. X!     initaliases(FALSE);
  2403. X  
  2404. X      /*
  2405. X      **  Start making passes through the queue.
  2406. END_OF_ida/patches/queue.c.diff
  2407. if test 855 -ne `wc -c <ida/patches/queue.c.diff`; then
  2408.     echo shar: \"ida/patches/queue.c.diff\" unpacked with wrong size!
  2409. fi
  2410. # end of overwriting check
  2411. fi
  2412. echo shar: End of archive 1 \(of 8\).
  2413. cp /dev/null ark1isdone
  2414. MISSING=""
  2415. for I in 1 2 3 4 5 6 7 8 ; do
  2416.     if test ! -f ark${I}isdone ; then
  2417.     MISSING="${MISSING} ${I}"
  2418.     fi
  2419. done
  2420. if test "${MISSING}" = "" ; then
  2421.     echo You have unpacked all 8 archives.
  2422.     echo "See ida/README and ida/INSTALL for further directions."
  2423.     rm -f ark[1-9]isdone
  2424. else
  2425.     echo You still need to unpack the following archives:
  2426.     echo "        " ${MISSING}
  2427. fi
  2428. ##  End of shell archive.
  2429. exit 0
  2430.  
  2431.