Problem
MMDF quick reference template - local or SMTP mail configuration.
Solution
Attached is a sample MMDF configuration for a local ethernet, using the SMTP channel. This sample is meant to provide you with a working example for a configuration of moderate complexity. In most cases mkdev mmdf will provide you with an adequate configuration. Note that the order of the entries in your mmdftailor file may differ from those shown in this example.
NOTE: This scenario assumes that TCP/IP is up and running and you
are not using domain name service.Domain name: webewidgits.com Users On Users On Users On
earth mars jupiter
=-=-=-=-=- -=-=-=-=-=-= -=-=-=-=-=-
hsolo barbie cbrown
lukes ken lvanpelt
lorgana skipper snoopy
bkenobi midge ppatty --------------- ----------------- -------------------
| Machine | | Machine | | Machine |
| Name | | Name | | Name |
| | | | | |
| earth | | mars | | jupiter |
| | | | | |
| | | | | |
--------------- ---------------- ------------------
| | |
<:--------------------------------------------------------------------------:>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
;
; mmdftailor (Wed, 17 Aug 94 17:44:15)
;
; First, define the local domain and system name. The default
; domain is UUCP. If an organization only has one machine, you
; may simply name it "machine.UUCP", for instance. Otherwise, if there
; are a number of machines, the machine name is below the
; organization name, such as "machine.COMpany.UUCP". Of course, if there
; is a registered domain name, use that instead of the default
; (pseudo) domain UUCP. UUname is used only for the uucp channel,
; and is the short uucp name that is used.MLDOMAIN com
MLNAME webewidgets
MLOCMACHINE earth; MSUPPORT is the address to which problem notifications concerning
; the delivery of mail are sent. It _must_ be a valid address.MSUPPORT postmaster;
; Alias configuration
;
MTBL name=alias, file="alias.ali", show="Administrative aliases"
MTBL name=lalias, file="alias.list", show="Mailing list aliases"
MTBL name=auser, file="alias.user", show="General user aliases"
MTBL name=smtpchn, file="smtp.chn", show="SMTP Channel file"
MTBL name=smtpdom, file="smtp.dom", show="SMTP Domain file"ALIAS table=alias, nobypass, trusted
ALIAS table=lalias, nobypass
ALIAS table=auser;
; Local mail configuration information
;
MTBL name=local, file="local.chn", show="Local Host Aliases"
MTBL name=locdom, file="local.dom", show="Local Domain"MCHN local, show="Local Delivery", ap=822, mod=imm
MDMN "webewidgets.com", show="Local domain", table=locdom;
; Special list processing configuration information
;
MTBL list, file="list.chn", show="List Channel"
MCHN list, show="List Processing", ap=same, mod=imm,
host="earth.webewidgets.com";
; SMTP Configuration information
;
MCHN smtp, show="Earth's SMTP Delivery", que=smtp, tbl=smtpchn, ap=822,
pgm=smtp, mod=imm; ; The local domain table ; MTBL domain, file=domain.dom, show="Local Ethernet", flags=partial MDMN "webewidgets.com", show="Local Ethernet", table=domain
; We need, among other things, the delay channel
MCHN delay, show="Name server Delay Channel", ap=same, tbl=smtpchn
MDMN "webewidgets.com", show="Local Ethernet", table=smtpdom; ; The badhosts channel ; MCHN badhosts, show="Last-Chance Routing", pgm=smtp, tbl=smtpchn, ap=822, mod=imm, host="earth.webewidgets.COM", confstr=earth.webewidgets.com
; ; The baduser channel ; MCHN badusers, show="Last-Chance Routing", pgm=smtp, tbl=smtpchn, ap=822, mod=imm, host="earth.webewidgets.COM", confstr=earth.webewidgets.com ; ; The root domain table ; MTBL rootdom, file="root.dom", show="Root Domain", flags=route MDMN "", show="Root Domain", table=rootdom
;
; Logging levels
;
MMSGLOG level=FAT
MCHANLOG level=FAT;
; Style of mailbox locking to use. Options are "xenix" for Xenix
; /tmp/*.mlk lock files, "v7" for the old *.lck lock files, "advisory"
; for OS advisory file locking, or "all" for all locking styles.
; Multiple lock styles may be specified.
;
MLCKTYPE advisory
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#;
#; earth.com domain table
#;
#; Written on Wed Oct 11 12:31:12 EDT 1995 by MMDF client program
#; local.dom file
#;
earth: earth.webewidgets.COM
webewidgets: earth.webewidgets.COM
webewidgets.COM: earth.webewidgets.COM
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#;
#; local.chn
#;
earth: earth
earth.webewidgets.com: earth
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#; smtp.dom file
earth: earth.webewidgets.COM
mars: mars.webewidgets.COM
jupiter: jupiter.webewidgets.COM
cisco: cisco.webewidgets.COM
nt: nt.webewidgets.COM
www: www.webewidgets.COM
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# smtp.chn file
earth.webewidgets.COM: 111.222.333.1
mars.webewidgets.COM: 111.222.333.2
jupiter.webewidgets.COM: 111.222.333.3
cisco.webewidgets.COM: 111.222.333.4
nt.webewidgets.COM: 111.222.333.5
www.webewidgets.COM: 111.222.333.6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#; Alias.user file
hsolo: hsolo@earth.webewidgets.com
lukes: lukes@earth.webewidgets.com
lorgana: lorgana@earth.webewidgets.com
bkenobi: bkenobi@earth.webewidgets.com
barbie: barbie@mars.webewidgets.com
ken: ken@mars.webewidgets.com
skipper: skipper@mars.webewidgets.com
midge: midge@mars.webewidgets.com
cbrown: cbrown@jupiter.webewidgets.com
lvanpelt: lvanpelt@jupiter.webewidgets.com
snoopy: snoopy@jupiter.webewidgets.com
ppatty: ppatty@jupiter.webewidgets.com
info: barbie@mars.webewidgets.com
sales: hsolo@earth.webewidgets.com
postmaster: root@earth.webewidgets.com
webmaster: root@earth.webewidgets.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=