PMDF System Manager's Guide


Previous Contents Index

3.3.2.1 An Example: simplifying MRGATE and ALL-IN-1 return addresses

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-host
where 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-host
such 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-host
and 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-node
Here 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 EXAMPLEVAX, the official local host name example.com, and the node EXAMPLEVAX1 runs MRGATE, then the following should be set up.

After these are set up, mail may be addressed to user@mrgate.example.com to reach the AM mailbox user via MRGATE on the node EXAMPLEVAX1.


Previous Next Contents Index