Re: [rt-users] Forwarding an e-mail with an HTML alternative

2014-02-07 Thread Martin Drasar
On 6.2.2014 17:21, Kevin Falcone wrote: On Thu, Feb 06, 2014 at 01:07:26PM +0100, Martin Drasar wrote: 4.2 does a much better job passing along multipart mails. You cannot easily force RT to send a custom alternative email, especially not in 4.0. Thanks for your response. I am not necessarily

[rt-users] Forwarding an e-mail with an HTML alternative

2014-02-06 Thread Martin Drasar
Hi, in our RT installation (4.0.6) we have a tool that sends e-mails to the RT with Content-Type: multipart/alternative that I want to forward from RT to all recipients. On the receiving end we have a scrip that OnCorrespond notifies requestors, etc... I can make it send the text/plain part

Re: [rt-users] Get the From: header of currently sent mail

2013-01-15 Thread Martin Drasar
On 10.1.2013 15:11, Martin Drasar wrote: Hello, in my setup I have patched lib/RT/Action/Notify.pm in such way that it adds some attachments to a mail. In some cases we send mails that have no-reply address in From: and Reply-To: and I would like to send these mails without those

[rt-users] Get the From: header of currently sent mail

2013-01-10 Thread Martin Drasar
Hello, in my setup I have patched lib/RT/Action/Notify.pm in such way that it adds some attachments to a mail. In some cases we send mails that have no-reply address in From: and Reply-To: and I would like to send these mails without those attachments. However, I have not found a way to query

Re: [rt-users] Lowercasing of message headers

2012-10-10 Thread Martin Drasar
On 9.10.2012 18:38, Thomas Sibley wrote: It's possible, yes. I don't know where it may be happening in this particular case, and it may not even be in RT. Mail headers, however, are case insensitive, so any change in case shouldn't be affecting your usage. (And if it is, that sounds like a

[rt-users] Lowercasing of message headers

2012-10-09 Thread Martin Drasar
Hi, I have hit a strange problem with mail header casing. At our site, we are preprocessing mails from various automatic reporting tools and durign this preprocessing some headers are added and then the message is sent via 'sendmail -oi -t' to RT. One header that is causing us problems is

Re: [rt-users] Can't fork at Mailer.pm

2012-10-08 Thread Martin Drasar
On 5.10.2012 19:05, Thomas Sibley wrote: On 10/05/2012 02:31 AM, Martin Drasar wrote: after upgrading to RT 4.0.6 I am having problems with mail sending. This line starts to appear in log: Scrip Commit 6 died. - Can't fork at /usr/share/perl5/Mail/Mailer.pm line 145 and no mail can be sent

Re: [rt-users] Can't fork at Mailer.pm

2012-10-08 Thread Martin Drasar
On 8.10.2012 10:53, Tim Cutts wrote: Make sure you have plenty of swap allocated; you may not need the memory as physical. I run the RT web server on a machine with only 2GB of RAM, and it's fine. I don't run the database on the same machine, though. You have to remember that when

Re: [rt-users] Can't fork at Mailer.pm

2012-10-08 Thread Martin Drasar
On 8.10.2012 11:29, Tim Cutts wrote: It's only for a split second, and the memory isn't used. UNIX doesn't just start an application in one go, it uses two steps: 1) fork This duplicates the current process, and both processes continue executing. UNIX does this with so-called

[rt-users] Can't fork at Mailer.pm

2012-10-05 Thread Martin Drasar
Hi, after upgrading to RT 4.0.6 I am having problems with mail sending. This line starts to appear in log: Scrip Commit 6 died. - Can't fork at /usr/share/perl5/Mail/Mailer.pm line 145 and no mail can be sent until I restart the Apache. Scrip 6 is On Correspond Notify Requestors and Ccs Do

[rt-users] Signing by default

2012-09-27 Thread Martin Drasar
Hi, when a user responds to a ticket at our site, the message is forwarded to all interested parties and the user's name and email is untouched (i.e. no 'via RT', changed mail or anything else). We would like to enable default signing, but there is a problem with those mails. As they have an

Re: [rt-users] rt-mailgate problem - certificate verify failure ?

2012-08-21 Thread Martin Drasar
On 21.8.2012 15:59, Ethier, Michael wrote: Hello, The rt-mailgate program acts differently between v 3.8.8 and v 4.0.6. The v 3.8.8 version works fine using https, and even when I have v 4.0.6 running with the /etc/aliases point to the v 3.8.8 version of rtmailgate, email get sent

Re: [rt-users] rt-mailgate problem - certificate verify failure ?

2012-08-21 Thread Martin Drasar
On 21.8.2012 16:16, Ethier, Michael wrote: Hi Martin, Thanks for the suggestion but if I enable --no-ssl I will be creating a security vulnerability no ? Thanks, Mike Hi, that's for sure. This was a suggestion for a development machine (the name testrt.rc.fas.harvard.edu suggest that

Re: [rt-users] Using Ajax with Mason in RT

2012-08-17 Thread Martin Drasar
On 16.8.2012 18:48, Thomas Sibley wrote: 403 is Forbidden. RT denies direct requests to /Elements/ directories (among other internal components). This denial happens in RT's normal request handling phase, which doesn't get called when you set inherit = undef. Hi Thomas, thank you, moving it

[rt-users] Accessing Ticket from MakeClicky callback

2012-08-17 Thread Martin Drasar
Hi, is it possible to access ticket object from MakeClicky callback? For example, I have a callback that recognizes an IP and allows to perform set of actions on click. And for one of that action, I need to have current ticket subject. How can I get access to such information? Thanks, Martin

Re: [rt-users] Using Ajax with Mason in RT

2012-08-16 Thread Martin Drasar
Hi, it appears I've reached a dead end... This is my javascript ajax call (practically identical to the one Paul posted): jQuery.ajax ( { type: 'POST', url: 'Elements/TestComponent', data: { 'ip': ip }, dataType: 'json', traditional: true,

Re: [rt-users] Using Ajax with Mason in RT

2012-08-16 Thread Martin Drasar
On 16.8.2012 13:15, Paul Tomblin wrote: On Thu, Aug 16, 2012 at 5:22 AM, Martin Drasar dra...@ics.muni.cz mailto:dra...@ics.muni.cz wrote: The problem is, when I remove the flags section, the ajax call fails with 403. If I keep it, I get back following error: syntax error

Re: [rt-users] Using Ajax with Mason in RT

2012-08-16 Thread Martin Drasar
On 16.8.2012 13:37, Paul Tomblin wrote: Unfortunately somewhere between RT and Mason and perl a lot of the errors go unreported - you just have to narrow down where the problem is with a lot of calls to $RT::Logger-debug. But first things first, you need to turn up the logging in

Re: [rt-users] Using Ajax with Mason in RT

2012-08-16 Thread Martin Drasar
On 16.8.2012 14:27, Paul Tomblin wrote: I copied your code into my web app, and it worked fine. Firebug shows me that the ajax call returned [something] I'd go with Joe's suggestion, or maybe something in an autohandler or dhandler that is screwing things up. Thank you both for

Re: [rt-users] Correct user email address

2012-08-16 Thread Martin Drasar
On 16.8.2012 15:35, Paul Roth wrote: I accidently set up a user and make a typo on the email address. How do you correct it (RT-4.0.6) or delete the user so I can re-add him. This user has not been associated with any tickets. Hi, Tools - Configuration - Users Find all users whose [Name

Re: [rt-users] Using Ajax with Mason in RT

2012-08-16 Thread Martin Drasar
On 16.8.2012 16:04, Paul Tomblin wrote: On Thu, Aug 16, 2012 at 9:21 AM, Martin Drasar dra...@ics.muni.cz mailto:dra...@ics.muni.cz wrote: My question is - how can I diagnose, whether there is a problem with (auto|d)handlers? I haven't touched any of them since the installation

Re: [rt-users] Using Ajax with Mason in RT

2012-08-16 Thread Martin Drasar
Just a quick update - Paul tried to run files from my machine on his and the result was that everything was working ok. So the situation is as follows: - brand new installation of RT-4.0.6 - database moved from RT-3.8.7, upgrade went well - only local changes are those mentioned in this thread,

[rt-users] Using Ajax with Mason in RT

2012-08-15 Thread Martin Drasar
Hi, I have used MakeClicky actions to extend the RT UI and now I would like my extensions to do some ajax stuff on click. I would like to know, how I can create new Mason component and set it as a valid target for the ajax request. Any help is really appreciated. Thanks, Martin

Re: [rt-users] Using Ajax with Mason in RT

2012-08-15 Thread Martin Drasar
On 15.8.2012 17:44, Paul Tomblin wrote: If you want your AJAX to return JSON, you need to do the following: ... Wow, thanks a lot for your superquick reply! Martin

[rt-users] Extending the RT UI

2012-08-13 Thread Martin Drasar
Hi, with the move from RT 3.8.7 to 4.0.6, I have decided (or was forced to by changes in RT html code) to ditch onload scripts that extended RT Ticket UI with some functionality (getting abuse contacts by clicking on ip, etc.). I would, however, still like to have that functionality, but this

Re: [rt-users] Extending the RT UI

2012-08-13 Thread Martin Drasar
On 13.8.2012 16:48, Kevin Falcone wrote: You're on the right track, you may find this useful: http://requesttracker.wikia.com/wiki/CustomizingWithCallbacks In general, if you're not writing an extension, your callbacks go in

[rt-users] GnuPG problems with message decryption

2012-02-21 Thread Martin Drasar
28C8D875, created 2010-12-30 Martin Drasar dra...@ics.muni.cz gpg: encrypted with 2048-bit RSA key, ID E44C6E92, created 2012-02-21 CSIRT-MU DEVEL r...@rt-devel.ics.muni.cz gpg: public key decryption failed: bad passphrase gpg: decryption failed: secret key not available (/home/RT/RT

[rt-users] Two separate tickets for one mail

2011-01-20 Thread Martin Drasar
, Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech Republic PGP Key ID: 0xB2761CDE

Re: [rt-users] Two separate tickets for one mail

2011-01-20 Thread Martin Drasar
Steve, thanks for the code, it looks good. I think that it should be pretty straightforward from now. Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk

[rt-users] Create an attachment via template

2010-11-02 Thread Martin Drasar
for your answers. Regards, Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech Republic PGP Key ID: 0x944BC925

Re: [rt-users] (no subject)

2010-09-02 Thread Martin Drasar
UTC 2010 perl, v5.10.0 built for i486-linux-gnu-thread-multi Server version: Apache/2.2.9 (Debian) Server built: Apr 19 2010 19:57:58 RT 3.8.7 Thank you very much for your help Regards, Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network

Re: [rt-users] RT stops sending email

2010-09-02 Thread Martin Drasar
Oh boy, the subject should have of course be different... -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech Republic

Re: [rt-users] Prioritizing Scrips

2010-07-20 Thread Martin Drasar
(at least in version 3.6 I think). For example scrips in our RT instance have four digit prefix to specify execution order. Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute

[rt-users] Passing parameters to mail and sending two different mails

2010-07-13 Thread Martin Drasar
? Or is there a third or fourth one? Thank you for your answers Regards Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech Republic

Re: [rt-users] French Accent template issue

2010-07-09 Thread Martin Drasar
in RT_SiteConfig.pm Set($EmailOutputEncoding , 'iso-8859-2'); -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech Republic PGP Key ID

Re: [rt-users] View tickets created via email

2010-05-11 Thread Martin Drasar
go into: Configuration - Global - Group rights And for system group 'Everyone' grant the 'CreateTicket' right. I also suggest to grant 'ReplyToTicket' right as well. Martin -- Mgr. Martin Drasar dra...@ics.muni.cz CSIRT-MU, Network Security Department

[rt-users] On correspond send mail to requestor only if explicitly selected

2010-04-30 Thread Martin Drasar
. Regards Martin -- Mgr. Martin Drasar dra...@ics.muni.cz Network Security Department http://ics.muni.cz/ CSIRT-MU http://www.muni.cz/csirt Institute of Computer Science, Masaryk University, Brno, Czech

Re: [rt-users] Can't locate object method _Accessible

2010-04-22 Thread Martin Drasar
for new version of RT on different machine, read the docs about migrating DB, set it up and after you have it running just move it to orginal server and replace the old version. Martin -- Mgr. Martin Drasar dra...@ics.muni.cz Network Security Department

Re: [rt-users] Can't locate object method _Accessible

2010-04-22 Thread Martin Drasar
have not done any deep testing, because I was happy to see 3.8.x working. I have transitioned my scrips and left 3.6.x far behind me. Also note that I have tried version 3.6.x and 3.8.x concurrently and you have different 3.8.x version - there may be a difference. -- Mgr. Martin Drasar

[rt-users] Wide character in crypt generates stack trace with password revealed

2010-04-20 Thread Martin Drasar
as needlessly showing RT path. I am providing a quick patch that catches the exception generated by crypt and makes RT behave like ordinary bad password was provided. Martin -- Mgr. Martin Drasar dra...@ics.muni.cz Network Security Department

[rt-users] woooo

2010-03-09 Thread Martin Drasar
ooow ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training Sessions! San Francisco, CA, USA - Feb 22 23 Dublin, Ireland -

Re: [rt-users] woooo

2010-03-09 Thread Martin Drasar
I apologize for a spam... This was supposed to go to my own RT :-) ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com 2010 RT Training

Re: [rt-users] logging from scrips

2010-03-09 Thread Martin Drasar
Dne 9.3.2010 0:29, Martin Drasar napsal(a): Hi everyone, the issue from subject was discussed several times, but sadly I have not been able to find a solution that is working for me. I have a scrip that should launch after new ticket is created. Condition: On Create Action:User

[rt-users] logging from scrips

2010-03-08 Thread Martin Drasar
Hi everyone, the issue from subject was discussed several times, but sadly I have not been able to find a solution that is working for me. I have a scrip that should launch after new ticket is created. Condition: On Create Action:User defined Template: My own defined template Stage: