询问者
exchange2013配置允许 Outlook Web App 中的最终用户查看 POP3、IMAP4 和 SMTP 服务器设置的时候服务器报错。

问题
-
我想让最终用户可以查看pop配置,按照微软的步奏
使用命令行管理程序以允许 POP3 和 IMAP4 用户在 Outlook Web App 中查看其传入 POP3 和 IMAP4 设置
Set-PopSettings -ExternalConnectionSettings {Dublin01.Contoso.com:995:SSL}
但是我在设置外部传入连接的时候Set-PopSettings -Settings 报错
[PS] C:\Windows\system32>set-PopSettings -ExternalConnectionSettings {mail.xxxx.com:995:SSL}
安装了 ExternalConnectionSettings 服务器角色时,邮箱角色: 邮箱服务 属性是只读的。
+ CategoryInfo : InvalidArgument: (:) [Set-PopSettings],ExInvalidArgumentForServerRoleException
+ FullyQualifiedErrorId : [Server=EXCHANGE-MBX01,RequestId=f068a3f6-7775-468b-a13a-43d4572ef7f4,TimeStamp=2016/1/2
7 4:45:43] [FailureCategory=Cmdlet-ExInvalidArgumentForServerRoleException] A26D6A8D,Microsoft.Exchange.Management
.Tasks.SetPop3Configuration
+ PSComputerName : exchange-cas01.xxxx.com后台服务已经全开,set-PopSettings | fl如图
[PS] C:\Windows\system32>get-popsettings |fl
RunspaceId : 61f94c45-0e81-4f30-9025-8585a6493c76
Name : 1
ProtocolName : POP3
MaxCommandSize : 512
MessageRetrievalSortOrder : Ascending
UnencryptedOrTLSBindings : {[::]:110, 0.0.0.0:110}
SSLBindings : {[::]:995, 0.0.0.0:995}
InternalConnectionSettings : {Exchange-MBX01.xxxx.com:995:SSL, Exchange-MBX01.xxxx.com:110:TLS}
ExternalConnectionSettings : {}
X509CertificateName : exchange-mbx01
Banner : The Microsoft Exchange POP3 service is ready.
LoginType : SecureLogin
AuthenticatedConnectionTimeout : 00:30:00
PreAuthenticatedConnectionTimeout : 00:01:00
MaxConnections : 2147483647
MaxConnectionFromSingleIP : 2147483647
全部回复
-
你好,
尝试使用下面的指令:
set-PopSettings -server "CASServerName" -ExternalConnectionSettings {mail.xxxx.com:995:SSL}
谢谢!
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Niko Cheng
TechNet Community Support- 已标记为答案 issuer of setting set-PopSettings -ExternalConnect 2016年1月28日 6:47
- 取消答案标记 issuer of setting set-PopSettings -ExternalConnect 2016年1月28日 8:44
-
太神奇了!你解决了困扰我好几天的问题!我差点重装cas(我一台mailbox,一台cas)
太感谢了!
我之前试着在后面加-server casname,但是不知道为什么没成功!
但是今天你回复了我,我又试了试居然成功了!不知道是什么原因,我之前一直以为是证书的问题
因为我get-popsettings的时候显示证书是自签名证书,但是我cas里面已经申请了AD证书,并且分配给了pop服务。
之前我参考了这个帖子中的设置https://social.technet.microsoft.com/Forums/en-US/8ff1ad77-8d2c-4275-99b7-0f0667434a2d/wildcard-ssl-pop3-imap-and-outlook?forum=exchangesvrdeploy
我觉得微软technet上关于这个的描述还是不怎么准确,也可能我理解能力不行。。。。。
总之,非常感谢!
-
我运行命令以后,没有报错,重启两台服务器(cas和mbx),get-popsettings | fl,ExternalConnectionSettings : {}
显示未生效。
另外
使用命令行管理程序以允许 POP3 和 IMAP4 用户在 Outlook Web App 中查看其传出 SMTP 设置
Get-ReceiveConnector "*Client Frontend*" | Set-ReceiveConnector -Fqdn Server.Contoso.com -AdvertiseClientSettings $true
这行代码具体格式是什么,为什么我的不生效。接收连接器默认的FQDN是内网mailbox主机名,要改成外网域名吗?(内外网不一致)
-
运行set-PopSettings -server "CASServerName" -ExternalConnectionSettings {mail.xxxx.com:995:SSL}命令以后,没有报错,重启两台服务器(cas和mbx),get-popsettings | fl, 看ExternalConnectionSettings : {}显示未生效,但是最终用户已经可以看到pop及imap的设置,实际上已经是生效了。
我在设置用户在 Outlook Web App 中查看其传出 SMTP 设置的时候输入的格式是这样的
Get-ReceiveConnector "*Client Frontend EXCHANGE-CAS01*" | Set-ReceiveConnector -Fqdn mail.xxxx.com -AdvertiseClientSettings $true 其提示FQDN无法修改,去掉 -Fqdn mail.xxxx.com 后提示修改生效,用户也可以查看smtp设置
但是有个问题,我的内网域名和外网域名不一致。导致最终用户smtp设置中显示的域名是内网域名。
接收连接器是系统默认的接收连接器,FQDN是无法修改的。请问这个如何解决。