正在尝试将IMAP邮件服务器配置为Alfresco以用于出站电子邮件。我做错了什么?

正在尝试将IMAP邮件服务器配置为Alfresco以用于出站电子邮件。我做错了什么?,alfresco,alfresco-share,Alfresco,Alfresco Share,我真的需要一些帮助 我的公司正在启动一个内部项目,我被要求对Alfresco进行深入研究,以便我们能够为该项目提供一个ECM。问题是我在这方面没有经验,所以经常会遇到障碍 我为Alfresco使用了谷歌点击部署功能,并一直在播放Alfresco的视频教程。为了测试Alfresco的邮件功能,我使用Postfix和Dovecot创建了一个IMAP邮件服务器,在用户之间发送电子邮件时,一切似乎都正常工作(我一直在使用mutt客户端) 问题是。。。我似乎已经配置了我能找到的一切,但Alfresco不会

我真的需要一些帮助

我的公司正在启动一个内部项目,我被要求对Alfresco进行深入研究,以便我们能够为该项目提供一个ECM。问题是我在这方面没有经验,所以经常会遇到障碍

我为Alfresco使用了谷歌点击部署功能,并一直在播放Alfresco的视频教程。为了测试Alfresco的邮件功能,我使用Postfix和Dovecot创建了一个IMAP邮件服务器,在用户之间发送电子邮件时,一切似乎都正常工作(我一直在使用mutt客户端)

问题是。。。我似乎已经配置了我能找到的一切,但Alfresco不会发送任何邀请电子邮件

我已在alfresco-global.properties中对此进行了配置:

### E-mail site invitation setting ###
notification.email.siteinvite=true

# Props following https://docs.alfresco.com/community/concepts/IMAP-subsystem-props.html #
# ENABLING THE IMAP PROTOCOL #
imap.server.enabled=true
imap.server.port=143
imap.server.host=xxx.xxx.xxx.xxx (External IP of Alfresco)

alfresco.protocol=http
alfresco.host=${localname}
alfresco.port=8080
alfresco.context=alfresco

imap.config.home.store=${spaces.store}
imap.config.home.rootPath=/${spaces.company_home.childname}
imap.config.home.folderPath=cm:Imap Home

# ENABLING IMAPS #
imap.server.imaps.enabled=true
imap.server.impas.port=993
javax.net.ssl.keyStore=mySrvKeystore
javax.net.ssl.keyStorePassword=123456
mail.testmessage.send=true
mail.testmessage.to=Your Mail address
mail.testmessage.subject=AlfOutbound Mail System
mail.testmessage.text=Sendung Mails Workshop
我很确定我可能会犯一些大错误。。。我还尝试使用mail.username、mail.password、mail.from.default。。。什么都没用


提前感谢

可以为入站和出站电子邮件传递配置Alfresco,此外,您还可以配置IMAP协议适配器以使用IMAP客户端浏览节点层次结构。你做了最后一个与出站邮件无关的事情。在开始配置您不了解的内容之前,您需要熟悉电子邮件协议的概念

要允许发送邮件,您需要配置出站邮件。e、 g:

#
# Outbound Email Configuration
#-------------
mail.host=localhost
mail.port=25
#mail.username=anonymous
#mail.password=
mail.encoding=UTF-8
mail.from.default=noreply@mycompany.com
mail.smtp.auth=false

mail.testmessage.send=false
mail.testmessage.to=
mail.testmessage.subject=Outbound SMTP
mail.testmessage.text=The Outbound SMTP email subsystem is working.
请查看露天文件以了解更多信息

我建议你

  • 如果你真的不需要IMAP,就不要使用它,因为它非常昂贵,而且很麻烦
  • 使用本地邮件deamon(如exim、postfix)将Alfresco发送的所有出站电子邮件排队,因为如果发送电子邮件时出现问题,Alfresco不会重试

能否在Alfresco-global.properties中添加testmessage配置:

### E-mail site invitation setting ###
notification.email.siteinvite=true

# Props following https://docs.alfresco.com/community/concepts/IMAP-subsystem-props.html #
# ENABLING THE IMAP PROTOCOL #
imap.server.enabled=true
imap.server.port=143
imap.server.host=xxx.xxx.xxx.xxx (External IP of Alfresco)

alfresco.protocol=http
alfresco.host=${localname}
alfresco.port=8080
alfresco.context=alfresco

imap.config.home.store=${spaces.store}
imap.config.home.rootPath=/${spaces.company_home.childname}
imap.config.home.folderPath=cm:Imap Home

# ENABLING IMAPS #
imap.server.imaps.enabled=true
imap.server.impas.port=993
javax.net.ssl.keyStore=mySrvKeystore
javax.net.ssl.keyStorePassword=123456
mail.testmessage.send=true
mail.testmessage.to=Your Mail address
mail.testmessage.subject=AlfOutbound Mail System
mail.testmessage.text=Sendung Mails Workshop
然后Alfresco将在启动时发送testmessage,您可以更容易地在日志中看到错误(如果有)