One use of the REVERSE mapping is to simplify long return addresses produced by MRGATE and ALL-IN-1. (Note that this and more serious difficulties with MRGATE, ALL-IN-1, and other MAILbus agents may be overcome with PMDF-MR.)
Suppose that MRGATE is generating return addresses which PMDF translates to RFC 822 addresses of the form
"node::MRGATE::\"AM::user\""@local-hostwhere
node
is the DECnet node or cluster alias
name, user
is the name of an AM mailbox, and
local-host
is the official local host name for
the PMDF node. With the REVERSE mapping table,
REVERSE "node::MRGATE::\"AM::*\""@local-host $Y$0@mrgate.local-hostsuch addresses may be translated to the simpler address
user@mrgate.local-host
To support such addresses --
user@mrgate.local-host
-- you need to
modify your PMDF configuration file. To that file, add the two rewrite
rules
mrgate mrgate::"am::$u"@mrgate.local-host mrgate.local-host mrgate::"am::$u"@mrgate.local-hostand then add, to the end of the file, a d channel
d 733 nox_env_to defragment linelength 255 ... DECNET-MAIL mrgate.local-host mrgate-nodeHere
mrgate-node
is the DECnet node name of a
node running MRGATE. Be sure to add a blank line before the line
beginning "d 733
". If you already have a d
channel defined, then merely add the last line shown above,
"mrgate.local-host
...", to the end of
the d channel definition.
Mail addressed to user@mrgate.local-host
will go via MRGATE to the AM mailbox user
. If you
are on a TCP/IP network, then you should add an MX record to your
domain name server database. The MX record should point to the TCP/IP
domain name for the system running PMDF. This will allow other systems
on the network to send mail to the address
user@mrgate.local-host
.
For example, if the cluster alias is ACMEVAX, the official local host name acme.com, and the node ACMEVAX1 runs MRGATE, then the following should be set up.
REVERSE "ACMEVAX::MRGATE::\"AM::*\""@acme.com $Y$0@mrgate.acme.com
mrgate mrgate::"am::$u"@mrgate.acme.com mrgate.acme.com mrgate::"am::$u"@mrgate.acme.com
d 733 nox_env_to defragment linelength 255 ... DECNET-MAIL mrgate.acme.com ACMEVAX1
user@mrgate.acme.com
to reach the AM mailbox
user
via MRGATE on the node ACMEVAX1.