如何在Azure中设置smtp服务器 [英] How to setup an smtp server in Azure

查看:77
本文介绍了如何在Azure中设置smtp服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在Azure中设置Windows VM充当smtp服务器吗?我在某处读到它违反了Azure策略,在某处有官方文档说明了这一点?

Can a Windows VM be setup in Azure to act as an smtp server? I read somewhere that it goes against Azure policy, is there official documentation somewhere that says this?

推荐答案

此文档提到了它:

从2017年11月15日开始,发送的外发电子邮件直接从到外部域(例如outlook.com和gmail.com)虚拟机(VM)仅对某些订阅可用Microsoft Azure中的类型.使用TCP端口的出站SMTP连接25人被封锁.(端口25主要用于未经身份验证的电子邮件交付.)

Starting on November 15, 2017, outbound email messages that are sent directly to external domains (such as outlook.com and gmail.com) from a virtual machine (VM) are made available only to certain subscription types in Microsoft Azure. Outbound SMTP connections that use TCP port 25 were blocked. (Port 25 is primarily used for unauthenticated email delivery.)

Microsoft建议您使用经过身份验证的SMTP中继服务(通常通过TCP端口587或443连接,但支持其他端口,也可以从Azure VM或Azure App Services发送电子邮件.这些服务用于维护IP或域信誉,以最大程度地减少第三方电子邮件提供商拒绝邮件的可能性.此类SMTP中继服务包括但不限于SendGrid.它是也有可能您正在运行安全的SMTP中继服务您可以使用的本地.

Microsoft recommend you use authenticated SMTP relay services (that typically connect through TCP port 587 or 443 but support other ports, too) to send email from Azure VMs or from Azure App Services. These services are used to maintain IP or domain reputation to minimize the possibility that third-party email providers will reject the message. Such SMTP relay services include but aren't limited to SendGrid. It's also possible you have a secure SMTP relay service that's running on-premises that you can use.

希望有帮助.

这篇关于如何在Azure中设置smtp服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆