Getting 403 response from rdm-mailhandler
After enabling WS for incoming emails, generating a key and adding a postfix alias to use rdm-mailhandler.rb, I tested by doing the following:
1. Created an issue (bug), and wait for the issue notification to arrive by email.
2. Replied to the notification email, leaving everything intact except adding the text 'just testing'.
postfix bounced the reply with the following diagnostics:
permission denied. Command output: warning: peer
certificate won't be verified in this SSL session Request was denied by
your Redmine server. Make sure that 'WS for incoming emails' is enabled in
application settings and that you provided the correct API key.
As such I tried from the command line with:
./extra/mail_handler/rdm-mailhandler.rb --url https://<site address> --key <generated key> --tracker bug --allow-override tracker,priority --verbose < testmail.txt
Posting to https://<site address>/mail_handler...
warning: peer certificate won't be verified in this SSL session
Response received: 403
Request was denied by your Redmine server. Make sure that 'WS for incoming emails' is enabled in application settings and that you provided the correct API key.
I've double checked the settings and key value and it all appears correct, any help gratefully received as I'm at a bit of a loss being new to Redmine and Rails and would love to get this up and running.
Redmine Last Changed Rev: 3335
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
Phusion Passenger 2.2.9
mysql Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (i486)
Ruby version 1.8.7 (i486-linux)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Database adapter mysql
Database schema version 20091227112908