[comp.mail.sendmail] "config" file for single JANET host with X.25 ?

pb@cl.cam.ac.uk (Piete Brooks (Postmaster)) (05/26/89)

[ This is a plea for help, not a challanging problem so feel free to skip it ]

I vaguely remember using the sendmail package some time ago (just for
the fun of it) and thought that it asked me all sorts of questions to
config itself  ...
I am now trying to set up a new host which has X.25 (but no ethernet,
so no multi-host needed) so grabbed the lastest version (2.1) from ukc.
It has a tiny README which points vaguely to Docs/* (which looks quite
big, and none of them is called "installation guide").
I was delighted to see Examples/ but on closer inspection, it only had
a complex configuration.
Also, when I tried using one exatly ASIS (or tinkering slightly) it
complained that it was trying to "mkdir" the argument I gave it (which
it appears previously to have checked as being a file!).

SO: could some kind soul who has a single host on JANET please send me
(I am not on the list) an example configuration, and the command I should type. Ta.

[ e.g. I tried:

Fergie:~/sendmail $ ./Config Examples/config.gateway

creating tables/gateway.mk ...
Making directory Examples/config.gateway ... mkdir:
Examples/config.gateway: File exists
mkdir failed, aborted
Fergie:~/sendmail $

]

taylor@cs.glasgow.ac.uk (Mr Jem Taylor) (06/01/89)

In article <8905261101.aa20492@scaup.Cl.Cam.AC.UK> pb@cl.cam.ac.uk (Piete Brooks (Postmaster)) writes:
>Fergie:~/sendmail $ ./Config Examples/config.gateway
>
>creating tables/gateway.mk ...
>Making directory Examples/config.gateway ... mkdir:
>Examples/config.gateway: File exists
>mkdir failed, aborted

Config is designed to use config.site files in the current directory.
It creates subdirectories and tries to cd into them.

The Documentation set includes 'Overview', 'User Guide', and 'Tutorial
based on the Examples'; since there is no installation process to speak
of (this is not user software) a separate installation guide is not needed.

-Jem.

-- 
Arpa:taylor@cs.glasgow.ac.uk	  \ J.A.Taylor, Computing Science,
Janet: taylor@uk.ac.glasgow.cs	   \ University of Glasgow,
Uucp: mcvax!cs.glasgow.ac.uk!taylor \ GB-GLASGOW G12 8QQ

pb@cl.cam.ac.uk (Piete Brooks (Postmaster)) (06/11/89)

I am still struggling to get UK sendmail (UK-2.1) to run ...

I have been sent a simple config (thanks Dave) which I have slightly modified.
One bit which confuses me is that JANETNAME appaers to appear and
disappear for little good reason. E.g. below are two configs and the
resultant .mc's, along with the diffs of them.  Any one any idea why
joining two lines (which are, I think, only comments anyway) has this effect ?

::::::::::::::
xy/fergie.mc
::::::::::::::
define(`CONFIG',`fergie')dnl
define(`DOMAIN',`fergie.cam.ac.uk')dnl
define(`NRSFORMAT')dnl
define(`POSTMASTER',`Postmaster')dnl
define(`LOCALSHOWUUCP')dnl
define(`LOCALSHOWNRS')dnl
define(`LOCALNAME',`$J')dnl
define(`JANETNAME',`$J')dnl
include(base.m4)
include(rules.m4)
include(fergie-dom.m4)
include(fergie-chn.m4)
include(mailers.m4)
::::::::::::::
xz/fergie.mc
::::::::::::::
define(`CONFIG',`fergie')dnl
define(`DOMAIN',`fergie.cam.ac.uk')dnl
define(`NRSFORMAT')dnl
define(`POSTMASTER',`Postmaster')dnl
define(`LOCALSHOWUUCP')dnl
define(`LOCALSHOWNRS')dnl
define(`LOCALNAME',`$J')dnl
include(base.m4)
include(rules.m4)
include(fergie-dom.m4)
include(fergie-chn.m4)
include(mailers.m4)
::::::::::::::
config.xy
::::::::::::::
config=fergie
domain="fergie.cam.ac.uk"
options=nrsformat
postmaster=Postmaster
#install=-f

# domain tables
domain std file="local.dom"
domain std file="cam.dom"     # generated by c-nrs
domain std file="ac.dom"      # generated by c-nrs
domain std file="uk.dom"
domain top file="top.dom"

# channels
channel local file="local.chn",
                        showuucp,shownrs
channel janet file="janet.chn"
# channel uucp file="uucp.chn",
#                        sysname="sonny",muucp

channel top file="top.dom"              # top.chn is identical to top.dom
::::::::::::::
config.xz
::::::::::::::
config=fergie
domain="fergie.cam.ac.uk"
options=nrsformat
postmaster=Postmaster
#install=-f

# domain tables
domain std file="local.dom"
domain std file="cam.dom"     # generated by c-nrs
domain std file="ac.dom"      # generated by c-nrs
domain std file="uk.dom"
domain top file="top.dom"

# channels
channel local file="local.chn",
                        showuucp,shownrs
channel janet file="janet.chn"
# channel uucp file="uucp.chn", sysname="sonny",muucp

channel top file="top.dom"              # top.chn is identical to top.dom
::::::::::::::

8d7
< define(`JANETNAME',`$J')dnl

18,19c18
< # channel uucp file="uucp.chn",
< #                        sysname="sonny",muucp
---
| # channel uucp file="uucp.chn", sysname="sonny",muucp