设为首页 收藏本站
查看: 915|回复: 0

[经验分享] How to Configure a Relay Connector for Exchange Server 2010

[复制链接]

尚未签到

发表于 2018-7-8 06:36:21 | 显示全部楼层 |阅读模式
  From: http://exchangeserverpro.com/how-to-configure-a-relay-connector-for-exchange-server-2010/
  In most Exchange Server 2010 environments there will be the need to allow relaying for certain hosts, devices or applications to send email via the Exchange server.  This is common with multi-function devices such as network attached printer/scanners, or applications such as backup software that send email reports.
  SMTP communication is handled by the Hub Transport server in an Exchange organization.  The transport service listens for SMTP connections on it’s default Receive Connector. However, this connector is secured by default to not allow anonymous connections (ie, the type of connection most non-Exchange systems will be making).
  You can see this in effect if you telnet to the server on port 25 and try to initiate unauthenticated SMTP communications.
220 EX3.exchangeserverpro.local Microsoft ESMTP MAIL Service ready at Wed, 18 Au  
g 2010 19:42:27 +1000
  
helo
  
250 EX3.exchangeserverpro.local Hello [192.168.0.9]
  
mail from: somebody@hotmail.com
  
530 5.7.1 Client was not authenticated
  For some Hub Transport servers that are internet-facing, anonymous connections may already be enabled.  In those cases relay would still be denied but will behave differently than the first example.
220 EX3.exchangeserverpro.local Microsoft ESMTP MAIL Service ready at Wed, 18 Au  
g 2010 20:01:44 +1000
  
helo
  
250 EX3.exchangeserverpro.local Hello [192.168.0.9]
  
mail from: somebody@hotmail.com
  
250 2.1.0 Sender OK
  
rcpt to: somebody@gmail.com

  
550 5.7.1 Unable to>  You’ll note that relay is denied if I try to send from an @hotmail.com address to an @gmail.com address, because neither is a valid domain for the Exchange organization. But with Anonymous Users enabled on the Receive Connector I can send from an @hotmail.com address to a valid local address.
220 EX3.exchangeserverpro.local Microsoft ESMTP MAIL Service ready at Wed, 18 Au  
g 2010 20:05:54 +1000
  
helo
  
250 EX3.exchangeserverpro.local Hello [192.168.0.9]
  
mail from: somebody@hotmail.com
  
250 2.1.0 Sender OK
  
rcpt to: alan.reid@exchangeserverpro.local
  
250 2.1.5 Recipient OK
  
data
  
354 Start mail input; end with .
  
test
  
.
  
250 2.6.0  [In
  
ternalId=2] Queued mail for delivery
  However if I try to relay out to an external recipient, the Exchange server does not allow it.
220 EX3.exchangeserverpro.local Microsoft ESMTP MAIL Service ready at Wed, 18 Au  
g 2010 20:11:27 +1000
  
helo
  
250 EX3.exchangeserverpro.local Hello [192.168.0.9]
  
mail from: backups@exchangeserverpro.net
  
250 2.1.0 Sender OK
  
rcpt to: alerts@managedserviceprovider.com

  
550 5.7.1 Unable to>  To permit a non-Exchange server to relay mail we can create a new Receive Connector on the Hub Transport server. Launch the Exchange Management Console and navigate to Server Management, and then Hub Transport. Select the Hub Transport server you wish to create the new Receive Connector on, and from the Actions pane of the console choose New Receive Connector.
DSC0000.png

  Give the new connector a name such as “Relay ” and click Next to continue.
DSC0001.png

  You can leave the local network settings as is, or optionally you can use a dedicated IP address for this connector if one has already been allocated to the server. Using dedicated IP addresses for each connector is sometimes required if you need to create connectors with different authentication settings, but for a general relay connector it is not necessary to change it.
DSC0002.png

  Highlight the default IP range in the remote network settings and click the red X to delete it.
DSC0003.png

  Now click the Add button and enter the IP address of the server you want to allow to relay through the Exchange server. Click OK to add it and then Next to continue.
DSC0004.png

  Click the New button to complete the wizard.
  The Receive Connector has now been created but is not yet ready to allow the server to relay through it.  Go back to the Exchange Management Console, right-click the newly created Receive Connector and choose properties.
  Select the Permission Groups tab and tick the Exchange Servers box.
DSC0005.png

  Select the Authentication Tab and tick the Externally Secured box.
DSC0006.png

  Apply the changes and the Receive Connector is now ready for the server to relay through.
220 EX3.exchangeserverpro.local Microsoft ESMTP MAIL Service ready at Wed, 18 Au  
g 2010 20:31:00 +1000
  
helo
  
250 EX3.exchangeserverpro.local Hello [192.168.0.9]
  
mail from: backups@exchangeserverpro.net
  
250 2.1.0 Sender OK
  
rcpt to: alerts@managedserviceprovider.com
  
250 2.1.5 Recipient OK
  
data
  
354 Start mail input; end with .
  
test
  
.
  
250 2.6.0 <924bab1e-0f07-4054-8700-d121577993b4@EX3.exchangeserverpro.local> [In
  
ternalId=3] Queued mail for delivery
  Because the remote IP range has been secured to that single IP address, any other servers on different IP addresses still won’t be able to relay through the Exchange Server. From any other IP address not included in the remote IP range on the Receive Connector relay will be denied.
220 EX3.exchangeserverpro.local Microsoft ESMTP MAIL Service ready at Wed, 18 Au  
g 2010 20:46:06 +1000
  
helo
  
250 EX3.exchangeserverpro.local Hello [192.168.0.2]
  
mail from: backups@exchangeserverpro.net
  
250 2.1.0 Sender OK
  
rcpt to: alerts@managedserviceprovider.com

  
550 5.7.1 Unable to>  You can later add more IP addresses, IP ranges, subnets, or even add multiple IP addresses to the Receive Connector using a script if necessary.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-535013-1-1.html 上篇帖子: Exchange Server 2010角色部署 下篇帖子: exchange 2010 初始化失败一例
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表