删除 Exchange 适配器服务以后,将无法看到邮件来源中列出的 Exchange 服务,如图 12 所示。
图 12. 邮件配置页

与删除提供程序服务类似,可以通过在 ProviderFactory.properties 文件中添加服务配置文件来添加服务。在 ProviderFactoryNLS.properties 文件中添加服务的显示名称。将服务配置文件与提供程序服务一起打包。例如,Domino 服务配置文件如下所示:
DominoMailProviderConfig.properties:
#
# Licensed Materials - Property of IBM.
# 5724-E47
# (C) Copyright IBM Corp. 2002,2003,2004. All Rights Reserved
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
Mail_Delegate = com.ibm.workplace.mailbox.provider.domino.DominoMailbox
Delegate
Calendar_Delegate = com.ibm.workplace.calsched.provider.domino.Domino
CalSchedDelegate
mailProviderHostName = true
mailProviderHostPort = true
mailProviderHostSecure = true
mailProviderHostSecurePort = true
mailProxyServerName = true
mailProxyServerPort = true
mailUserId = true
mailPassword = true
mailFilePath = true
mailFileId = true
authenticationModel = true
basic = true
sso = true
ltpaToken = true
auto_provision = false
mailSource=true
validate_email_address = false
