Re: [rt-users] apache 100% cpu usage

2011-03-20 Thread Mathieu Longtin
I found out a while ago that looping emails would cause RT to go crazy like that. I disabled $LoopsToRTOwner and the problem disappeared. I didn't have time to debug the issue further... -- Mathieu Longtin 1-514-803-8977 On Sun, Mar 20, 2011 at 4:19 AM, Payam Poursaied wrote: > >

[rt-users] question about Best Practical's RT site

2011-02-08 Thread Mathieu Longtin
have. Do you have a custom UI shortcut to make a ticket part of a release? -- Mathieu Longtin 1-514-803-8977

Re: [rt-users] Rép. : Re: CommandByMail only for certain queue

2011-01-24 Thread Mathieu Longtin
In RT_SiteConfig.pm Set($CommandByMailGroup, 408305); The number is the group id. It can't be the name, has to be the id. -- Mathieu Longtin 1-514-803-8977 On Mon, Jan 24, 2011 at 1:42 AM, Horst Kriegers wrote: > Kevin, > > thanks for your answer. > > I've searched

[rt-users] redirect on logout

2011-01-21 Thread Mathieu Longtin
rward them? Thanks -- Mathieu Longtin 1-514-803-8977

[rt-users] How would I send messages from postmaster to another separate queue?

2011-01-07 Thread Mathieu Longtin
Is there a way in RT, without mucking about with the mail server, for a incoming message from postmaster to be shifted to another queue? Thanks -- Mathieu Longtin 1-514-803-8977

Re: [rt-users] Scrip modifies ticket, but downstream scrips don't see the updates

2011-01-06 Thread Mathieu Longtin
There's also some actions, like Notify, that read their data in prepare, so any changes done in commit won't be seen. Been bitten. -- Mathieu Longtin 1-514-803-8977 On Thu, Jan 6, 2011 at 11:39 AM, Sue D. Nymme wrote: > > Hot dig! Changing the second scrip to "Transac

[rt-users] Export of setup data

2010-12-15 Thread Mathieu Longtin
Is there an easy way to export Scrips, Actions, Templates, etc. for use by rt-setup-database? Thanks! -- Mathieu Longtin 1-514-803-8977

[rt-users] CommandByMailGroup must be an ID?

2010-12-14 Thread Mathieu Longtin
Why does the CommandByMailGroup need to be an ID rather than a name? It seems weird to have a numeric ID in the database. -- Mathieu Longtin 1-514-803-8977

Re: [rt-users] Accented Character in Subject - Email is not sent

2010-12-01 Thread Mathieu Longtin
I just submitted a patch for this: http://issues.bestpractical.com/Ticket/Display.html?id=16052;user=guest;pass=guest -- Mathieu Longtin 1-514-803-8977 On Wed, Dec 1, 2010 at 8:42 AM, Sergio Charpinel Jr. < sergiocharpi...@gmail.com> wrote: > Hi, > > I have a RT 3.8.8 which wa

[rt-users] utf8 in email headers is not decoded properly

2010-11-15 Thread Mathieu Longtin
t really, so it doesn't get decoded. And that goes into the database, which is then used everywhere, and I see this in my tickets: test d'à cçênts Now, where should I fix this? - In Attachment_Overlay, force the decoding - In RT::I18N, SetMIMEHeadToEncoding. Thanks -- Mathieu Longtin 1-514-803-8977

Re: [rt-users] Can't locate object method "mime_name" via package "Encode::utf8"

2010-11-15 Thread Mathieu Longtin
For those using Red Hat, use this cpan configuration: % cpan cpan> o conf makepl_arg INSTALLDIRS=site cpan> o conf commit That way, whenever Red Hat updates perl, packages installed via CPAN won't get overwritten. -- Mathieu Longtin 1-514-803-8977 On Fri, Nov 12, 2010 at 2:05 PM,

Re: [rt-users] Ticket creation adds content automatically

2010-11-10 Thread Mathieu Longtin
Check this thread. http://www.gossamer-threads.com/lists/rt/users/96835 -- Mathieu Longtin 1-514-803-8977 On Wed, Nov 10, 2010 at 3:32 PM, Kris Germann wrote: > Hey guys, > > So I'm having a bit of trouble here... > > I'm trying to create a scrip to run, which is whe

Re: [rt-users] A new home for the wiki

2010-11-05 Thread Mathieu Longtin
Search doesn't seem to work at all. Is that normal? I searched for stuff I know should be in there, and nothing came up. -- Mathieu Longtin 1-514-803-8977 On Thu, Nov 4, 2010 at 1:01 PM, Thomas Sibley wrote: > Hi folks, > > In the very near future we're planning to move t

Re: [rt-users] RT plugin

2010-10-20 Thread Mathieu Longtin
Looking at RTx-EmailCompletion, they include extra Javascript with a callback file: local/plugins/RTx-EmailCompletion/html/Callbacks/RTx-EmailCompletion/Elements/Header/Head That gets included in all headers. -- Mathieu Longtin 1-514-803-8977 On Wed, Oct 20, 2010 at 3:57 AM, Vitaly

Re: [rt-users] how to pre-fill fields?

2010-10-18 Thread Mathieu Longtin
My bad, all access to ARGSRef need to be like this: $ARGSRef->{'id'} $ARGSRef->{'Subject'} With the ->. -- Mathieu Longtin 1-514-803-8977 On Sun, Oct 17, 2010 at 8:48 PM, Jason Edgar wrote: > Thanks Mathieu: I got it. An extra $ was needed before ARGSR

Re: [rt-users] how to pre-fill fields?

2010-10-17 Thread Mathieu Longtin
. <%INIT> my $ARGSRef = $ARGS{'ARGSRef'}; if ( not $ARGSRef{'id'} ) { # Check if the ticket is really empty before doing anything $ARGSRef{'Subject'} ||= 'Default subject'; $ARGSRef{'Requestor'} ||= 'mydefa...@requestor.com'; } <%

Re: [rt-users] how to pre-fill fields?

2010-10-16 Thread Mathieu Longtin
If you're coming from another page, you can post the value of the fields you want. Look at share/html/Ticket/Create for the variable names. If you want to put default values, create a callback for Ticket/Create that would fill the required fields. -- Mathieu Longtin 1-514-803-8977 On Sat

Re: [rt-users] mandatory subject

2010-10-05 Thread Mathieu Longtin
Or saving the changed file in local/lib/RT/Interface/Email.pm instead. That way you don't lose the changes at the next upgrade. -- Mathieu Longtin 1-514-803-8977 On Tue, Oct 5, 2010 at 1:21 PM, Steve Anderson < steve.ander...@bipsolutions.com> wrote: > As with the threa

Re: [rt-users] problem with attached files not sent

2010-04-14 Thread Mathieu Longtin
Don't know if it's related, but there some issue with selecting the proper txt and html pair as the message body when sending emails. It will often pick up an attached text file as the body of the message, and then attach the body separately. -- Mathieu Longtin 1-514-803-8977 On W

Re: [rt-users] RT_CorrespondAddressNotSet

2010-01-12 Thread Mathieu Longtin
That means you didn't configure the $CorrespondAddress or $CommentAddress in etc/RT_SiteConfig.pm. -- Mathieu Longtin 1-514-803-8977 On Tue, Jan 12, 2010 at 12:24 PM, Wagner Pereira wrote: > Hi, folks. > > I have noticed, running my preliminary tests, when the RT System send an

[rt-users] mod_perl took huge amount of memory until I cleaned mason_data and session_data

2010-01-04 Thread Mathieu Longtin
reboot the server once more. I managed to fix it by cleaning mason_data and session_data. I have no idea why that would do anything, but that fixed it. Maybe some weird memory leak. -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin

[rt-users] why are Notify actions setting the recipients in prepare rather than commit?

2009-12-17 Thread Mathieu Longtin
et the recipients in the "prepare" section and have the action do nothing? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpracti

Re: [rt-users] [FOUND WHY] transaction batch doesn't always get executed

2009-12-10 Thread Mathieu Longtin
ix is to make Type public in Transaction_Overlay::_OverlayAccessible. Type => { public => 1}, But there is probably a reason why it's not accessible. Is there a way for one line of code to override the permission system? Just lost a day figuring this out -- Mathieu Longtin 1-514-803-89

[rt-users] transaction batch doesn't always get executed

2009-12-10 Thread Mathieu Longtin
than their email addresses. If I take Harris' email, change the email address to Zonker, it works fine. Did anyone ever see that? Any fix? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Mathieu Longtin
I'm running it on Red Hat ES 5.4 without issues. The only thing about RH and RT, is that you need to re-install File::Temp everytime the perl RPM is updated. -- Mathieu Longtin 1-514-803-8977 On Fri, Nov 13, 2009 at 1:02 PM, Gary L. Greene, Jr. < ggre...@minervanetworks.com> wrote:

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-13 Thread Mathieu Longtin
For starters, this sound like httpd crashing and leaving lock files behind. Not sure how to deal with it. Check you log in /var/log/httpd/error_log for errors. -- Mathieu Longtin 1-514-803-8977 On Fri, Nov 13, 2009 at 12:27 AM, Mike wrote: > I am disappointed to report that the fix did

Re: [rt-users] Perl is Broken after Centos 5.4 update

2009-11-11 Thread Mathieu Longtin
How to fix it: cpan File::Temp How to future proof it: Setup cpan to install File::Temp in site_perl instead of the default location, that way it won't get overwritten next time perl is updated. -- Mathieu Longtin 1-514-803-8977 On Wed, Nov 11, 2009 at 11:48 PM, Mike wrote: > Doe

Re: [rt-users] text attachment get mixed up

2009-11-11 Thread Mathieu Longtin
53345 NULLfilename.txttext/plain But if RT sees a multipart/* as the main message, it assumes the first text/plain it finds is the right one. But if the first attachment is in a multipart/mixed is a multipart/alternative, then you have to get the first text/plain in there. -- Mathieu Longtin 1-51

[rt-users] text attachment get mixed up

2009-11-11 Thread Mathieu Longtin
the right plain/text attachment. This is RT 3.8.5. -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Dis

[rt-users] Patch for approvals

2009-10-26 Thread Mathieu Longtin
take effect. So I fixed that by (1) using "Notify AdminCcs" instead of "Notify Owner", and (2) by changing the owner of the approval ticket, if it wasn't set. The patch after the fold. -- Mathieu Longtin 1-514-803-8977 diff -ur lib/RT/Approval/Rule/NewPending.pm local

Re: [rt-users] RT and Fetchmail

2009-10-21 Thread Mathieu Longtin
You should know that if a ticket is in file5, a follow up, even if rt-mailgate assigns it to "General", will still find the right ticket. You could also create a scrips to change a ticket to another queue on creation based on sender, or whatever, if that's what you want. -- Mathie

Re: [rt-users] Approval notification

2009-10-14 Thread Mathieu Longtin
cket approved by Nobody". The whole Ruleset thing is kind of nice though, it makes it easy to code some extensions that involve scrip functionality without inserting scrips all over the place. -- Mathieu Longtin 1-514-803-8977 On Wed, Oct 14, 2009 at 2:43 PM, Mathieu Longtin wrote: >

[rt-users] Approval notification

2009-10-14 Thread Mathieu Longtin
f->GetTemplate('New Pending Approval', TicketObj => $top, TransactionObj => $to) or return; Was the "return" in the middle left there by mistake? No email is ever sent since there is no owne

[rt-users] Get a list of overdue tickets

2009-10-07 Thread Mathieu Longtin
ot; and "sysdate". Thanks for your help -- Mathieu Longtin ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secr

Re: [rt-users] RT <-> Trac integration

2009-09-24 Thread Mathieu Longtin
Create a custom field, then setup the "link values to" field to point to Trac's ticket. You can put an arbitrary URL in there that includes the value of your custom field, your CF, in your case. From: "Lander, Scott" > > All, > >I have a need to link together RT tickets and Trac tickets. >

[rt-users] modifying the create ticket screen

2009-08-06 Thread Mathieu Longtin
Is there a way to modify the form for ticket creation, so I can place the fields where I want them? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http

[rt-users] memory leaks

2009-04-27 Thread Mathieu Longtin
-mailgate. I had to reduce the number of request served by apache before restarting a process, just to keep the memory usage under control. Is there anything I can do to fix this? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi

Re: [rt-users] is it possible to demerge a ticket?

2009-02-17 Thread Mathieu Longtin
Thanks, that worked. Go in the DB, change the effectiveid of the ticket back to its ID. It could be easier, but not the end of the world. -- Mathieu Longtin 1-514-803-8977 On Mon, Feb 16, 2009 at 12:28 PM, Emmanuel Lacour wrote: > On Mon, Feb 16, 2009 at 12:20:38PM -0500, Mathieu Long

[rt-users] is it possible to demerge a ticket?

2009-02-16 Thread Mathieu Longtin
Hi, somebody here merged a ticket with another one, but shouldn't have. Is it possible to split the tickets again? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help:

[rt-users] template on ticket creation

2008-10-30 Thread Mathieu Longtin
When I create a ticket, is there a way to initially fill the description with some template? Then the user can edit it, remove it if necessary. Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt

[rt-users] how do you change the columns to display

2008-10-02 Thread Mathieu Longtin
I just added a custom field, and I'd like it to display in the default searches, such as when you click on a queue name in the dashboard. How would I go about doing that? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.co

Re: [rt-users] reall odd apache2 crashes with blank pages

2008-10-02 Thread Mathieu Longtin
Did you check the various log files? -- Mathieu Longtin 1-514-803-8977 On Thu, Oct 2, 2008 at 8:35 AM, Gabriel Cadieux < [EMAIL PROTECTED]> wrote: > i thought i had good news to share; i came in this morning and RT didn't > greet me with a white page upon clicking a link o

Re: [rt-users] Possible dumb question...be warned

2008-10-01 Thread Mathieu Longtin
Make an iPhone app and sell it for 50$ bucks? Then you don't mind giving away the server, and 50$ for someone who uses RT professionally is cheap. Heck most commercial issue trackers out there run more than 100$ per seat. -- Mathieu Longtin 1-514-803-8977 On Wed, Oct 1, 2008 at 12:

Re: [rt-users] CentOS 5.2 updates broke RT (apache) 3.8.1

2008-09-24 Thread Mathieu Longtin
as my problem when I updated perl on RHEL 5.2, should be the same as on CentOS. It was particularly hard to track since it left no messages anywhere. -- Mathieu Longtin 1-514-803-8977 On Wed, Sep 24, 2008 at 2:40 PM, Todd Christensen <[EMAIL PROTECTED]>wrote: > Hello > > I am in th

Re: [rt-users] custom field value from arbitrary SQL select

2008-09-17 Thread Mathieu Longtin
Thanks, that looks exactly like what I wanted. -- Mathieu Longtin 1-514-803-8977 On Wed, Sep 17, 2008 at 10:39 AM, Jesse Vincent <[EMAIL PROTECTED]>wrote: > > > > On Wed, Sep 17, 2008 at 10:19:06AM -0400, Mathieu Longtin wrote: > > Is there a way to create a "s

[rt-users] custom field value from arbitrary SQL select

2008-09-17 Thread Mathieu Longtin
Is there a way to create a "select one value" custom field that gets its valid values from some SQL query, rather than build the list manually? Thanks -- Mathieu Longtin 1-514-803-8977 ___ http://lists.bestpractical.com/cgi-bin/mailman/l

Re: [rt-users] auto forward tickets/replies to specific users

2008-09-08 Thread Mathieu Longtin
You can setup a script so that on creation of a ticket, the CC of the queue are notified. Then, in the queue configuration, add the people who would normally receive email to the mailing list as CC. -- Mathieu Longtin 1-514-803-8977 On Mon, Sep 8, 2008 at 3:49 AM, David Burrows <[EM

[rt-users] BUG: UpdateCc and UpdateBcc silently ignore emails with no domain (RT3.8)

2008-07-30 Thread Mathieu Longtin
there? Thanks -- Mathieu Longtin www.dbsoft.ca ___ 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 Essen

Re: [rt-users] RT 3.6.4 MYSQL Backup*RESOLVED*

2008-07-30 Thread Mathieu Longtin
Btw, you can also use --skip-extended-insert in mysqldump to insert statement always insert a single row at a time. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of andrew fay Sent: July 30, 2008 11:02 To: Drew Barnes Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] RT

Re: [rt-users] Forcing domains in email addresses

2008-07-29 Thread Mathieu Longtin
("\n", map { $_->address } Mail::Address->parse(q{abc [EMAIL PROTECTED]))."\n"' abc [EMAIL PROTECTED] $ perl -MEmail::Address -e 'print join("\n", map { $_->address } Email::Address->parse(q{abc [EMAIL PROTECTED]))."\n"' [EMAIL PROTECTE

[rt-users] Forcing domains in email addresses

2008-07-29 Thread Mathieu Longtin
Is there a way to force email address entered to be [EMAIL PROTECTED] rather than accept just "user"? Also, in 3.8 (as opposed to 3.6), if you enter just "user", the email is not sent, but no error message is given about it. Thanks -Mathieu _

Re: [rt-users] Mysql upgrading to RT3.8 gives you garbled UTF8 text

2008-07-28 Thread Mathieu Longtin
$res .= ' AUTO_INCREMENT' if $info{'mysql_is_auto_increment'}; return $res; } -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruslan Zakirov Sent: July 28, 2008 14:41 To: Mathieu Longtin Cc: rt-users@lists.bestpractical.com

Re: [rt-users] RT3.8 upgrade: forcing ascii email addresses?

2008-07-28 Thread Mathieu Longtin
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ruslan Zakirov Sent: July 28, 2008 14:29 To: Mathieu Longtin Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] RT3.8 upgrade: forcing ascii email addresses? Nope, they can not. Only comment and phrase parts of addr_spec can, but address itse

[rt-users] RT3.8 upgrade: forcing ascii email addresses?

2008-07-28 Thread Mathieu Longtin
strike me as odd, since email address can contain international characters, AFAIK. Correct me if I'm wrong. -- Mathieu Longtin Bureau: 1-514-270-7762x230 Portable: 1-514-803-8977 www.dbsoft.ca ___ http://lists.bestpractical.com/cg

[rt-users] Mysql upgrading to RT3.8 gives you garbled UTF8 text

2008-07-28 Thread Mathieu Longtin
First, thanks for the 3.8 upgrade. Much appreciated. I already had accents in my tickets, and running schema.mysql-4.0-4.1.pl would garble them. This is using mysql 5.0.51a on Redhat. I discovered that if I skip the VARBINARY part of the upgrade, the data is fine. So instead of ALTER TAB