How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

Today, I am going to show you how to use SendGrid as SMTP relay at Sophos UTM firewall and help you send email out successful, the Sophos UTM firewall and exchange servers are VMs of Nested Hyper-V host at Azure, if you don’t know how to build a Nested Hyper-V host in Azure, you can reference our Building Real Word lab in Azure Volume 1 book from https://leanpub.com/buildingrealworldlabsinazurevolume1) , this is step by step to tell you how to build your own lab in Azure.

If you are existing Azure customer, you can unlock 25,000 free emails each month. If you don’t know how to create a free SendGrid account, please check my previously blog.

  1. Login to exchange server VM.
  2. Open Exchange admin center.

    011420 0051 HowtouseSen1 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  3. On the Exchange admin center page, select mail flow.

    011420 0051 HowtouseSen2 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  4. On the mail flow page, select connectors and then click +.

    011420 0051 HowtouseSen3 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  5. On the new send connector page, type send connector name and select Internet Type, click Next.

    011420 0051 HowtouseSen4 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  6. On the Network settings page, select Route mail through smart hosts and click +.

    011420 0051 HowtouseSen5 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  7. On the Add smart host page, enter utm.gdmcgy.gooddealmart.ca (this is UTM Internal interface IP address) and click Save.

    011420 0051 HowtouseSen6 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  8. On the new send connector page, click Next.

    011420 0051 HowtouseSen7 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  9. On the Smart host authentication page, select None. Click Next.

    011420 0051 HowtouseSen8 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  10. On the Address space page, click +.

    011420 0051 HowtouseSen9 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  11. On the add domain page, enter * as Full Qualified Domain Name (FQDN), click Save.

    011420 0051 HowtouseSen10 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  12. On the new send connector page, select Scoped send connector, click Next.

    011420 0051 HowtouseSen11 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  13. On the Source server page, click +.

    011420 0051 HowtouseSen12 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  14. Select the exchange server and click add and then click OK.

    011420 0051 HowtouseSen13 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  15. On the new send connector page, click Finish.

    011420 0051 HowtouseSen14 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  16. Login to UTM WebAdmin.

    011420 0051 HowtouseSen15 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  17. On the WebAdim page, select Email Protection.

    011420 0051 HowtouseSen16 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  18. On the Email Protection page, Select SMTP.

    011420 0051 HowtouseSen17 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  19. On the Smtp page, select Global and enable SMTP Proxy.

    011420 0051 HowtouseSen18 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  20. On the SMTP page, select Routing, add internal and external domains name to Domains and add exchange servers to the Host List, Click Apply.

    011420 0051 HowtouseSen19 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  21. On the SMTP page, select Relaying, add Exchange Servers to the Allowed Hosts/Networks, click Apply.

    011420 0051 HowtouseSen20 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  22. On the Content Scan for Relayed (outgoing) message, select Scan relayed (outgoing) messages, click Apply.

    011420 0051 HowtouseSen21 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  23. On the SMTP page, select Advanced.

    011420 0051 HowtouseSen22 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

  24. On the Smathost settings, select Use a smarthost and then add smtp.sendgrid.net as smart host, enter 2525 as Smarthost Port.
  25. Select This smarthost requires authentication, and enter SendGrid account user name and password, click Apply.

    011420 0051 HowtouseSen23 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

You will notice send email out without issues now.

Ps. Don’t forget to add your external IP address to whitelisted at SendGrid IP Access Management.

    011420 0051 HowtouseSen24 - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

Hope you enjoy this post.

Cary Sun

Twitter: @SifuSun

ca16fbd3199de5f66b829b87082fb970?s=80&d=retro&r=g - How to use SendGrid as SMTP Relay at Sophos UTM firewall #Azure #SendGrid #Email #Exchange #SMTP Relay #Sophos

Author: Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA
Blog:
http://www.carysun.com http://www.checkyourlogs.net
Twitter:@SifuSun

About Cary Sun

Cary Sun is an Principal Consultant, He has a strong background specializing in datacenter and deployment solutions, and has spent over 20 years in the planning, design, and implementation of network technologies and Management and system integration.He hold CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1997.Cary is also a Microsoft Most Valuable Professional (MVP) and Cisco Champion, He is a published author with serveral titles, include blogs on Checkyourlogs.net, author for many books. Specialties: CCIE /CCNA / MCSE / MCITP / MCTS / MCSA / Solution Expert / CCA Blog: http://www.carysun.com http://www.checkyourlogs.net Twitter:@SifuSun

Leave a Reply