Normally, Qmail delivers email for nonlocal domains by looking up the appropriate mail server in the DNS and connecting to it. You can use this module to configure the MTA for connecting to a different server for certain domains instead, or to send all outgoing mail via a single server. This can be useful if your system is a gateway for several internal mail servers that cannot be reached directly from the rest of the Internet, or if you want all outgoing email to be sent via your ISP or company's server.
To specify an alternate mail server for a domain, follow these steps:
Once a routing has been added, it will appear below the creation form on the Domain Routing page. You can edit or delete it by clicking on the domain name, changing the details, and hitting the Save or Delete button, respectively. Once again, any changes will be immediately made active.
To tell Qmail to send all outgoing email via a specified mail server, do the following:
1. | Click on the Domain Routing icon on the main page. |
2. | Scroll down to the Deliver all other outgoing mail via field and select the second radio button. Then enter the hostname or address of the server into the text box next to it. |
3. | Click Save to activate the new setting. |
To have Qmail look up and deliver normally to destination servers again, select Deliver directly in Step 2 instead.
18.225.57.164