[rt-users] can we create our own scrip action in request tracker?

2007-10-22 Thread Krishna Prasad
Can we create our own scrip actions?

 

I want to create scrip like "Auto-reply to requestor and Cc's"

 

Can I create the above scrip in Request Tracker either globally or for a
specified queue?

 

With Regards, 

Krishna Prasad 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Problem with RT::Logger

2007-10-22 Thread Ruslan Zakirov
Most probably you're calling methods on $RT::Logger when it's not
initialized, for example during loading of modules.

On 10/22/07, Lamers, Dan <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I had a working RT system up until this morning when it appears that
> RT::Logger stopped functioning.  Last week I upgraded from 3.6.4 to 3.6.5
> and everything appeared to work fine.  I shutdown the system for the weekend
> and this morning I'm receiving a "500 Internal Server Error" when trying to
> logon.
>
>
>
> My apache2/errorlog entry is:
>Can't call method "debug" on an undefined value at
> /opt/rt3/local/lib/RT/CurrentUser_Local.pm line 59
>
>
>
> The relevant perl line is"
>
>   $RT::Logger->debug( "CreateFromExternalUserInfo: entered with args: ",
> @lookupargs, "\n");
>
>
>
>
>
> If I comment this line from the program, it proceeds to fail on the next
> RT::Logger statement including RT::Logger->info calls.  If I comment out all
> of the RT::Logger calls from this program, the system appears to function
> normally.
>
>
>
> Any help would be greatly appreciated!
>
>
>
> Thanks,
>
> Dan
>
>
>
> DISCLAIMER: The information in this message is confidential and may be
> legally privileged. It is intended solely for the addressee. Access to this
> message by anyone else is unauthorized. If you are not the intended
> recipient, any disclosure, copying, or distribution of the message, or any
> action or omission taken by you in reliance on it, is prohibited and may be
> unlawful. Please immediately contact the sender if you have received this
> message in error. Thank you.
>
>
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: [EMAIL PROTECTED]
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>


-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] autogenerating tickets sent to [EMAIL PROTECTED]

2007-10-22 Thread Rogelio
On 10/22/07, Rogelio <[EMAIL PROTECTED]> wrote:
> On 10/19/07, Drew Barnes <[EMAIL PROTECTED]> wrote:
> > http://wiki.bestpractical.com/view/EmailInterface
>
> So, I went through and set most of those variables, and now I need to
> set up [EMAIL PROTECTED] to accept mail.
>
> In my mail server, I now have it forwarding to
> [EMAIL PROTECTED], and there is an MX record for that domain in
> my DNS.
>
> In order for this to work, do I just now need to add "support" as a
> user? How do I add users and aliases to RT?  Through the RT GUI? Or
> through the command line?

Ah, I think I found my answer on that page:

*
Handling incoming mail

RT handles its incoming emails with a rt-mailgate script that passes
emails over http protocol to a RT's web server.

Note that the HTTP interface used by mailgate is not protected by
default and you must take care of it yourself. Read
MailGatewayAccessControl to understand how to improve security of this
interface.

First of all you have to add email aliases for each queue. See the following:

* ManualInstallation
* Qmail - Using Qmail Aliases w/ RT
* Using Procmail to deliver RT-mail to queues
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] autogenerating tickets sent to [EMAIL PROTECTED]

2007-10-22 Thread Rogelio
On 10/19/07, Drew Barnes <[EMAIL PROTECTED]> wrote:
> http://wiki.bestpractical.com/view/EmailInterface

So, I went through and set most of those variables, and now I need to
set up [EMAIL PROTECTED] to accept mail.

In my mail server, I now have it forwarding to
[EMAIL PROTECTED], and there is an MX record for that domain in
my DNS.

In order for this to work, do I just now need to add "support" as a
user? How do I add users and aliases to RT?  Through the RT GUI? Or
through the command line?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Error starting apache Can't locate Apache/DBI.pm in @INC

2007-10-22 Thread Michael Moon
I have installed mod_perl 1.3 and Apache 1.39 on a CentOS 5 system in
order get Request Tracker running. When I attempt to start apache I get
the following error:

 

Syntax error on line 969 of /usr/local/apache/conf/httpd.conf: Can't
locate Apache/DBI.pm in @INC 

 

(@INC contains: 

/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi 

/usr/lib/perl5/site_perl/5.8.8 

/usr/lib/perl5/site_perl 

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi 

/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 

/usr/lib/perl5/vendor_perl 

/usr/lib/perl5/5.8.8/i386-linux-thread-multi 

/usr/lib/perl5/5.8.8 . 

/usr/local/apache/ 

/usr/local/apache/lib/perl) at (eval 7) line 3.

__

 

I have located the file in the following directories:

 

/opt/.cpan/build/Apache-Session-1.84-Ad18Dp/Session/Store/DBI.pm

/opt/.cpan/build/Apache-Session-1.84-Ad18Dp/blib/lib/Apache/Session/Stor
e/DBI.pm

/usr/lib/perl5/site_perl/5.8.8/Apache/Session/Store/DBI.pm

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm

/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Bundle/DBI.pm

 

I have tried copying the file to
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Apache directory.
Apache starts but it throws a lot of strange errors which makes me think
manually copying the file is not the correct way to resolve the error.

 

 

My httpd.conf file looks like this:

 



   ServerName support.fakename.com

   DocumentRoot /opt/rt3/share/html

   AddDefaultCharset UTF-8

 

# this line applies to Apache2+mod_perl2 only

# Below line might be incorrect, I had to use:

# PerlModule Apache2::compat

# mod_perl 2.0.1 from FC4 Linux

# PerlModule Apache2 Apache::compat

 

 PerlModule Apache::DBI

 PerlRequire /opt/rt3/bin/webmux.pl

 

   

   SetHandler perl-script

   PerlHandler RT::Mason

   



 

 

Anyone know what might be the problem?

 

Thanks,

 

Mike

 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Problem with RT::Logger

2007-10-22 Thread Lamers, Dan
I had a working RT system up until this morning when it appears that
RT::Logger stopped functioning.  Last week I upgraded from 3.6.4 to 3.6.5
and everything appeared to work fine.  I shutdown the system for the weekend
and this morning I'm receiving a "500 Internal Server Error" when trying to
logon.  

 

My apache2/errorlog entry is:
  Can't call method "debug" on an undefined value at
/opt/rt3/local/lib/RT/CurrentUser_Local.pm line 59

 

The relevant perl line is"

  $RT::Logger->debug( "CreateFromExternalUserInfo: entered with args: ",
@lookupargs, "\n");

 

 

If I comment this line from the program, it proceeds to fail on the next
RT::Logger statement including RT::Logger->info calls.  If I comment out all
of the RT::Logger calls from this program, the system appears to function
normally.  

 

Any help would be greatly appreciated!

 

Thanks,

Dan



DISCLAIMER: The information in this message is confidential and may be
legally privileged. It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, or distribution of the message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error. Thank you. 


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

R: [rt-users] Move e-mail automaticly to queue?

2007-10-22 Thread Gianluca Cecchi

Stupid me!!!

In 
Custom action cleanup code I set as probably originally miswritten
self->TicketObj->SetQueue('Hardware');
 
While the correct statement was

$self->TicketObj->SetQueue('Hardware');

Sorry to the list ...

> -Messaggio originale-
> Da: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Per conto 
> di Gianluca Cecchi
> Inviato: lunedì 22 ottobre 2007 17.47
> A: rt-users@lists.bestpractical.com
> Oggetto: R: [rt-users] Move e-mail automaticly to queue?
> 
> I forgot to send the log presented in /var/log/messages:
> 
> Oct 22 17:57:18 rt RT: 
> <[EMAIL PROTECTED]> #75/857 - 
> Scrip 3  (/usr/lib/perl5/vendor_
> perl/5.8.8/RT/Action/SendEmail.pm:252)
> Oct 22 17:57:18 rt RT: 
> <[EMAIL PROTECTED]> sent  To: my 
> mail address (/usr/lib/per
> l5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:283)
> Oct 22 17:57:18 rt RT: 
> <[EMAIL PROTECTED]> #75/857 - 
> Scrip 4  (/usr/lib/perl5/vendor
> _perl/5.8.8/RT/Action/SendEmail.pm:252)
> Oct 22 17:57:18 rt RT: 
> <[EMAIL PROTECTED]> sent  Bcc: 
> another admin cc address (/usr/lib
> /perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:283)
> Oct 22 17:57:18 rt RT: Scrip 16 Commit failed: Can't locate 
> object method "TicketObj" via package "self" (perhap
> s you forgot to load "self"?) at (eval 548) line 2.  Stack:   
> [(eval 548):2]   [/usr/lib/perl5/vendor_perl/5.8.8
> /RT/ScripAction_Overlay.pm:242]   
> [/usr/lib/perl5/vendor_perl/5.8.8/RT/Scrip_Overlay.pm:507]   
> [/usr/lib/perl5/v
> endor_perl/5.8.8/RT/Scrips_Overlay.pm:195]   
> [/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm:181]
> [/usr/lib/perl5/vendor_perl/5.8.8/RT/Record.pm:1461]   
> [/usr/lib/perl5/vendor_perl/5.8.8/RT/Ticket_Overlay.pm:74
> 6]   
> [/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Email.pm:730]  
>  [/usr/share/rt3/html/REST/1.0/NoAuth/mail-ga
> teway:61] 
> (/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/UserDefined.pm:83)
> Oct 22 17:57:18 rt RT: Ticket 75 created in queue 'General' 
> by gcecchi (/usr/lib/perl5/vendor_perl/5.8.8/RT/Tick
> et_Overlay.pm:756) 
> 
> > -Messaggio originale-
> > Da: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Per conto di 
> > Gianluca Cecchi
> > Inviato: lunedì 22 ottobre 2007 17.37
> > A: rt-users@lists.bestpractical.com
> > Oggetto: R: [rt-users] Move e-mail automaticly to queue?
> > 
> >  
> > Hi Roy, one question: 
> > I create a special scrip for the "General" queue (Config -> 
> Queues -> 
> > General -> Scrips -> New scrip) as you suggested Then I get 
> it under 
> > "Current Scrips" of the queue.
> > The scrip is for condition "On Create"
> > By default for all queues there is "Scrip #3" for condition "On 
> > Create" (Autoreply To Requestors with template") Do I have 
> to delete 
> > the global scrip for this queue or not? How in case How are they 
> > parsed if there are global and per-queue scrips?
> > 
> > It seems that in my case I continue to get the global scrip 
> action...
> > Version is 3.6.5
> > Thanks,
> > Gianluca
> > 
> > 
> > > -Messaggio originale-
> > > Da: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Per 
> conto di Roy 
> > > El-Hames
> > > Inviato: martedì 17 luglio 2007 17.45
> > > A: Steve Anderson
> > > Cc: rt-users@lists.bestpractical.com
> > > Oggetto: Re: [rt-users] Move e-mail automaticly to queue?
> > > 
> > > But if you want to do from RT you can easily by creating a
> > > queue->scrip in the queue receiving the email; Condition:On
> > > Create Action:user defined Template : Blank
> > > 
> > > Custom action prep code: return 1;
> > > Custom action cleanup code: if ($self->TicketObj->Subject(
> > ) =~ /YOUR
> > > SUBJECT YOU WANT TO MATCH/i ) {
> > >
> > > self->TicketObj->SetQueue('Your distenation q name or id');
> > > return 1;
> > > }
> > > return undef;
> > > 
> > > Regards;
> > > Roy
> > > 
> > > 
> > > 
> > > Steve Anderson wrote:
> > > > Hi,
> > > >
> > > > Don't try to use RT to put the email into the queues. Use
> > your mail
> > > > filtering to run different commands with rt-mailgate.
> > > >
> > > > Set up I have running here has an Exim filter sitting in
> > > the RT users
> > > > directory, and that feeds mail where it should go, and
> > > discards ones
> > > > which match particular criteria, like really big ones,
> > for example.
> > > >
> > > >
> > > > Procmail would also allow you to do that kind of filtering.
> > > >
> > > >
> > > > Steve Anderson.
> > > >
> > > >
> > > > -Original Message-
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On Behalf
> > > Of Machiel
> > > > van Veen
> > > > Sent: 17 July 2007 16:11
> > > > To: rt-users@lists.bestpractical.com
> > > > Subject: [rt-users] Move e-mail automaticly to queue?
> > > >
> > > > Hi list,
> > > >
> > > > A question, I would like people to be able to send 
> e-mail to one 
> > > > a

R: [rt-users] Move e-mail automaticly to queue?

2007-10-22 Thread Gianluca Cecchi
I forgot to send the log presented in /var/log/messages:

Oct 22 17:57:18 rt RT: <[EMAIL PROTECTED]> #75/857 - Scrip 3  
(/usr/lib/perl5/vendor_
perl/5.8.8/RT/Action/SendEmail.pm:252)
Oct 22 17:57:18 rt RT: <[EMAIL PROTECTED]> sent  To: my mail address 
(/usr/lib/per
l5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:283)
Oct 22 17:57:18 rt RT: <[EMAIL PROTECTED]> #75/857 - Scrip 4  
(/usr/lib/perl5/vendor
_perl/5.8.8/RT/Action/SendEmail.pm:252)
Oct 22 17:57:18 rt RT: <[EMAIL PROTECTED]> sent  Bcc: another admin cc address 
(/usr/lib
/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:283)
Oct 22 17:57:18 rt RT: Scrip 16 Commit failed: Can't locate object method 
"TicketObj" via package "self" (perhap
s you forgot to load "self"?) at (eval 548) line 2.  Stack:   [(eval 548):2]   
[/usr/lib/perl5/vendor_perl/5.8.8
/RT/ScripAction_Overlay.pm:242]   
[/usr/lib/perl5/vendor_perl/5.8.8/RT/Scrip_Overlay.pm:507]   [/usr/lib/perl5/v
endor_perl/5.8.8/RT/Scrips_Overlay.pm:195]   
[/usr/lib/perl5/vendor_perl/5.8.8/RT/Transaction_Overlay.pm:181]
[/usr/lib/perl5/vendor_perl/5.8.8/RT/Record.pm:1461]   
[/usr/lib/perl5/vendor_perl/5.8.8/RT/Ticket_Overlay.pm:74
6]   [/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Email.pm:730]   
[/usr/share/rt3/html/REST/1.0/NoAuth/mail-ga
teway:61] (/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/UserDefined.pm:83)
Oct 22 17:57:18 rt RT: Ticket 75 created in queue 'General' by gcecchi 
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Tick
et_Overlay.pm:756) 

> -Messaggio originale-
> Da: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Per conto 
> di Gianluca Cecchi
> Inviato: lunedì 22 ottobre 2007 17.37
> A: rt-users@lists.bestpractical.com
> Oggetto: R: [rt-users] Move e-mail automaticly to queue?
> 
>  
> Hi Roy, one question: 
> I create a special scrip for the "General" queue (Config -> 
> Queues -> General -> Scrips -> New scrip) as you suggested 
> Then I get it under "Current Scrips" of the queue.
> The scrip is for condition "On Create"
> By default for all queues there is "Scrip #3" for condition 
> "On Create" (Autoreply To Requestors with template") Do I 
> have to delete the global scrip for this queue or not? How in 
> case How are they parsed if there are global and per-queue scrips?
> 
> It seems that in my case I continue to get the global scrip action...
> Version is 3.6.5
> Thanks,
> Gianluca
> 
> 
> > -Messaggio originale-
> > Da: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Per conto di Roy 
> > El-Hames
> > Inviato: martedì 17 luglio 2007 17.45
> > A: Steve Anderson
> > Cc: rt-users@lists.bestpractical.com
> > Oggetto: Re: [rt-users] Move e-mail automaticly to queue?
> > 
> > But if you want to do from RT you can easily by creating a
> > queue->scrip in the queue receiving the email; Condition:On
> > Create Action:user defined Template : Blank
> > 
> > Custom action prep code: return 1;
> > Custom action cleanup code: if ($self->TicketObj->Subject( 
> ) =~ /YOUR 
> > SUBJECT YOU WANT TO MATCH/i ) {
> >
> > self->TicketObj->SetQueue('Your distenation q name or id');
> > return 1;
> > }
> > return undef;
> > 
> > Regards;
> > Roy
> > 
> > 
> > 
> > Steve Anderson wrote:
> > > Hi,
> > >
> > > Don't try to use RT to put the email into the queues. Use 
> your mail 
> > > filtering to run different commands with rt-mailgate.
> > >
> > > Set up I have running here has an Exim filter sitting in
> > the RT users
> > > directory, and that feeds mail where it should go, and
> > discards ones
> > > which match particular criteria, like really big ones, 
> for example.
> > >
> > >
> > > Procmail would also allow you to do that kind of filtering.
> > >
> > >
> > > Steve Anderson.
> > >
> > >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf
> > Of Machiel
> > > van Veen
> > > Sent: 17 July 2007 16:11
> > > To: rt-users@lists.bestpractical.com
> > > Subject: [rt-users] Move e-mail automaticly to queue?
> > >
> > > Hi list,
> > >
> > > A question, I would like people to be able to send e-mail to one 
> > > address and have RT automaticly move it to a queue based on a 
> > > predefined subject.
> > >
> > > As I understand it either all queues would have their own e-mail 
> > > address or you would filter incoming e-mail manually. 
> Would anyone 
> > > know a way to get RT to move the email to a queue automaticly?
> > >
> > > Many thanks in advance for any help on this.
> > >
> > >   
> > 
> > ___
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> > 
> > Community help: http://wiki.bestpractical.com Commercial
> > support: [EMAIL PROTECTED]
> > 
> > 
> > Discover RT's hidden secrets with RT Essentials from 
> O'Reilly Media. 
> > Buy a copy at http://rtbook.bestpractical.com
> > 
>

R: [rt-users] Move e-mail automaticly to queue?

2007-10-22 Thread Gianluca Cecchi
 
Hi Roy, one question: 
I create a special scrip for the "General" queue (Config -> Queues -> General 
-> Scrips -> New scrip) as you suggested
Then I get it under "Current Scrips" of the queue.
The scrip is for condition "On Create"
By default for all queues there is "Scrip #3" for condition "On Create" 
(Autoreply To Requestors with template") 
Do I have to delete the global scrip for this queue or not? How in case
How are they parsed if there are global and per-queue scrips?

It seems that in my case I continue to get the global scrip action...
Version is 3.6.5
Thanks,
Gianluca


> -Messaggio originale-
> Da: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Per conto 
> di Roy El-Hames
> Inviato: martedì 17 luglio 2007 17.45
> A: Steve Anderson
> Cc: rt-users@lists.bestpractical.com
> Oggetto: Re: [rt-users] Move e-mail automaticly to queue?
> 
> But if you want to do from RT you can easily by creating a 
> queue->scrip in the queue receiving the email; Condition:On 
> Create Action:user defined Template : Blank
> 
> Custom action prep code: return 1;
> Custom action cleanup code: if ($self->TicketObj->Subject( ) 
> =~ /YOUR SUBJECT YOU WANT TO MATCH/i ) {
>
> self->TicketObj->SetQueue('Your distenation q name or id');
> return 1;
> }
> return undef;
> 
> Regards;
> Roy
> 
> 
> 
> Steve Anderson wrote:
> > Hi,
> >
> > Don't try to use RT to put the email into the queues. Use your mail 
> > filtering to run different commands with rt-mailgate.
> >
> > Set up I have running here has an Exim filter sitting in 
> the RT users 
> > directory, and that feeds mail where it should go, and 
> discards ones 
> > which match particular criteria, like really big ones, for example.
> >
> >
> > Procmail would also allow you to do that kind of filtering.
> >
> >
> > Steve Anderson.
> >
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf 
> Of Machiel 
> > van Veen
> > Sent: 17 July 2007 16:11
> > To: rt-users@lists.bestpractical.com
> > Subject: [rt-users] Move e-mail automaticly to queue?
> >
> > Hi list,
> >
> > A question, I would like people to be able to send e-mail to one 
> > address and have RT automaticly move it to a queue based on a 
> > predefined subject.
> >
> > As I understand it either all queues would have their own e-mail 
> > address or you would filter incoming e-mail manually. Would anyone 
> > know a way to get RT to move the email to a queue automaticly?
> >
> > Many thanks in advance for any help on this.
> >
> >   
> 
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com Commercial 
> support: [EMAIL PROTECTED]
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT 3.6.5 Setup / LDAP

2007-10-22 Thread Robert Logan
I look forward to hearing of this Robert. Its one of those things Ive
been putting off for too long.

David ROBERT wrote:
> Hello,
> 
> With the precious help of some members of the mailing list, first and
> foremost Edward Kovarski, we managed to get our RT 3.6.5 to run properly
> on our RHEL5 server along with LDAP authentication with a Windows 2003
> ActiveDirectory.
> 
> I'll try to post here and/or on the wiki pages a kind of "RT3.6.5 & LDAP
> for the Dummies" (as I consider myself a RT Dummy) to sum up all the
> problems I faced and how those were sovled (most of the needed info is
> there in the mailing list, on the internet, in the forums and in the
> Wiki but some bits and direction where missing hence the troubles for a
> newby).
> 
> I hope this way to contribute rather than be a simple "consumer".
> 
> If anybody is facing similar problems with a similar config, I'll gladly
> try to give a hand as some of us kindly did for me.
> 
> yours,
> 
> David
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] referencing user custom fields in TicketSQL?

2007-10-22 Thread Jesse Vincent


On Oct 21, 2007, at 9:10 PM, Mark D. Nagel wrote:

Is there any way to reference a user's custom fields via  
TicketSQL?   The reason for wanting this is for running ticket  
reports based on those fields, e.g., show tickets opened by all  
users with a particular custom field value, etc.  Seems like it  
should a simple thing to do, but I have looked in the list archives  
and wiki, and I have not found anything yet. If anyone has any  
pointers, I'd appreciate it.




Not currently, no.

Best,
Jesse



Thank you,
Mark

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly  
Media. Buy a copy at http://rtbook.bestpractical.com






PGP.sig
Description: This is a digitally signed message part
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

RE: [rt-users] Why does the content of a ticket sometimes end upbeing created as an attachement?

2007-10-22 Thread Patterson, Craig
Mike, 

I had that problem with version 3.4.2.  However, after upgrading to
3.6.4, the problem no longer is an issue.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Gracy
Sent: Friday, October 19, 2007 8:48 PM
To: RT-Users@lists.bestpractical.com
Subject: Re: [rt-users] Why does the content of a ticket sometimes end
upbeing created as an attachement?

Mike Gracy wrote:
> Sometimes autogenerated tickets get created with the content as an 
> attachment when no attachment was sent with the email.
> In the body of the ticket it will state there appears to be no
content.
>
Sorry, amending this:
The email that the user gets back states that there appears to be no 
content, but the content is there when viewed in the web interface.

-- 
Mike Gracy
www.MyPoints.com
Unix/Network Sysadmin

525 Market St.
34th Floor
San Francisco, Ca 94105

Desk-415.829.6174
Fax-415-829-6174

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] permission denied message when replied to the autogenerated mail

2007-10-22 Thread Krishna Prasad
Hi,

 

I have a query regarding permission denied:

 

I have created a ticket through email and RT creates a ticket. I got an
auto-generated mail from RT, to that mail I have replied/forwarded. But
after few minutes I got permission denied message from RT like "Message not
recorded: RE: [rt3.spartanlabs.local #91] AutoReply: vod issue #22-2". I
have given queue group's rights for requestor as reply to ticket; still I'm
getting the permission denied message. 

 

I also tried giving the group rights to everyone as ReplyToTicket, and then
it works. But I don't want giving permissions to everyone to ReplyToTicket.

 

What I want is if I give rights to requestor I should not get permission
denied message. Please let me know what I did wrong.

 

 

Thanks!!!

 

 

With Regards, 

Krishna Prasad 

 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

RE: [rt-users] RT 3.6.5 Setup / LDAP

2007-10-22 Thread David ROBERT
Hello,

With the precious help of some members of the mailing list, first and
foremost Edward Kovarski, we managed to get our RT 3.6.5 to run properly
on our RHEL5 server along with LDAP authentication with a Windows 2003
ActiveDirectory.

I'll try to post here and/or on the wiki pages a kind of "RT3.6.5 & LDAP
for the Dummies" (as I consider myself a RT Dummy) to sum up all the
problems I faced and how those were sovled (most of the needed info is
there in the mailing list, on the internet, in the forums and in the
Wiki but some bits and direction where missing hence the troubles for a
newby).

I hope this way to contribute rather than be a simple "consumer".

If anybody is facing similar problems with a similar config, I'll gladly
try to give a hand as some of us kindly did for me.

yours,

David
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RT tickets resolved and tickets unowned list problem

2007-10-22 Thread dsa sadf
Hi everyone,

I am using RT 3.4.5, running on a CentOS box. I was trying to restrict some 
privileged users from seeing tickets on queues they weren't allowed to. I 
managed to do that but in the process caused the 'Top 10 Resolved tickets' and 
'Top 10 Unowned tickets' lists to display inaccurate tickets. For example, the 
'Top 10 Resolved tickets' list shows some unowned and new tickets and the 'Top 
10 Unowned tickets' list shows some resolved tickets. 

I had added the following code to my 'MyRequests' file in order to restrict 
queue access for that user:

my $Queues = RT::Queues->new($session{'CurrentUser'});
$Queues->UnLimit();
my $myQueues = "";
while (my $queue = $Queues->Next) {
   next unless ($queue->CurrentUserHasRight('ShowTicket'));
   $myQueues .= " OR Queue = '" . $queue->Name . "'";
}
$myQueues =~ s/^ OR //g;


my $Query = "Owner = 'Nobody' AND $myQueues AND ( Status = 'new' OR Status = 
'open')"; 

and for the 'MyResolved' file, the same code except for the last line which 
reads:

my $Query = "Owner = 'Nobody' AND $myQueues AND ( Status = 'resolved)"; 


Could anyone help me identify what the problem could be?


Regards,

Raj

 
 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Change the logo

2007-10-22 Thread Kobus Bensch

Hi

Thanks for the replies and Robert was right. After a lot of pulling hair 
as a last resort i restarted my apache and it worked.


Thanks again

Kobus

Robert Long wrote:

Drew Barnes wrote:
  

http://wiki.bestpractical.com/view/ChangeLogo

  


I think the relevant line for Kobus Bensch is:

"Restart your webserver and enjoy a highly configurable logo."

.r'

  
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com