Hi
RT 3.8.2 on MySQL
In some queues I am able to reply by e-mail, create ticket via web form,
however, creation of ticket by sending e-mail fails with reply "No
permission to create tickets in the queue ‘default’ "
Log file shows this
[Sat Mar 21 19:44:11 2009] [debug]: Mail from user #376 (smibs@centrum.cz)
(/opt/rt3/bin/…/lib/RT/Interface/Email/Auth/MailFrom.pm:75)
[Sat Mar 21 19:44:11 2009] [crit]: No permission to create tickets in the
queue ‘default’ (/opt/rt3/bin/…/lib/RT/Interface/Email.pm:244)
[Sat Mar 21 19:44:11 2009] [error]: Could not record email: Ticket creation
failed: No permission to create tickets in the queue ‘default’
(/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75)
Creation of ticket by e-mail works only on some (maybe one) old queue, which
did not change a name.
It seems, like procmail does not recognize existence of specific queue, or
does not find enough rights for creating a ticket there and tries to create
it in the queue default.
Situation seems quite similar to Fixing RT users described in
Fixing RT Users (however, I did not
investigate database data yet).
In my rt.log there are strange entries like:
[Sat Mar 21 15:55:02 2009] [error]: RT::Group=HASH(0xbfccb90) was created
without a CurrentUser. Any RT object which is subclass of RT::Base must be
created with a RT::CurrentUser or a RT::User object as the first argument.
(/opt/rt3/bin/…/lib/RT/Base.pm:108)
[Sat Mar 21 15:55:02 2009] [error]: RT::Group=HASH(0xbfccb90) was created
without a CurrentUser. Any RT object which is subclass of RT::Base must be
created with a RT::CurrentUser or a RT::User object as the first argument.
(/opt/rt3/bin/…/lib/RT/Base.pm:108)
[Sat Mar 21 15:55:02 2009] [error]: RT::Group=HASH(0xbfccb90) was created
without a CurrentUser. Any RT object which is subclass of RT::Base must be
created with a RT::CurrentUser or a RT::User object as the first argument.
(/opt/rt3/bin/…/lib/RT/Base.pm:108)
[Sat Mar 21 15:55:37 2009] [error]: RT::Group=HASH(0xb0f3148) was created
without a CurrentUser. Any RT object which is subclass of RT::Base must be
created with a RT::CurrentUser or a RT::User object as the first argument.
(/opt/rt3/bin/…/lib/RT/Base.pm:108)
[Sat Mar 21 15:55:37 2009] [error]: RT::Group=HASH(0xb0f3148) was created
without a CurrentUser. Any RT object which is subclass of RT::Base must be
created with a RT::CurrentUser or a RT::User object as the first argument.
(/opt/rt3/bin/…/lib/RT/Base.pm:108)
[Sat Mar 21 15:55:37 2009] [error]: RT::Group=HASH(0xb0f3148) was created
without a CurrentUser. Any RT object which is subclass of RT::Base must be
created with a RT::CurrentUser or a RT::User object as the first argument.
(/opt/rt3/bin/…/lib/RT/Base.pm:108)
Today I was doing a lot of work with RT
- creating many new queues (there were 25, now there are 50)
- resetting group rights on the queues
- reorganizing groups (for each type of queue I keep one group of
requesters and one group of solvers)
For manipulating queue names and group rights in queue I used JMeter to
simulate HTTP POST. Resulting responses did not show any problems.
I am thinking of cleaning the whole database (not in production yet), but I
am afraid, I run into the same problem soon.
At this moment I am not able to create a new queue, which allows me to
create ticket directly there by e.mail. I tried to simplify situation,
granted queue rights directly to a user, no help.
Any Idea what to do?
Jan Vlcinsky
.