Sending e-mail through a router or firewall or hub
An e-mail router is an intermediate system that Simple Message Transfer Protocol (SMTP) delivers mail to when it cannot locate the recipient's exact IP address.
A mailhub is a known submission server that allows this server to send e-mail. Typically if you have an Internet Service Provider (ISP) they will provide you a hub. If a mailhub is set all non-local email will be sent there, no e-mail will be delivered directly. A mailhub is typically an MX (mail exchanger) DNS (Domain Name Server) record, however it can be just a hostname.
Setting the mailhub:
To set the mailhub, follow these steps:
- From IBM® Navigator for i, expand and click TCP/IP Servers.
- Right-click SMTP and select Properties.
- Click the General tab.
- Enter the Forwarding mailhub domain
Setting the mailrouter and firewall:
The e-mail router routes the e-mail to the IP address or to another router. Route your outgoing e-mail to an alternative system if your local server fails to deliver the e-mail to the system. If you have a firewall, you can use the firewall as your router. Only directory type *SDD supports a mailrouter and the firewall feature. The preferred method is to have a mailhub.
Before you follow these steps to configure a router, see the Prerequisites for an e-mail router.
To set the router, follow these steps:
- From IBM Navigator for i, expand and click TCP/IP Servers
- Right-click SMTP and select Properties.
- Click the General tab.
- Enter the name of the firewall; for example,
FWAS400.company.com
in the Mail Router field. - Select Forward outgoing mail to router through firewall.
To route e-mail through a firewall, follow these steps:
- From IBM Navigator for i, expand and click TCP/IP Servers.
- Right-click SMTP and select Properties.
- Click the General tab.
- Enter the name of the firewall; for example,
FWAS400.company.com
in the Mail Router field. - Select Forward outgoing mail to router through firewall.