[rt-users] Procmail does not recognize existing queue name and does not allow to create a new ticket by e-mail

Jan Vlčinský smibs at centrum.cz
Sat Mar 21 19:46:12 EDT 2009


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 at 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
http://vdt.cs.wisc.edu/internal/rt-user-fixes.html (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


   1. creating many new queues (there were 25, now there are 50)
   2. resetting group rights on the queues
   3. 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
-- 
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090322/16b99c44/attachment.htm>


More information about the rt-users mailing list