WSUS forwards mail relay to Office365

Source: Internet
Author: User
Tags email account

Bean Company recently intends to transfer the intra-Network Exchange services to Office365 up. The front beans have been configured for Nagios direct forwarding

http://beanxyz.blog.51cto.com/5570417/1630221


For some other devices and services, such as printers or WSUS, these devices and services do not support encrypted message transfer, so you must use an internal SMTP relay. Simply put, the relay server does not require account verification, only restricts the IP address, receives internal mail, and then forwards it to the Office365 SMTP server using Office365 's account.


The specific configuration is as follows:

Install IIS and SMTP service components on one windows2012 server (installation process slightly)


After the installation is complete, open IIS 6 and select the properties of the SMTP server

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E9/wKiom1U53cfjmnCCAAE1GYOiy7o614.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 3.58.38 pm.png "alt=" Wkiom1u53cfjmnccaae1gyoiy7o614.jpg "/>


Select general-advanced

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/E9/wKiom1U53cmAdI3qAAHZff73Btk928.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 3.58.47 pm.png "alt=" Wkiom1u53cmadi3qaahzff73btk928.jpg "/>


Enter the IP address of the machine with the port specified as 587

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E6/wKioL1U53yvirNHNAADWBPu8QJQ937.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 3.58.54 pm.png "alt=" Wkiol1u53yvirnhnaadwbpu8qjq937.jpg "/>


Access-authenticaton

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E9/wKiom1U53c-Q8nIxAAI8oM4nf_4925.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 3.59.01 pm.png "alt=" Wkiom1u53c-q8nixaai8om4nf_4925.jpg "/>


Tick "Anonymous access"

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E6/wKioL1U53zHS5RMBAAGEz4HntlQ021.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 3.59.08 pm.png "alt=" Wkiol1u53zhs5rmbaagez4hntlq021.jpg "/>


Tick Relay Restricions-relay

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E9/wKiom1U53dXDfnGzAAJHDa1IIik398.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 3.59.15 pm.png "alt=" Wkiom1u53dxdfngzaajhda1iiik398.jpg "/>


Enter IP that is allowed to be forwarded (for example, printer, WSUS server, etc.)


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E9/wKiom1U53ZHykwTyAAFjZMyfzrU086.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.04.02 pm.png "alt=" Wkiom1u53zhykwtyaafjzmyfzru086.jpg "/>


After OK, select Delivery-outbound Security

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/E5/wKioL1U53vSDONm7AAIYUbNftGc962.jpg "title=" screen Shot 2015-04-24 at 4.04.39 pm.png "style=" Float:none; "alt=" wkiol1u53vsdonm7aaiyubnftgc962.jpg "/>


Enter a Office365 email account and check TLS encryption


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E5/wKioL1U53vHjKkAuAAHM4aTy9mg847.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.04.09 pm.png "alt=" Wkiol1u53vhjkkauaahm4aty9mg847.jpg "/>


Attention!!!! This email account is Office365 's email account ID, not the domain account of the AD!!!!!

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E9/wKiom1U53ZPxP3HuAAMom5d7x-Q133.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.04.29 pm.png "alt=" Wkiom1u53zpxp3huaamom5d7x-q133.jpg "/>


Next click Outbound Connections to change the TCP port to 587


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E5/wKioL1U53vagO0ttAAMVeaaxyKY426.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.04.49 pm.png "alt=" Wkiol1u53vago0ttaamveaaxyky426.jpg "/>


Last Click Advanced


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E9/wKiom1U53ZiCf27DAAIWQnHgtWc410.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.04.58 pm.png "alt=" Wkiom1u53zicf27daaiwqnhgtwc410.jpg "/>


Smart Host Input smtp.office365.com

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E5/wKioL1U53vjQYfMTAAFSaqQjTK4142.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.05.07 pm.png "alt=" Wkiol1u53vjqyfmtaafsaqqjtk4142.jpg "/>



Then you can come and test it down. Log in to WSUS and select email Notification

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/E9/wKiom1U53Zmj4TgfAAIH-Fp6Kbo240.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.05.16 pm.png "alt=" Wkiom1u53zmj4tgfaaih-fp6kbo240.jpg "/>


Enter the address of the delivery person

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/E5/wKioL1U53vqDoaFyAAGuho_BXqA298.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.05.23 pm.png "alt=" Wkiol1u53vqdoafyaaguho_bxqa298.jpg "/>


The server points to the relay server that you just configured, testing

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/E9/wKiom1U53ZvxVz_RAAGZt_iIKsw861.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.05.32 pm.png "alt=" Wkiom1u53zvxvz_raagzt_iiksw861.jpg "/>



Switch back to the SMTP relay server, observe the C:\inetpub\mailroot\queue directory, and you can see the forwarded messages.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E6/wKioL1U53vuz5kmCAACbbQmuJy8424.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.05.40 pm.png "alt=" Wkiol1u53vuz5kmcaacbbqmujy8424.jpg "/>


A few seconds later disappears, indicating a successful send out.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/E9/wKiom1U53ZyCsMUwAACD2hY7TRI483.jpg "style=" float: none; "title=" screen Shot 2015-04-24 at 4.05.48 pm.png "alt=" Wkiom1u53zycsmuwaacd2hy7tri483.jpg "/>




WSUS forwards mail relay to Office365

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.