DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T t

⟦2916e5c0d⟧ TextFile

    Length: 13002 (0x32ca)
    Types: TextFile
    Names: »tailor«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/examples/ucl/tailor« 

TextFile

############################################################
#
# Tailor file for PP on bells
#
############################################################
#
# @(#)$Header$
#
# $Log$
#
############################################################


#  **-- Logging of this tailor file when it is being read --**
#

authlog level=notice, size=10000000,
operlog level=all, size=3000,
normlog level=notice, size=3000,


#  **-- Special strings --**
#
loc_dom_mta             bells.cs.ucl.ac.uk
loc_dom_site            cs.ucl.ac.uk
loc_or                  "/ou=cs/o=ucl/prmd=uk.ac/admd=gold 400/c=gb/"
postmaster              "UCL-CS MTA <postmaster@cs.ucl.ac.uk>"
mboxname                .mail
delim1                  "\001\001\012"
delim2                  "\001\001\012"
qmgrhost                bells
pptsapd_addr            Internet=bells+20001

#  **-- Authorisation setup --**
authchannel             block, sizelimit=10000000
authloglevel            low


#  **-- The body types that this PP mta handles --**
#
bodypart                hdr.p2 
bodypart                hdr.822 hdr.822-us hdr.822-uk hdr.822-bboards
bodypart                hdr.822-jntmail hdr.822-987 hdr.822-uucp
bodypart                p2 ia5 dmd odif 


#  **-- Tables --**
#
#  All of these tables MUST have the names given here

tbl     aliases         show="Aliases: mapping -> local id",
                        flags=dbm
tbl     users           show="Users: mapping local id -> disposition",
                        flags=dbm
tbl     domain          show="Mapping domain key -> full domain/MTA",
                        flags=dbm
tbl     or              show="Mapping O/R Address -> MTA",
                        flags=dbm
tbl     channel         show="Binding MTA -> Channels",
                        flags=dbm
tbl     or2rfc          show="RFC 987: X.400 -> RFC 822",
                        flags=dbm
tbl     rfc2or          show="RFC 987: RFC 822 -> X.400",
                        flags=dbm
tbl     auth.channel    show="Channel Authorisation",
                        flags=dbm
tbl     auth.mta        show="MTA Authorisation",
                        flags=dbm
tbl     auth.user       show="User Authorisation",
                        flags=dbm
tbl     auth.qmgr       show="QMGR Authorisation",
                        flags=dbm
tbl     rfc1148gate     show="Gateways that perform RFC 1148 conversions",
			flags=linear


#  **-- Tables for individual channels (not submit) --**
#

tbl     822-local       file="ch.822.local", flags=dbm,
                        show="822 local id -> user id + home directory"

tbl      list           file="ch.list", flags=dbm,
                        show="distribution lists"

tbl      shell          file="ch.shell", flags=dbm,
                        show="shell info"

tbl     x400in		file="ch.x400in", flags=dbm,
                        show="MTA -> X.400(84) connect info"

tbl     x400out		file="ch.x400out", flags=dbm,
                        show="X.400(84) connect info -> MTA"

tbl     uucp		file="ch.uucp", flags=dbm,
                        show="MTA -> UUCP connect info"


#  **-- Channels --**
#
#  Note that SMTP channels use BIND or /etc/hosts
#  And that the greybook channels use the NRS


chan    odif-local      prog=slocal,
                        show="Structured Local Delivery channel",type=both,
                        sort="user time",adr=822,adr-order=ukpref,
                        bptin="hdr.822,odif,ia5",
                        bptout="hdr.822-uk,odif,ia5",
                        table=822-local,access=mts,
                        chanout=dr2rfc

# **-- Channels miscellaneous --**
chan    dr2rfc          prog=dr2rfc,
                        show="via Delivery Reports Channel",
                        bptin="ia5,hdr.822",
			adr=822,
                        type=out

chan     list           prog=list,
                        show="via List Channel",type=both
                        table=list,chanout=dr2rfc

chan     shell          prog=shell,
                        show="via Shell Channel",
                        type=out,table=shell,
                        bptout="ia5,hdr.822-uk",chanout=dr2rfc,

chan     bboards        prog=shell,
                        show="via Bboards Channel",
                        type=out,table=shell,
                        bptout="ia5,hdr.822-bboards",chanout=dr2rfc,

chan     newsin         prog=shell,
                        show="via News inbound Channel",
                        type=out,table=shell,
                        bptout="ia5,hdr.822-uk",chanout=dr2rfc,

chan     newsout        prog=shell,
                        show="via News outbound Channel",
                        type=out,table=shell,
                        bptout="ia5,hdr.822-uk",chanout=dr2rfc,



#  **-- Channels that receive only --**
chan    smtp-inbound    show="with SMTP inbound",
			type=in,
                        bptin="ia5,hdr.822",
			adr=822,adr-order=ukpref,
                        chanout=dr2rfc,info="sloppy"

chan    x400in		prog=x400in84,
                        show="via X400(84) inbound",type=in,
                        content-in=p2,
                        bptin="ia5,hdr.p2",
                        adr=x400,adr-order=uspref,
                        table=x400in,
                        chanout=x400out


#  **-- Channels that send or receive --**
chan    822-local       prog=local,
                        show="via Local Delivery channel",type=both,
                        sort="user time",adr=822,adr-order=ukpref,
                        bptin="ia5,hdr.822,odif",
                        bptout="ia5,hdr.822-uk",
                        content-out=822,table=822-local,access=mts,
                        chanout=dr2rfc

chan    x400out		prog=x400out84,
			show="via X400(84) outbound",type=out,
                        adr=x400,
                        content-out=p2,
                        bptout="ia5,hdr.p2,odif",
			sort=mta,
                        table=x400out

chan    smtp-internet   prog=smtp,show="with SMTP",type=out,
                        adr=822,
                        bptout="ia5,hdr.822-us",content-out=822,
			sort=mta,
                        chanout=dr2rfc

chan    smtp-local      prog=smtp,show="with SMTP local",type=out,
                        adr=822,
                        bptout="ia5,hdr.822-uk",content-out=822,
			sort=mta,
                        chanout=dr2rfc

chan    uucp-out        prog=uucp-out,show="via UUCP outbound",type=out,
                        adr=822,
                        bptout="ia5,hdr.822-uucp",content-out=822,
			sort=mta,table=uucp
                        chanout=dr2rfc,info="host=ucl-cs,uux=/usr/bin/uux - -r"

chan    uucp-in         show="via UUCP inbound",type=in,
                        bptin="ia5,hdr.822",
                        adr=822,adr-order=uspref,
                        chanout=dr2rfc

chan    gb-janet        prog="greyout -P",show="via JANET with NIFTP",
                        type=both,adr=822,adr-order=ukpref, 
                        bptout="ia5,hdr.822-jntmail",
                        content-out=822,
			sort=mta,
                        chanout=dr2rfc,info=janet

chan    gb-pss          prog="greyout -P",show="via PSS with NIFTP",
                        type=both,adr=822,adr-order=ukpref, 
                        bptout="ia5,hdr.822-jntmail",
                        content-out=822,
			sort=mta,
                        chanout=dr2rfc,info=pss

chan    gb-ipss         prog="greyout -P",show="via IPSS with NIFTP",
                        type=both,adr=822,adr-order=ukpref, 
                        bptout="ia5,hdr.822-jntmail",
                        content-out=822,
			sort=mta,
                        chanout=dr2rfc,info=pss


# **-- Channels used by the QMGR (load/manage/clean) --**
chan    timeout         prog=timeout,show="Timeout message after a time"
                        type=timeout

chan    qmgr-load       prog=qmgr-load,show="Loading the QMGR",
                        type=qmgrload

chan    msg-clean       prog=msg-clean,show="Removing finished message"
                        type=delete

chan    trash           prog=trash,show="Removing trash"
                        type=debris



#  **-- Channels that reshape a message in some way --**

#  **-- Flatteners --**
chan    p2flatten       prog=p2flatten,show="Structured message -> P2",
                        type=shaper,content-out=p2,conv=none

chan    822flatten      prog=rfc934,type=shaper,content-out=822,conv=none


#  **-- Unflatteners --**
chan    p2explode       prog=p2explode,type=shaper,content-in=p2,conv=none


#  **-- Header filters --**
chan    822touk         prog=fcontrol,type=shaper,
                        bptin="hdr.822",
                        bptout=hdr.822-uk,
                        info="rfc822norm -jnt",conv=none

chan    822tobboards    prog=fcontrol,type=shaper,
                        bptin="hdr.822",
                        bptout=hdr.822-bboards,conv=none,
                        info="rfc822norm -jnt -striptrace"

chan    822to987        prog=fcontrol,type=shaper,
                        bptin="hdr.822",
                        bptout=hdr.822-987,conv=none,
                        info="rfc822norm -733 -stripdomain cs.ucl.ac.uk"

chan    822tojnt        prog=fcontrol,type=shaper,
                        bptin="hdr.822",
                        bptout=hdr.822-jntmail,conv=none,
                        info="rfc822norm -jnt -jntsender $(822sender)"

chan    822tous         prog=fcontrol,type=shaper,
                        bptin=hdr.822,
                        bptout=hdr.822-us,conv=none,
                        info="rfc822norm -822"

chan    822touucp       prog=fcontrol,type=shaper,
                        bptin=hdr.822,
                        bptout=hdr.822-uucp,conv=none,
                        info="rfc822norm -733"

chan    822top2         prog=RFCtoP2,
                        show="987 using channel RFC 822 -> P2"
                        type=shaper,
			conv=1148,
                        bptin=hdr.822-987,bptout=hdr.p2

chan    p2to822         prog=P2toRFC,
                        show="RFC987 using channel P2 -> RFC 822",
                        type=shaper,
			conv=1148,
                        bptout=hdr.822,bptin=hdr.p2


#  **-- Body Part filters --**
chan    odif2txt        prog=fcontrol,show="Odif -> Text message",
                        type=shaper,bptin=odif,conv=loss,
                        bptout=ia5,info=f-odif2txt



#  **-- Logging for the rest of the prog --**
#
authlog level=notice, size=10000000
operlog level=all, size=3000
normlog level=notice, size=3000

#
#  **-- Logging broken down --**
#
RFCtoP2		normlog  file=rfc987            level=notice
P2toRFC		normlog  file=rfc987            level=notice

p2flatten       normlog  file=filter		level=notice
rfc934		normlog  file=filter		level=notice
822touk         normlog  file=filter            level=notice
822tous         normlog  file=filter            level=notice
dr2rfc          normlog  file=filter            level=notice
fcontrol        normlog  file=filter            level=notice
list		normlog  file=lists		level=notice
odif2txt        normlog  file=filter            level=notice
p2explode       normlog  file=filter            level=notice
rfc822norm      normlog  file=filter            level=notice
trash           normlog  file=filter            level=notice
msg-clean       normlog  file=filter		level=notice

local           normlog  file=local             level=notice
slocal          normlog  file=local             level=notice

qmgr            normlog  file=qmgr              level=notice,sflags=zero,size=400
pptsapd 	normlog  file=qmgr              level=notice,sflags=zero,size=400
qmgr-load       normlog  file=qmgr              level=notice,sflags=zero,size=400

smtp            normlog  file=smtp              level=notice
greyout         normlog  file=greyout           level=notice
gb-janet        normlog  file=greyin            level=notice
gb-pss          normlog  file=greyin            level=notice
gb-ipss         normlog  file=greyin            level=notice
uucp-out        normlog  file=uucp              level=notice
uucp-in         normlog  file=uucp              level=notice
rmail           normlog  file=uucp              level=notice
shell 		normlog  file=shell		level=notice

#submit         normlog  file=submit.log	level=all
submit          normlog  file=submit	        level=notice
smtpsrvr        normlog  file=smtpsrvr          level=notice
x400in		normlog  file=x400in		level=notice
x400out84	normlog  file=x400out           level=notice

#isodelog acsaplevel file=acsap level=pdus
#isodelog compatlevel file=compat level=pdus
#isodelog tsaplevel file=transport level=pdus
#isodelog ssaplevel file=session level=pdus
#isodelog rtsaplevel file=rts level=pdus

#x400out isode tsb_communities janet Internet=hubris.cs.ucl.ac.uk+30867 intl-x25 Internet=hubris.cs.ucl.ac.uk+30867
isode ns_enable off