[rt-users] Show Tickets owned by a Group
Hi all, there's a way to have a "widget", in dahsboard, that shows all tickets owned by a group ? Thanks, Michele -- Michele Pinassi Responsabile Telefonia di Ateneo Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena tel: 0577.(23)2169 - fax: 0577.(23)2053 signature.asc Description: OpenPGP digital signature
Re: [rt-users] List of privileged users
On 15 Jun 2012, at 07:52, Asif Iqbal wrote: > How do I get the list of privleged users? > > This is what I have so far > > #!/usr/bin/perl -w > > use strict; > use Carp; > use Getopt::Long; > > use lib qw(/opt/rt3/lib /opt/rt3/etc); > > use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc); > CleanEnv(); > > use RT; > use RT::Ticket; > use RT::Tickets; Don't you mean: use RT::Users; instead of the above two lines? > > RT::LoadConfig(); > > RT::Init(); > > my $PrivilegedUsers = RT::Users->new ( $RT::SystemUser ); > $PrivilegedUsers->LimitToPrivileged; > > > while ( my $PrivilegedUser = $PrivilegedUsers->Next ) { > print $PrivilegedUser."\n"; # <== this only prints hash $PrivilegedUser is a reference to a perl object (hence you get the class name and an identifier for the object). In order to get the data out of the object, you have to call an accessor method: print $PrivilegedUser->Name, "\n"; or print $PrivilegedUser->EmailAddress, "\n"; depending on what you want. > } > > $RT::Handle->Disconnect(); I don't think you need that bit - it'll all be closed cleanly as the script exits anyway. Tim -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
Re: [rt-users] Custom fields on transactions
On Jun 15, 2012, at 2:35 AM, Robert Wysocki wrote: > Anyone, who worked on the ticket should leave a > comment/reply, so you can obtain the list of people who worked on a > ticket by parsing ticket transactions. Is there a way to get a list of tickets based on who left comments? I didn't see that in the search or chart features in the GUI. If that does exist, that would definitely be preferable. I've been looking for that in every version of RT since 2.0.x. > Therefore your CF is redundunt to built-in functionality and according > to Occam's razor you just shouldn't use it. I'll agree that it's redundant if this functionality exists in the GUI, but I haven't found it. Thanks, Jaime P.S. - As a side note, you might want to double check the definition of Occam's Razor. You seem to be using a common misinterpretation.
Re: [rt-users] Show Tickets owned by a Group
On Jun 15, 2012, at 5:14 AM, Michele Pinassi wrote: > there's a way to have a "widget", in dahsboard, that shows all tickets > owned by a group ? I think that you could achieve that by building a search that achieves this and then saving the search. The saved search can then be added to the dashboard. I've done this in order to add oldest unresolved tickets and oldest unowned tickets to a dashboard, so that we can find things that can probably just be closed after sitting in the queue untouched for 8 years. You might have to tweak your permissions in order to allow saving searches and viewing saved searches. Also note the difference between individual, group, and system level dashboards and saved searches. I had to tweak things a bit in order to make it the way I wanted. Hope that helps, Jaime
[rt-users] un-attached reminders
Is there a way to create reminders which are not attached to tickets? -Steve
Re: [rt-users] List of privileged users
On Fri, Jun 15, 2012 at 5:37 AM, Tim Cutts wrote: > > On 15 Jun 2012, at 07:52, Asif Iqbal wrote: > > > How do I get the list of privleged users? > > > > This is what I have so far > > > > #!/usr/bin/perl -w > > > > use strict; > > use Carp; > > use Getopt::Long; > > > > use lib qw(/opt/rt3/lib /opt/rt3/etc); > > > > use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent > loc); > > CleanEnv(); > > > > use RT; > > > use RT::Ticket; > > use RT::Tickets; > > Don't you mean: > > use RT::Users; > > right. I took that code from another script without realizing this obvious change. > instead of the above two lines? > > > > > RT::LoadConfig(); > > > > RT::Init(); > > > > my $PrivilegedUsers = RT::Users->new ( $RT::SystemUser ); > > $PrivilegedUsers->LimitToPrivileged; > > > > > > while ( my $PrivilegedUser = $PrivilegedUsers->Next ) { > > print $PrivilegedUser."\n"; # <== this only prints hash > > $PrivilegedUser is a reference to a perl object (hence you get the class > name and an identifier for the object). In order to get the data out of > the object, you have to call an accessor method: > > print $PrivilegedUser->Name, "\n"; > > excellent! thanks a lot! > or > > print $PrivilegedUser->EmailAddress, "\n"; > > depending on what you want. > > > } > > > > $RT::Handle->Disconnect(); > > I don't think you need that bit - it'll all be closed cleanly as the > script exits anyway. > > Tim > > -- > The Wellcome Trust Sanger Institute is operated by Genome Research > Limited, a charity registered in England with number 1021457 and a > company registered in England with number 2742969, whose registered > office is 215 Euston Road, London, NW1 2BE. > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Re: [rt-users] Show Tickets owned by a Group
2012/6/15 Michele Pinassi : > Hi all, > > there's a way to have a "widget", in dahsboard, that shows all tickets > owned by a group ? No, but it's very easy to implement as RT already has RequestorGroup, CcGroup, AdminCcGroup and WatcherGroup searches. Probably the following patch will work. One limitation - you must use group ID and can not use Name. After applying patch, restarting web server, try "OwnerGroup = 12345" from Advanced tab. diff --git a/lib/RT/Tickets.pm b/lib/RT/Tickets.pm index fbb5dc9..8e8c704 100644 --- a/lib/RT/Tickets.pm +++ b/lib/RT/Tickets.pm @@ -146,6 +146,7 @@ our %FIELD_METADATA = ( CustomField => [ 'CUSTOMFIELD', ], #loc_left_pair CF => [ 'CUSTOMFIELD', ], #loc_left_pair Updated => [ 'TRANSDATE', ], #loc_left_pair +OwnerGroup => [ 'MEMBERSHIPFIELD' => 'Owner', ], #loc_left_pair RequestorGroup => [ 'MEMBERSHIPFIELD' => 'Requestor', ], #loc_left_pair CCGroup => [ 'MEMBERSHIPFIELD' => 'Cc', ], #loc_left_pair AdminCCGroup => [ 'MEMBERSHIPFIELD' => 'AdminCc', ], #loc_left_pair > > Thanks, Michele > > -- > Michele Pinassi > Responsabile Telefonia di Ateneo > Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi > di Siena > tel: 0577.(23)2169 - fax: 0577.(23)2053 > -- Best regards, Ruslan.
Re: [rt-users] Set Content via Scrip
Hi, Transaction CFs are called "transaction CFs" because they need a transaction to be recorded. Probably the right thing to do is to return people back to the form if they picked CF values and didn't enter any message. Looks like you use TxnFCs to implement "change ticket CFs on update (reply/comment)". If so then wiki has code to make it possible. May be these days an extension exists to do it. On Fri, Jun 15, 2012 at 1:36 AM, TheHoboKing wrote: > > Hello All, > > Im running RT.4.0.5. > > I've been trying to automatically set the Content(message body) of a comment > on a ticket. > > I can get the value from the message input box via > "$self->TransactionObj->Content" but I'm unable to set it via a scrip. > > I've attempted via "$self->TransactionObj->SetContent($MyValue)" and various > other means (ContentObj | TicketObj | Transaction->Message | ...) but none > works... > > Here's a brief explanation on why I'm attempting to do this: > > I've a couple of Transaction Custom fields, for which I store the input > value in a Ticket CustomField (I do this via a TransactionBatch Scrip), this > works fine on Ticket Creation and as long as the message box contains > whatever value during Comment | Reply | Resolve | Re-Open |... . But if the > message box is left empty, the valued entered in the Transaction CF is not > added to the Ticket CF (perhaps the Scrip is not even run because there's > Transaction to be recorded?). > > How could I either force a TransactionBatch scrip to run even if the message > box is left empty or automatically set a value to Content (the message box). > > After taking a look at the RT Logger, it looks like the Scrip is not being > executed if the message box is empty (no Transaction to be recorded perhaps? > even though I'm inputting new values in the Transaction CF(s)). > > Nonetheless here's my Scrip that tries and set a value to Content > > Custom condition: > return 1; > Custom action preparation code: > return 1; > > Custom action cleanup code: > my $Trans = $self->TransactionObj; > > my $content = $Trans->Content; > my $MyValue = 'ScriptedValue'; > > $Trans->SetContent($MyValue); > > $RT::Logger->debug("$self->TransactionObj->Content: $content"); > > > Thank you all! > -- > View this message in context: > http://old.nabble.com/Set-Content-via-Scrip-tp34014709p34014709.html > Sent from the Request Tracker - User mailing list archive at Nabble.com. > -- Best regards, Ruslan.
Re: [rt-users] Odd behavior, RT automatically reverts changes to Custom Fields
Hi, It's known issue with scrips that set custom fields based on other fields. You workaround it either by not allowing people to change custom fields you auto set with scrips or by running your scrip in batch stage. Some details. RT processes updates to custom fields one by one from request args, your scrip kicks in in the middle and then RT thinks, when it gets to a field that was changed by a scrip, that user picked different value and changes it back. On Thu, Jun 14, 2012 at 5:48 PM, Matthew W. wrote: > Hello, > > I'm relatively new to RT and have been running into this problem for a > few days now. I've looked everywhere and haven't found a clue. The > closest thing I could find was documented in this post: > > http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg10037.html > > But, I really don't want to to undo the changes that RT automatically > undoes > > Basically, whenever I make changes to a custom field from a scrip > whatever the value that I add automatically gets reverted back to the > old value. I tried adding code to delete the old value first, but RT > just adds the old value back. > > > Here's some psuedocode (code not tested and may contain typos, but my > code works just fine as I can see the transactions in the ticket > history): > > my $Value = 'some value'; > > my $CFName = 'customCF'; > my $CF->LoadByName( Name => $CFName); > > #Delete the old value: > $self->TicketObj>DeleteCustomFieldValue( > Field => $CFName, > Value => $self->TicketObj->FirstCustomFieldValue($CFName) > ); > > #Set the new value: > $self->TicketObj->AddCustomFieldValue( Field => $CF, Value => $Value); > > Bottom line: does anyone know how to prevent RT from undoing the > additions to a custom field? This is in RT 4.0.4. > > --Matthew. -- Best regards, Ruslan.
Re: [rt-users] List of privileged users
On Fri, Jun 15, 2012 at 10:08 AM, Asif Iqbal wrote: > On Fri, Jun 15, 2012 at 5:37 AM, Tim Cutts wrote: > >> >> On 15 Jun 2012, at 07:52, Asif Iqbal wrote: >> >> > How do I get the list of privleged users? >> > >> > This is what I have so far >> > >> > #!/usr/bin/perl -w >> > >> > use strict; >> > use Carp; >> > use Getopt::Long; >> > >> > use lib qw(/opt/rt3/lib /opt/rt3/etc); >> > >> > use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent >> loc); >> > CleanEnv(); >> > >> > use RT; >> >> > use RT::Ticket; >> > use RT::Tickets; >> >> Don't you mean: >> >> use RT::Users; >> >> > right. I took that code from another script without realizing this obvious > change. > > >> instead of the above two lines? >> >> > >> > RT::LoadConfig(); >> > >> > RT::Init(); >> > >> > my $PrivilegedUsers = RT::Users->new ( $RT::SystemUser ); >> > $PrivilegedUsers->LimitToPrivileged; >> > >> > >> > while ( my $PrivilegedUser = $PrivilegedUsers->Next ) { >> > print $PrivilegedUser."\n"; # <== this only prints hash >> >> $PrivilegedUser is a reference to a perl object (hence you get the class >> name and an identifier for the object). In order to get the data out of >> the object, you have to call an accessor method: >> >> print $PrivilegedUser->Name, "\n"; >> >> > excellent! thanks a lot! > > >> or >> >> print $PrivilegedUser->EmailAddress, "\n"; >> >> depending on what you want. >> >> > } >> > >> > $RT::Handle->Disconnect(); >> >> I don't think you need that bit - it'll all be closed cleanly as the >> script exits anyway. >> >> how do I run this code with a script account which has no account on RT? Is it possible to feed a valid account/password in a .rtrc file or something similar that the script account will use to connect to RT and generate the report? > Tim >> >> -- >> The Wellcome Trust Sanger Institute is operated by Genome Research >> Limited, a charity registered in England with number 1021457 and a >> company registered in England with number 2742969, whose registered >> office is 215 Euston Road, London, NW1 2BE. >> > > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Re: [rt-users] Time off by several hours
On Thu, Jun 14, 2012 at 3:45 PM, Jaime Kikpole wrote: > Since upgrading to RT 4.0.5, I've found that email being logged in my > RT instance and then displayed in the web GUI will have the wrong > time. More specifically, its off by the number of hours that my local > timezone is off from UTC. So if an email comes in at 10:21:58 -0400, > it will show the email as coming in at 2:22:58 PM. See attachment for > a visual example. > > Did I miss a setting in RT_SiteConfig.pm? You didn't say from which version you have upgraded and if your web server is different or exactly the same. If it's mod_perl then I suspect wrong SetHandler in httpd.conf. > > Thanks, > Jaime > > -- > Network Administrator > Cairo-Durham Central School District > http://cns.cairodurham.org -- Best regards, Ruslan.
Re: [rt-users] "My Day" -- need to change comment to reply
In share/html/Tools/MyDay.html change "my ( $val, $msg ) = $ticket->Comment(" to "my ( $val, $msg ) = $ticket->Correspond(". May be change "Comments" word to something else to make sure your users know what will happen. On Thu, Jun 14, 2012 at 6:04 PM, Jason Marshall wrote: > I tried to search for this, but couldn't find much. Running 3.8.8, and need > the comments entered into "My Day" to go to the requestor and cc's. Seems > the easiest thing to do would be change the mode from "comment" to "reply" > but I'm not seeing an obvious way to do this. Can someone help, or explain > why this is a dumb idea? Thanks! > > --- > Jason Marshall > IT Manager > Kelman Data Management -- Best regards, Ruslan.
[rt-users] Why use CFs on transations vs. tickets
I've seen plenty of reasons to use Custom Fields on tickets and have done so for years. What I've never been able to figure out was: Why use them on transactions? For my technicians, adding CFs in the Comment or Reply screens makes the most sense. We currently use CFs on the ticket (not transation) level. This means that when my techs reply to an end user and, they then have to going back to the ticket and then the Basics screen. This is a bit cumbersome. Not so cumbersome that it can't be done. Its just cumbersome enough that we we tend to forget to do it. So I was hoping to bring that into the Comment/Reply/Resolve page. Transaction level CFs do that, but they then loose almost all other advantages, like searching. Am I missing something? Is there a way to use CFs on the Comment/Reply/Resolve page and have them apply to the ticket level? Is there away to search based on the contents of CFs that are on a transaction level? Thanks, Jaime -- Network Administrator Cairo-Durham Central School District http://cns.cairodurham.org
Re: [rt-users] "My Day" -- need to change comment to reply
Awesome, thanks Ruslan, works like a charm!! I didn't think to look in the HTML for this change, brain fart on my end... In share/html/Tools/MyDay.html change "my ( $val, $msg ) = $ticket->Comment(" to "my ( $val, $msg ) = $ticket->Correspond(". May be change "Comments" word to something else to make sure your users know what will happen. On Thu, Jun 14, 2012 at 6:04 PM, Jason Marshall wrote: I tried to search for this, but couldn't find much. Running 3.8.8, and need the comments entered into "My Day" to go to the requestor and cc's. Seems the easiest thing to do would be change the mode from "comment" to "reply" but I'm not seeing an obvious way to do this. Can someone help, or explain why this is a dumb idea? Thanks! --- Jason Marshall IT Manager Kelman Data Management -- Best regards, Ruslan. --- Jason Marshall IT Manager Kelman Data Management 403.294.7557
Re: [rt-users] TicketSQL Date parse weird..
Hi, I took another look at this. ParseDate can not deal with all timezones zoneinfo database has. The module just knows about a few zones and time differences for them, so we will have to keep our magic. Wrote a few tests and couldn't find any problem with how we parse "tomorrow 10am". You can see new tests in 4.2/relative-time-parsing-tests branch. I don't see any changes between 3.8 and master that can affect outcome, so I conclude that your test is wrong or you're misreading Unix time values. If you still think that I'm missing something then please change your script to use ->ISO or any other date formatter instead of comparing Unix values. On Wed, Jun 13, 2012 at 3:20 AM, Stuart Browne wrote: >> -Original Message- >> From: ruslan.zaki...@gmail.com [mailto:ruslan.zaki...@gmail.com] >> Sent: Wednesday, 13 June 2012 12:31 AM >> Subject: Re: [rt-users] TicketSQL Date parse weird.. >> >> Hello Stuart, >> >> I've made a typo in the patch. It should be "ZONE" instead of "GMT". >> You can change code by hands after patching, it's close to line 208 in >> lib/RT/Date.pm. >> >> Also, make sure ParseDate module is the latest from the CPAN. >> > > > > Ensured I'm running the latest ParseDate - 2011.0517. Yes, I was running an > older version. The output didn't appear different before changing GMT to > ZONE (for before-10am). > > After changing GMT to ZONE, this happened: > > # > # BEFORE 10AM > # > > # > # Before patch > # > [bekar@psg-apps tmp]$ ./test.pl > current time() output: 1339542313 > > fixed-date Time::ParseDate: 1339632000 > tomorrow 10am Time::ParseDate: 1339632000 > > fixed-date RT::Date output: 1339668000 > tomorrow 10am RT::Date output: 1339632000 > timezone according to RT::Date: 36000 > timezone according to RT::Date: 36000 > > # > # After patch > # > [bekar@psg-apps tmp]$ ./test.pl > current time() output: 1339542211 > > fixed-date Time::ParseDate: 1339632000 > tomorrow 10am Time::ParseDate: 1339632000 > > fixed-date RT::Date output: 1339668000 > tomorrow 10am RT::Date output: 0 > timezone according to RT::Date: 36000 > timezone according to RT::Date: 36000 > > So it doesn't like ZONE there it seems: > > - GMT => $self->Timezone($args{'Timezone'}), > + ZONE => $self->Timezone($args{'Timezone'}), > > I'll try again after 14:00 (with GMT and the new ParseDate), although why > RT::Date is returning 0 there is just odd. > > Stuart -- Best regards, Ruslan.
Re: [rt-users] Why use CFs on transations vs. tickets
On Fri, Jun 15, 2012 at 8:36 PM, Jaime Kikpole wrote: > Am I missing something? Is there a way to use CFs on the It was never intention to add transaction custom fields just to place custom fields on update page. Transactions' custom fields are there so you can categorize particular replies/comments. For example you can add a freeform CF that is only visible to staff member where they can describe two pages of crap in the correspond using oneliner for others to understand what's going on. I don't have an example that makes TxnCFs shine for real. > Comment/Reply/Resolve page and have them apply to the ticket level? Yes, with custom patches and extensions. Solutions on the wiki for ages. http://requesttracker.wikia.com/wiki/EditCustomFieldsOnUpdate I rarely wish to enter a CF value while replying. Some people want all of them, some people want custom set, some people want to make "Resolution" custom field to be defined if person changes status to "resolved". You see variants. Out of the box RT has Jumbo page. Use it instead of reply/comment or customize with extensions or callbacks. > Is there away to search based on the contents of CFs that are on a > transaction level? I believe there is a branch for this in the repo. -- Best regards, Ruslan.
[rt-users] Question about REST interface and status
Hi, I am able to create a ticket via the rt REST interface, but I cannot set the status at creation time. I always get the following error: RT/4.0.0 200 Ok # Could not create ticket. # Status 'resolved ' isn't a valid status for tickets in this queue. Is this error due to the carriage return and how can I avoid it? Thanks in advance Jeff
[rt-users] Multiple queues on one email address
Hi, I am using 1 email address for 3 queues. in fetchmailrc i can only specifiy one queue for that adress. so tickets are created in that queue, that's OK. When I create a ticket in another queue, the user gets the message but when he replies (with the correct subject-tag and ID), I don't get the answer into RT, I only get a socalled POSTMASTER-AUTO-FW of the incoming mail. Any idea what that could mean? Thanks Jeff
Re: [rt-users] Why use CFs on transations vs. tickets
On Fri, Jun 15, 2012 at 10:17:56PM +0400, Ruslan Zakirov wrote: > On Fri, Jun 15, 2012 at 8:36 PM, Jaime Kikpole > wrote: > > Am I missing something? Is there a way to use CFs on the > I don't have an example that makes TxnCFs shine for real. I'm aware of people using it to track a bunch of billing info, because there might be multiple billable transactions in a ticket so tracking it at the ticket level is wrong. > > Is there away to search based on the contents of CFs that are on a > > transaction level? > I believe there is a branch for this in the repo. There is, we're planning to make it available in 4.2 -kevin pgpSY3pYZCcg7.pgp Description: PGP signature
Re: [rt-users] Question about REST interface and status
On Fri, Jun 15, 2012 at 11:23:27PM +0200, Jeff Konnen wrote: ># Could not create ticket. ># Status 'resolved >' isn't a valid status for tickets in this queue. > >Is this error due to the carriage return and how can I avoid it? There's a good chance that it dislikes the carriage return. However, we'd need to know how you're creating the ticket and what you're sending across the wire to make suggestions. -kevin pgpYYthidzP2e.pgp Description: PGP signature
Re: [rt-users] Multiple queues on one email address
On Fri, Jun 15, 2012 at 11:26:00PM +0200, Jeff Konnen wrote: >I am using 1 email address for 3 queues. This is fine. >in fetchmailrc i can only specifiy one queue for that adress. so tickets > are created in that >queue, that's OK. >When I create a ticket in another queue, the user gets the message but > when he replies (with >the correct subject-tag and ID), I don't get the answer into RT, I only > get a >socalled [1]POSTMASTER-AUTO-FW of the incoming mail. Unfortunately, I cannot load the link you've provided. Please provide the error message and the RT and fetchmail logs. -kevin pgp7Aw5hcBw4m.pgp Description: PGP signature
Re: [rt-users] un-attached reminders
On Fri, Jun 15, 2012 at 08:55:42AM -0500, Steve Hopps wrote: > Is there a way to create reminders which are not attached to tickets? Not from the UI, the API would allow it, however I suspect RT would get really confused displaying Reminders without links. What's your goal? -kevin pgpxxdNYxzsFq.pgp Description: PGP signature
Re: [rt-users] Authentication against LDAP and Authorization against internal db
> > >> On Tue, Jun 12, 2012 at 5:38 AM, Asif Iqbal wrote: >> > I am using external authentication against our corporate AD server >> > successfully, using the RT::Authen::ExternalAuth. >> > >> > But I like the authorization done against internal db for user account. >> > >> > Just because a user has a valid AD credential is not enough for him/her >> > to >> > be able to login to our RT. We like >> > to manage the login by creating the user account into internal db using >> > the >> > Web UI. >> > >> > So we still like the user to use their AD credential and no need to >> > remember >> > another password, and at the same time >> > only be able to login if the same username is available in internal db. >> > >> > Is that possible? Any suggestion/tip is appreciated. >> >> Yes, it is possible, but not like you want it to be. >> >> As far as I can see users need AD record anyway, just mark them >> somehow in AD and use this marking in ExternalAuth filter. >> > > I have no access to AD. It belongs to corporate group and will not be able > to manage a group. > > There is no way to control the Authorization part locally? Not out of the box. Patch external auth module and add option to avoid creation of new users. >>> So I could just comment this section out to avoid user create as one >>> option? I know, ugly. >>> >>> http://paste.ubuntu.com/1039210/ >>> >>> >> This seem to have worked. >> >> http://paste.ubuntu.com/1039233/ >> >> > > fixed some of the comments to reflect the intention > > http://paste.ubuntu.com/1039239/ > > > I am getting this error after applying RT::Authen::ExternalAuth, and patched to disable the "user creation part". This is the patch I applied http://paste.ubuntu.com/1039239/ . [Sat Jun 16 04:03:50 2012] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Comments: Autocreated on ticket submission, Disabled: , EmailAddress: serv...@example.com, Name: serv...@example.com, Password: , Privileged: , RealName: Service Example (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:633) [Sat Jun 16 04:03:50 2012] [crit]: User creation failed in mailgateway: Could not set user info (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Sat Jun 16 04:03:50 2012] [warning]: Couldn't load user ' serv...@example.com'.giving up (/opt/rt3/bin/../lib/RT/Interface/Email.pm:806) [Sat Jun 16 04:03:50 2012] [crit]: User 'serv...@example.com' could not be loaded in the mail gateway (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Sat Jun 16 04:03:51 2012] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for this email (serv...@example.com). You might need to grant 'Everyone' the right 'CreateTicket' for the queue support. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Sat Jun 16 04:03:51 2012] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:244) [Sat Jun 16 04:03:51 2012] [error]: Could not record email: Could not load a valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) While I definitely don't want to create a user account while user trying to login, I am not sure if it is hurting mailgateway. Will anyone still be able to create a ticket through email after applying the external auth module (patched version)? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?