【问题标题】:sentry sent the email get error: [Errno 111] Connection refusedsentry sent the email get error: [Errno 111] Connection denied
【发布时间】:2015-12-24 18:00:45
【问题描述】:

我用文档在我的服务器上安装哨兵,一步,一步,使用我自己的postgresql,我只是改变了数据库配置 最后,我通过发送电子邮件邀请自己,得到这个问题

【问题讨论】:

  • 您的电子邮件设置是什么?它可以通过桌面电子邮件客户端工作吗?
  • 默认,我没改
  • 所以,默认的 smtp 服务器是“localhost”,您在运行 django 的同一台机器上是否有电子邮件服务器?也看看stackoverflow.com/questions/5802189/…
  • 不,这台机器是新机器,我只是安装了ubuntu和一些sentry依赖的包

标签: python django email ubuntu


【解决方案1】:

两种可能 一:你的配置文件有错误,比如你的邮箱密码或者smtp服务器等等 二:你没有安装smtp软件,比如postfix、sendmail等,而且smtp在你的配置文件中是localhost

【讨论】:

    猜你喜欢
    • 2020-05-16
    • 2013-01-03
    • 1970-01-01
    • 1970-01-01
    • 2021-09-16
    • 2020-07-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多