STMP Relay, Office 365, & Shoretel

Hi! Everyone,

I wanted to share with you my journey to setup an smtp relay server (copiers, fax, voice mail notifications, etc. ) and what I finally found that made it work:

If you are using a Shoretel system make sure that you have notificaitons on, a valid email, and the SMTP relay server set (Sites -> HQ -> SMTP Relay)

CaptureDeliverMessageasEmail

 

You will also want to follow step three to install IIS on a server:

http://support.microsoft.com/kb/2600912

You can follow through that entire article if you need to send to domains that you don’t have authoritative control over.

Once IIS is setup right click on the default SMTP virtual server and make sure that authentication is set to anonymous and relay has the devices you want to to be able to send mail.

CaptureRelay

Make sure you adjust the limit size for larger attachments, a fax might exceed this limit of 10MB.

CaptureMailSize

Set Outbound Security as pictured below, Outbound Connections to TCP Port:25, and the smart host to be where your mx records are pointed to. This is usually yourdomain.mail.protection.outlook.com. You will also find alot of references to podXXXX.outlook.com or smtp.office365.com. These might also be valid choices for you.

CaptureOutboundSecurity

Add a remote domain with your domain name and finish.

CaptureRemoteDomain

Under the properties of the domain now listed choose ‘Allow incoming mail to be relayed to this domain’ and ‘forward all mail to smart host’. This value will be the same as the smart host you listed above.

You can see mail go into the queue here and then disappear. If it stays there you have a problem:

c:\inetpub\mailroot\queue

Easy tool to test whether relay is working:

http://telnet25.codeplex.com/downloads/get/130210

Additional Resources:

http://support.microsoft.com/kb/2600912

http://support.microsoft.com/kb/2799338

http://www.expta.com/2013/10/how-to-configure-internal-smtp-relay.html

http://www.o365info.com/2013/01/smtp-relay-in-office-365-environment.html#SUB-3

Leave a Reply

Your email address will not be published. Required fields are marked *