Troubleshooting mail_handler 401 error (denied)
Added by Sean Boran about 12 years ago
Hi,
I'd like to get ticket generation via email working.
Under Administration > Settings > Incoming EMails, "Enable WS for incoming emails" is set, as the a generated API key (P3G6QC4tKZf46NTPNgoi).
echo foo_test | /opt/software/redmine/redmine-2.0.3/extra/mail_handler/rdm-mailhandler.rb --url https://myhost --key P3G6QC4tKZf46NTPNgoi --project project1 unknown_user=accept --verbose --no-check-certificate
This returns
"Request was denied by your Redmine server (401)."
I did read http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmail but no luck.
The problem might be with the URL, since https://myhost and https://myhost/something both return 401