目錄

問題：

問題：

如何配置ESA以將傳入電子郵件路由到我的公司電子郵件伺服器？

為了讓ESA將電子郵件傳送到企業電子郵件伺服器，您必須配置ESA以使用該主機作為傳送目的地。這可通過使用 smtproutes  命令列介面(CLI)中的命令。

其 smtproutes  命令可將特定域的所有電子郵件重定向到不同的郵件交換(MX)主機。

mail3.example.com> smtproutes

There are no routes configured.

Choose the operation you want to perform:

- NEW - Create a new route.

- IMPORT - Import new routes from a file.

[]> new

Enter the hostname for which you want to set up a permanent route.

Partial hostnames such as ".example.com" are allowed.

Use "ALL" for the default route.

[]> example.com

Enter the destination hosts, separated by commas, which you want mail for

domain.com to be delivered.

Enter /dev/null by itself if you wish to discard the mail.

[]> 10.1.1.10

Mapping for example.com to 10.1.1.10 created.

There are currently 1 routes configured.

Choose the operation you want to perform:

- NEW - Create a new route.

- DELETE - Remove a route.

- PRINT - Display all routes.

- IMPORT - Import new routes from a file.

- EXPORT - Export all routes to a file.

- CLEAR - Remove all routes.

在本例中，我們將example.com的郵件配置為傳送到電子郵件伺服器主機10.1.1.10。

您需要提交更改才能啟用新配置的smtproutes。

提示：您也可以在GUI上的「網路」(Network)>「SMTP路由」(SMTP Routes)下配置SMTP路由