【问题标题】:Configuring Outbound email in Alfresco在 Alfresco 中配置出站电子邮件
【发布时间】:2014-10-13 16:32:58
【问题描述】:

我已经通过以下链接在 Alfresco 中配置了出站电子邮件: http://docs.alfresco.com/4.1/concepts/email-outboundsmtp-props.html

我的 alfresco-global.properties 包含:

   ### email server config smtp outbound
    mail.host=emailserver.domain.com
    mail.port=25
    mail.username=example@domain.com
    mail.password=password
    mail.encoding=UTF-8
    mail.from.default=example@domain.com
    mail.smtp.auth=false
    mail.protocol=smtp
    mail.smtp.timeout=30000

我收到以下错误: 服务器和客户端都不支持身份验证机制

相同的配置适用于托管在 Windows 服务器上的 Alfresco,但不适用于 Cent OS 服务器。 知道可能是什么原因吗?

【问题讨论】:

  • 你确定端口 25 上没有其他东西在运行吗?通常 sendmail 正在运行。
  • 您将系统配置为使用用户名/密码并告诉它不要进行身份验证。请查看stackoverflow.com/questions/8615730/javamail-exchange,详细了解如何解决您的问题。
  • 嗨@TahirMalik,是的,我认为端口25上没有运行其他任何东西。你所说的sendmail是什么意思?你能解释一下吗?
  • 嗨@AndreasSteffan,感谢您的链接。我已经尝试过不提供用户名和密码以避免它默认尝试进行身份验证,但这也不起作用。
  • 看来您没有使用 TLS,所以尝试“tcpdump -s 0 -A -i any port 25 and host emailserver.domain.com”并捕获输出。这应该让你知道到底是什么失败了。

标签: email smtp alfresco alfresco-share


【解决方案1】:

确保您用于发送电子邮件的电子邮件 ID 不太安全#

# Outbound Email Configuration
#-------------
mail.host=smtp.gmail.com
mail.port=465
mail.encoding=UTF-8
mail.username=****@gmail.com
mail.password=*******
mail.protocol=smtps
mail.from.default=****@gmail.com
mail.smtps.starttls.enable=true
mail.smtps.auth=true

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-09-12
    • 1970-01-01
    • 2019-03-29
    • 1970-01-01
    • 1970-01-01
    • 2016-11-02
    相关资源
    最近更新 更多