服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

Exchange连接器不会发送到外部域

我是一个开发人员,试图让我的.Net应用程序通过我们的Exchange服务器发送电子邮件。 我不是Exchange专家,所以我会在前面资格! 我们在Exchange中设置了一个接收连接器,它具有以下属性: networking:允许通过端口25的所有IP地址。 身份validation:检查传输层安全性和外部安全checkbox。 权限组:匿名用户和Exchange服务器checkbox被选中。 但是,当我在Exchange服务器上运行这个Powershell语句时,它发送到本地域地址,但是当我尝试发送到远程域时失败。 作品: C:\Windows\system32>Send-Mailmessage -To [email protected] -From [email protected] -Subject testing -Body testing -SmtpServer OURSERVER (顺便说一下:我的OURSERVER = boxname.domainname.local的值,这是我启动它时在我们的Exchange命令行pipe理程序中显示的完全限定的名称)。 失败: C:\Windows\system32>Send-Mailmessage -To [email protected] -From [email protected] -Subject testing -Body testing -SmtpServer OURSERVER Send-MailMessage:邮箱不可用。 服务器响应是:5.7.1无法中继在行:1个字符:17 +发送邮件消息<<<< – 到[email protected] – 从[email protected] – 主题testing – 身份himom -SmtpServer FTI- EX + CategoryInfo:InvalidOperation:(System.Net.Mail.SmtpClient:SmtpClient)[Send-MailMessage],SmtpFailed RecipientException + FullyQualifiedErrorId:SmtpException,Microsoft.PowerShell.Commands.SendMailMessage 编辑:从@TheCleaner的build议,我运行了添加ADPermission到接力,并没有帮助; [PS] […]