Project

General

Profile

mailhandler - failure notice, when setting --unknown-user=create

Added by Tobias K. almost 14 years ago

Hello,

I have a problem with the mailhandler-script.
I call the script with qmail to forward messages to redmine: |/var/redmine/0.9.3/extra/mail_handler/rdm-mailhandler.rb --url=http://domain.de:3003 --key=XXX --project=itag --tracker="E-Mails" --unknown-user=create --no-permission-check

When I change "--unknown-user=create" to "--unknown-user=accept" it works and the mail shows up as a new ticket.
The problem is, that I'm not able to mail back with redmine.
So I used "--unknown-user=create" to create a new user for each mail-sender, but with this option I get a failure notice:

<support@myotherdomain.de>:
Request was denied by your Redmine server. Possible reasons: email is sent from an invalid email address or is missing some information.

Are there any privileges or roles I should set? (Also tried to grant all possible access to non-member/Anonymous, with no effect)

Any idea what's the problem?

---
About my application's environment:
Ruby version 1.8.6 (x86_64-linux)
RubyGems version 1.3.6
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
Application root /var/redmine/0.9.3
Environment production
Database adapter mysql
Database schema version 20100221100219


Replies (2)

RE: mailhandler - failure notice, when setting --unknown-user=create - Added by Felix Schäfer almost 14 years ago

I think you need users to be able to register themselves without extra verification or confirmation, i.e. the mailhandler should be able to create a new user without your intervention.

RE: mailhandler - failure notice, when setting --unknown-user=create - Added by Tobias K. almost 14 years ago

Users are able to register themself without any confirmation.
Is there a log file with detailed information about the mailhandler?
In the normal log the mailhandler only appears, if everything works. (--unknown-user=accept)

    (1-2/2)