Set up your receive connector:
Use the EMC to create the Receive connector
- Perform one of the following steps:
- To create a Receive connector on a computer that has the Edge Transport server role installed, select Edge Transport, and then in the work pane, click the Receive Connectors tab.
- To create a Receive connector on a Hub Transport server role, in the console tree, expand Server Configuration and select Hub Transport. In the result pane, select the server on which you want to create the connector, and then click the Receive Connectors tab.
- In the action pane, click New Receive Connector. The New Receive Connector wizard starts.
- On the Introduction page, follow these steps:
- In the Name field, type a meaningful name for this connector. This name is used to identify the connector.
- In the Select the intended use for this Receive connector field, select Custom.
- Click Next.
- On the Local Network settings page, follow these steps:
- Select the existing All Available IPv4 entry, and then click .
- Click Add. In the Add Receive Connector Binding dialog box, select Specify an IP address. Type an IP address assigned to a network adapter on the local server that's best able to communicate with the remote messaging server. In the Port field, type 25, and then click OK. Leave the Specify the FQDN this connector will provide in response to HELO or EHLO field blank.
- Click Next.
- On the Remote Network settings page, follow these steps:
- Select the existing 0.0.0.0 - 255.255.255.255 entry, and then click .
- Click Add or the drop-down arrow located next to Add and type the IP address or IP address range for the remote messaging server or servers that are allowed to relay mail on this server. When you're finished entering the IP addresses, click OK.
- Click Next.
- On the New Connector page, review the configuration summary for the connector. If you want to modify the settings, click Back. To create the Receive connector by using the settings in the configuration summary, click New.
- On the Completion page, click Finish.
- In the work pane, select the Receive connector that you created.
- Under the name of the Receive connector in the action pane, click Properties to open the Properties page.
- Click the Permission Groups tab. Select Anonymous users.
- Click OK to save your changes and exit the Properties page.
Use the Shell to create the Receive connector
This example uses the New-ReceiveConnector cmdlet to create the Receive connector Anonymous Relay that listens on local IP address 10.2.3.4 on port 25 from a source server at IP address 192.168.5.77.
For detailed syntax and configuration information, see New-ReceiveConnector.
This example retrieves the specified Receive connector information and pipes the result to the Add-ADPermission cmdlet to grant relay permission to anonymous connections on the new Receive connector.
For detailed syntax and configuration information, see Get-ReceiveConnector or Add-ADPermission.
New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings 10.2.3.4:25 -RemoteIpRanges 192.168.5.77
Use the Shell to grant relay permission to anonymous connections on the new Receive connector
Note: |
---|
You can't use the EMC to perform this task. |
Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
Use the EMC to create the Receive connector as externally secured
- Perform one of the following steps:
- To create a Receive connector on a computer that has the Edge Transport server role installed, select Edge Transport, and then in the work pane, click the Receive Connectors tab.
- To create a Receive connector on a Hub Transport server role, in the console tree, expand Server Configuration and select Hub Transport. In the result pane, select the server on which you want to create the connector, and then click the Receive Connectors tab.
- In the action pane, click New Receive Connector. The New Receive Connector wizard starts.
- On the Introduction page, follow these steps:
- In the Name field, type a meaningful name for this connector. This name is used to identify the connector.
- In the Select the intended use for this Receive connector field, select Custom.
- Click Next.
- On the Local Network settings page, follow these steps:
- Select the existing All Available entry, and then click .
- Click Add. In the Add Receive Connector Binding dialog box, select Specify an IP address. Type an IP address assigned to a network adapter on the local server that's best able to communicate with the remote messaging server. In the Port field, type 25, and then click OK. Leave the Specify the FQDN this connector will provide in response to HELO or EHLO field blank.
- Click Next.
- On the Remote Network settings page, follow these steps:
- Select the existing 0.0.0.0 - 255.255.255.255 entry, and then click .
- Click Add or the drop-down arrow located next to Add and type the IP address or IP address range for the remote messaging server or servers that are allowed to relay mail on this server. When you're finished entering the IP addresses, click OK.
- Click Next.
- On the New Connector page, review the configuration summary for the connector. If you want to modify the settings, click Back. To create the Receive connector by using the settings in the configuration summary, click New.
- On the Completion page, click Finish.
- In the work pane, select the Receive connector that you created.
- Under the name of the Receive connector in the action pane, click Properties to open the Properties page.
- Click the Permission Groups tab. Select Exchange servers.
- Click the Authentication tab. Select Externally Secured (for example, with IPsec).
- Click OK to save your changes and exit the Properties page.
Use the Shell to create the Receive connector as externally secured
This example creates the Receive connector Anonymous Relay that listens on local IP address 10.2.3.4 on port 25 from a source server at IP address 192.168.5.77.
For detailed syntax and configuration information, see New-ReceiveConnector.
Source
New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -AuthMechanism ExternalAuthoritative -PermissionGroups ExchangeServers -Bindings 10.2.3.4:25 -RemoteIpRanges 192.168.5.77
Source
No comments:
Post a Comment