我正在尝试使rdm-mailhandler.rb
邮件接收器可以在我们的Redmine安装上正常工作。但是我明白了
Posting to https://redmine.myserver.com/mail_handler...
Response received: 422 Request was denied by your Redmine server.
Possible reasons: email is sent from an invalid email address or is missing some information.
如果我用fetchmail
运行它,或者如果我像这样在命令行运行它,则结果相同:
echo hello | sudo -Hu redmine /usr/bin/ruby /storage/_redmine/redmine/extra/mail_handler/rdm-mailhandler.rb --url=https://redmine.myserver.com/ --key=SECRET --no-permission-check -v
在邮件服务器上,有一个现有票证的邮件响应,应该由fetchmail提取。
如果我将--key
替换为其他内容,它将抱怨密钥,因此很明显我可以到达redmine-server,但是还有其他问题。
问题:
echo hello
命令)?