[rt-users] Set Subject in if/then clause

2012-02-01 Thread Giuseppe Sollazzo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to set up a different subject for different queues in the same template (autoreply). This doesn't seem to work: { if ($Ticket-QueueObj-Name eq 'Work Queue') { Subject: Helpdesk Job Logged: {$Ticket-Subject} Output this; } elsif

[rt-users] view agent attached file/image in a reply/comment

2012-02-01 Thread Mayk Backus
Hi list, I noticed that when a reply is made on a ticket by one of our agents, and there's an attachement i can't view this. For example when someone sends a screenshot of something, i can see the file is attached when downloading the it with headers , but is there a way to view the attachment

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Joe Harris
I am pretty sure you can define that on the queue edit screen. I set up different subject prefixes per queue when I created them. As long as it is a per queue difference and not changes within a queue based on something else. Someone correct me if I'm wrong. Sent from my mobile device. On

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Giuseppe Sollazzo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/02/12 12:03, Joe Harris wrote: I am pretty sure you can define that on the queue edit screen. I set up different subject prefixes per queue when I created them. As long as it is a per queue difference and not changes within a queue based on

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Gerard FENELON
Hi Giuseppe what is your definition of This doesn't seem to work ? what is the (bad) behaviour that you are seeing ? Does an email get sent or not ? What is its subject line and content ? Anything in the logs ? Gerard On 2012-02-01 12:03, Giuseppe Sollazzo wrote: Hi, I'm trying to set up a

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Giuseppe Sollazzo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/02/12 13:08, Gerard FENELON wrote: Hi Giuseppe what is your definition of This doesn't seem to work ? what is the (bad) behaviour that you are seeing ? Does an email get sent or not ? What is its subject line and content ? Anything in the

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Gerard FENELON
Try something like Subject: { if ($Ticket-QueueObj-Name eq 'Work Queue') { Helpdesk Job Logged: {$Ticket-Subject} Output this; } elsif ($Ticket-QueueObj-Name eq 'Task Queue') { Support Job Logged: {$Ticket-Subject} Output that; } else { Output other; } } In other words, your perl script should

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Giuseppe Sollazzo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/02/12 13:30, Gerard FENELON wrote: Try something like Subject: { if ($Ticket-QueueObj-Name eq 'Work Queue') { Helpdesk Job Logged: {$Ticket-Subject} Output this; } elsif ($Ticket-QueueObj-Name eq 'Task Queue') { Support Job Logged:

[rt-users] Prepared statement already exists...

2012-02-01 Thread Matthias Leisi
Hello, I got some support debugging my prepared statement already exists issue with RT 4.0.4 on #rt, but I believe it is more efficient on the mailing list. I'm not fully sure whether this is an issue in RT, in Postgresql or DBI, or something completely different, but I'll try to start at RT. We

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Giuseppe Sollazzo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gerard, many thanks - that worked. I really need to refresh my Perl... Cheers, Giuseppe On 01/02/12 13:49, Gerard FENELON wrote: I suspect my proposal is wrong Try instead Subject: { if ($Ticket-QueueObj-Name eq 'Work Queue') { Helpdesk Job

Re: [rt-users] Prepared statement already exists...

2012-02-01 Thread Matthias Leisi
One addition: * perl -MDBI -le 'print $DBI::VERSION' = 1.609 on both systems. DBD::Pg is at 2.18.1, which seems to be the most recent released version according to http://search.cpan.org/dist/DBD-Pg/Pg.pm -- Matthias RT Training Sessions

Re: [rt-users] view agent attached file/image in a reply/comment

2012-02-01 Thread Bart
Add these options to your RT_SiteConfig.pm: # --- # HTML Attachments # --- Set($TrustHTMLAttachments, 1); Set($PreferRichText, 1); -- Bart Op 1 februari 2012 12:07 schreef Mayk Backus bac...@nlcom.nl het volgende: Hi list, I noticed that when a reply is made on a ticket by one of our

Re: [rt-users] Help installing RT4 on Ubuntu

2012-02-01 Thread Bart
Hi, Are you trying to do the source installation on Ubuntu? (btw, which version of Ubuntu?) At least, it looks that way. If the above is what you've done then I really don't understand the external auth errors your getting, a clean installation doesn't contain external auth... My advise would

[rt-users] RT 4 Approvals?

2012-02-01 Thread Jeff Blaine
Where might I find information on the per-queue setting for Workflow which has a choice called Approval What is the idea? Where is it explained? How does one make use of it? I converted a test queue to use the Approval workflow, submitted a ticket, resolved the ticket, and saw nothing out of

Re: [rt-users] Two questions

2012-02-01 Thread Kevin Falcone
On Tue, Jan 31, 2012 at 12:54:04PM -0500, Josh Narins wrote: On Tue, Jan 31, 2012 at 09:28:00AM -0500, Josh Narins wrote: I got partway along writing a Mail Plugin for RT3.8, but, somewhere along the way, I lost it. Can anyone point me to any documentation on them? My goal is to

Re: [rt-users] Unknown encoding in rt-mailgate

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 07:42:29AM +0100, Robert Wysocki wrote: Dnia 2012-01-31, wto o godzinie 21:43 +0400, Ruslan Zakirov pisze: Was it a mistake in encoding or just unsupported one? Anyway, it should be reported as a bug report with more details about what was in headers and what is

Re: [rt-users] Full text search problem on sphinx v4.0.4

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 01:32:30PM +0900, Toru wrote: I am testing rt v4.0.4 with mysql(compiled with sphinx capability) and having some trouble in full text searching. Here are some sample search queries from rt. - Case1: full text search ok with returning right results.

Re: [rt-users] Set Subject in if/then clause

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 01:55:34PM +, Giuseppe Sollazzo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Gerard, many thanks - that worked. I really need to refresh my Perl... Cheers, Giuseppe On 01/02/12 13:49, Gerard FENELON wrote: I

Re: [rt-users] Prepared statement already exists...

2012-02-01 Thread Ruslan Zakirov
Hi, From what you have posted I suspect that problem is in DBI/DBD::Pg modules. When you check version of the modules, double check with RT's UI to make sure what you get in command line interface matches what RT loads. Try downgrading DBD::Pg. As workaround you can try to disable server side

Re: [rt-users] view agent attached file/image in a reply/comment

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 03:49:45PM +0100, Bart wrote: Add these options to your RT_SiteConfig.pm: # --- # HTML Attachments # --- This is the config that will do what he wants Set($PreferRichText, 1); This one means that when you click Download on an HTML attachment,

Re: [rt-users] RT 4 Approvals?

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 11:43:29AM -0500, Jeff Blaine wrote: Where might I find information on the per-queue setting for Workflow which has a choice called Approval What is the idea? Where is it explained? How does one make use of it? I converted a test queue to use the Approval

Re: [rt-users] Unknown encoding in rt-mailgate

2012-02-01 Thread Ruslan Zakirov
On Wed, Feb 1, 2012 at 23:11, Kevin Falcone falc...@bestpractical.com wrote: On Wed, Feb 01, 2012 at 07:42:29AM +0100, Robert Wysocki wrote: Dnia 2012-01-31, wto o godzinie 21:43 +0400, Ruslan Zakirov pisze: Was it a mistake in encoding or just unsupported one? Anyway, it should be

Re: [rt-users] RT 4 Approvals?

2012-02-01 Thread Jeff Blaine
The Lifecycle (I'm not sure where Workflow came from) field on a Queue changes which statuses are available in that queue. Changing a random queue from default to approval doesn't turn it into an Approval queue. That Lifecycle is only intended to be used on the ___Approvals queue and there's a

Re: [rt-users] RT 4 Approvals?

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 03:39:45PM -0500, Jeff Blaine wrote: The Lifecycle (I'm not sure where Workflow came from) field on a Queue changes which statuses are available in that queue. Changing a random queue from default to approval doesn't turn it into an Approval queue. That Lifecycle is

[rt-users] External Auth using Active Directory 2008

2012-02-01 Thread Howell, Van
I am new to RT, Just setup a 4.0.4 server this week. I am using CentOS 6.2 64 bit. MySQL Apache I used Ken Prickett's CentOS5InstallPlus Some WIKI instructions and made the necessary mods to get things working, so to speak. I am using the RT_SiteConfig.pm provided in the install doc. The only

Re: [rt-users] External Auth using Active Directory 2008

2012-02-01 Thread Kevin Falcone
On Wed, Feb 01, 2012 at 11:04:38PM +, Howell, Van wrote: I have added several users into the RTUsers group I set up in AD. The AD Administrator, a common Domain User called Test.Account that is located in the OU with all my other users, my personal account also located in the

Re: [rt-users] Help installing RT4 on Ubuntu

2012-02-01 Thread 20/20 Lab
It looks like your running this as a dedicated server (or a virtual host [ie rt.place.tld]). I run it as a page. Its on the same server as my nagios install. here is my rt section. There are a number of differences, but its someplace to start trying. I also had to add LoadModule

[rt-users] RT-Authen-ExternalAuth plugin causes 'Can't locate Apache.pm in @INC' issue

2012-02-01 Thread Srikumar Nair
We have a RT 4.0.4 installation running on Apache. We have some front end PHP code that calls Perl scripts which use Perl RT APIs for RT interactions. Recently we installed the RT-Authen-ExternalAuth plugin (version 0.09) to RT. This creates the the following error when ever the php tries to

Re: [rt-users] RT-Authen-ExternalAuth plugin causes 'Can't locate Apache.pm in @INC' issue

2012-02-01 Thread Bart
Are you only getting the errors when executing the custom PHP/Perl code? Or does this also affect RT's user interface/functionality? -- Bart Op 2 februari 2012 02:33 schreef Srikumar Nair srikum...@fb.com het volgende: We have a RT 4.0.4 installation running on Apache. We have some front