Configuring and Managing MPE/iX Internet Services (August 2002)
Chapter 10
Sendmail for MPE/iX
The Aliases Database Map and .forward Files
202
For more information about the genericstable feature, please see /SENDMAIL/CURRENT/cf/README.
Mailertable Feature
The mailertable database map is used to override the default mail routing behavior in
/etc/mail/sendmail.cf. You might find this useful if you needed to route e-mail for certain domains
through specific e-mail relays. For example:
1. :HELLO SERVER.SENDMAIL
2. :XEQ SH.HPBIN.SYS -L
3. shell/iX> /bin/cat - >/etc/mail/mailertable
.bitnet smtp:relay.bit.net
:EOD
4. shell/iX> makemap hash /etc/mail/mailertable </etc/mail/mailertable
All mail addressed to hostnames ending in “.bitnet” would be relayed via the host relay.bit.net.
For more information about the mailertable feature, please see /SENDMAIL/CURRENT/cf/README.
Virtusertable Feature
The virtusertable database map is used to remap incoming e-mail addresses in order to facilitate multiple
virtual e-mail domains on the same machine. This is very similar to how aliasing works, except that you can
also specify domain names in addition to user names. For example:
1. :HELLO SERVER.SENDMAIL
2. :XEQ SH.HPBIN.SYS -L
3. shell/iX> /bin/cat - >/etc/mail/virtusertable
info@bar.com INFO.BAR
info@foo.com INFO.FOO
:EOD
4. shell/iX> makemap hash /etc/mail/virtusertable </etc/mail/virtusertable
All e-mail addressed to info@bar.com will be delivered to user INFO.BAR, and all e-mail addressed to
info@foo.com will be delivered to user INFO.FOO. Note that all domains used in the map keys must also be
present in /etc/mail/local-host-names and that your DNS server(s) have been configured with MX entries that
route e-mail for those domains to your local machine.
For more information about the virtusertable feature, please see /SENDMAIL/CURRENT/cf/README.