【问题标题】:Issue with receiving imap email in redmine在 redmine 中接收 imap 电子邮件的问题
【发布时间】:2011-04-11 21:17:00
【问题描述】:

我收到的电子邮件不断被忽略,并且没有归档到正确的项目中。我在这里错过了什么?

rake -f /home/kickapps/redmine/Rakefile redmine:email:receive_imap \ RAILS_ENV="生产"\ 主机=imap.gmail.com \ ssl=SSL\ 端口=993 \ move_on_success=归档\ move_on_failure=忽略\ 用户名=redmine@kitops.com \ 密码=******************\ 未知用户=接受\ no_permission_check=1 \ 项目=测试\ allow_override=项目,跟踪器

【问题讨论】:

    标签: redmine


    【解决方案1】:

    如果您在 gmail 中没有看到电子邮件被读取,请尝试在 rake 参数末尾添加 --trace(您应该会收到 rake 错误)。邮件在 gmail 邮箱中必须是未读/新邮件,否则不会被 rake 读取,因为它认为它已经读过了。

    另一个问题:redmine 和 gmail 之间的防火墙阻止了 993。

    在运行 rake 后立即检查 rails log/production.log - 检查是否有关于邮件的错误消息。

    假设 rake 任务正在读取和更改 gmail 中的状态,那么它可能是参数。我注意到您的 ssl 与我的不同

    rake -f /home/kickapps/redmine/Rakefile redmine:email:receive_imap \
    RAILS_ENV="production" \
    host=imap.gmail.com \
    ssl=1 \ # it's 1 on my install -- double check
    port=993 \
    username=redmine@kitops.com \
    password=*************** \
    project=test \ # must be the project identfier not the name
    status=assigned \ # must be a status used in the project, check popups in redmine
    unknown_user=accept \ #haven't tried this
    no_permission_check=1 \ # or this
    allow_override=project,tracker # or this 
    

    【讨论】:

    • 它正在接收来自 gmail 的电子邮件。它只是将其标记为已忽略,而不是创建新票。
    猜你喜欢
    • 1970-01-01
    • 2016-10-31
    • 2021-08-18
    • 2021-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多