Re: [rt-users] CommandByMail config

2016-10-28 Thread Dunbar, Brian
Hello Landon,

Yes it is the first line. Of the message and I did not use or

I will check the log to see. I am not familiar with mason cache but will google 
it to see how.

Thank you for the reply/info.

From: Landon Stewart [mailto:lstew...@internap.com]
Sent: Friday, October 28, 2016 12:30 PM
To: Dunbar, Brian
Cc: rt-users
Subject: Re: [rt-users] CommandByMail config

Is the command you are sending on the very first line of the message?  Did you 
really send an email with both of those commands with the word Or between them 
or was that two examples?  Is there anything in the log (ie. 
/opt/rt4/var/log/rt.log) when the email correspondence is being dealt with?  If 
you restarted apache did you clear the mason cache as well?

On Oct 28, 2016, at 6:38 AM, Dunbar, Brian 
mailto:brian.dun...@von.ca>> wrote:

Hello All,

I am trying to enable CommandByMail

I installed the plugin and patch
Added these two lines to my RT_SiteConfig.pm
Plugin('RT::Extension::CommandByMail');
Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));

When I send an email with

Queue: Nameofqueue
Or
Status: resolved

It does not change any status info in RT
I am using RT 4.4.0
I did bounce the apache

Anyone with ideas?
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - Q1 2017

--
Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
📧 lstew...@internap.com<mailto:lstew...@internap.com>
🌍 www.internap.com<http://www.internap.com>

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - Q1 2017

Re: [rt-users] CommandByMail config

2016-10-28 Thread Landon Stewart
Is the command you are sending on the very first line of the message?  Did you 
really send an email with both of those commands with the word Or between them 
or was that two examples?  Is there anything in the log (ie. 
/opt/rt4/var/log/rt.log) when the email correspondence is being dealt with?  If 
you restarted apache did you clear the mason cache as well?

On Oct 28, 2016, at 6:38 AM, Dunbar, Brian 
mailto:brian.dun...@von.ca>> wrote:

Hello All,

I am trying to enable CommandByMail

I installed the plugin and patch
Added these two lines to my RT_SiteConfig.pm
Plugin('RT::Extension::CommandByMail');
Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));

When I send an email with

Queue: Nameofqueue
Or
Status: resolved

It does not change any status info in RT
I am using RT 4.4.0
I did bounce the apache

Anyone with ideas?
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - Q1 2017

--
Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
📧 lstew...@internap.com
🌍 www.internap.com

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - Q1 2017

[rt-users] CommandByMail config

2016-10-28 Thread Dunbar, Brian
Hello All, 

I am trying to enable CommandByMail

I installed the plugin and patch
Added these two lines to my RT_SiteConfig.pm
Plugin('RT::Extension::CommandByMail');
Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));

When I send an email with 

Queue: Nameofqueue
Or
Status: resolved

It does not change any status info in RT
I am using RT 4.4.0
I did bounce the apache

Anyone with ideas?
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Los Angeles - Q1 2017


Re: [rt-users] CommandByMail 2.1 and RT 4.4.0 - Permission denied.

2016-06-16 Thread Armin Liedtke
I don’t know how I missed it but a bug was already reported about this 6 weeks 
ago.  I looked at the list multiple times and somehow missed seeing the almost 
exact subject line that I used was already there.
https://rt.cpan.org/Public/Bug/Display.html?id=114132

Let us know if you find a fix. Thanks.

Armin


From: Che Geiser [mailto:chegei...@gmail.com]
Sent: Wednesday, June 15, 2016 4:53 PM
To: Armin Liedtke 
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] CommandByMail 2.1 and RT 4.4.0 - Permission denied.

I've had this exact same result with CommandByMail 2.1 and RT 4.4.0. I'm new to 
RT and didn't know this was not the way it used to work. It does open up the 
system to some risk as I do need to accept emails into RT from outside sources 
and though unlikely it does make it possible for outside users to make changes 
including delete tickets.

Thanks for any help!
Che

On Wed, Jun 15, 2016 at 3:44 PM, Armin Liedtke 
mailto:armha...@uw.edu>> wrote:
Hello,

I have had our CommandByMail updated to the new version 2.1 and our RT is 
4.4.0.  I have setup a group that is allowed to use CommandByMail.

In the past; If you where is the group it would run the commands correctly.  If 
you were not in the group it bypassed the CommandByMail and work as if it was a 
regular ticket.

Now with 2.1 and 4.4.0. If you are in the group it will run the command 
correctly. However, if you are not in the group then you get a bounce message 
that says:

User [the email address] is not in the configured CommandByMailGroup

This happens every time and even if you send a normal email  or reply to a 
ticket.  My test messages didn’t have any of the “Commands”, there were just a 
general test.



Essential, during my test, EVERYONE would have to be in the group or no one 
could reply or send in a ticket.



Settings from RT_SiteConfig.pm

Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));

Set($CommandByMailGroup, 27713);

Set(@Plugins, qw(RT::Extension::CommandByMail 
RT::Extension::Assets::Import::CSV));



Does anyone have the new version working in the way I described it did in the 
past or is this some sort of bug?
Thanks

Armin


Armin Liedtke
Senior Computer Specialist
UW Bothell/Cascadia College Campus Library

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016

-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] CommandByMail 2.1 and RT 4.4.0 - Permission denied.

2016-06-15 Thread Che Geiser
I've had this exact same result with CommandByMail 2.1 and RT 4.4.0. I'm
new to RT and didn't know this was not the way it used to work. It does
open up the system to some risk as I do need to accept emails into RT from
outside sources and though unlikely it does make it possible for outside
users to make changes including delete tickets.

Thanks for any help!
Che

On Wed, Jun 15, 2016 at 3:44 PM, Armin Liedtke  wrote:

> Hello,
>
>
>
> I have had our CommandByMail updated to the new version 2.1 and our RT is
> 4.4.0.  I have setup a group that is allowed to use CommandByMail.
>
>
>
> In the past; If you where is the group it would run the commands correctly.
> If you were not in the group it bypassed the CommandByMail and work as if
> it was a regular ticket.
>
>
>
> Now with 2.1 and 4.4.0. If you are in the group it will run the command
> correctly. However, if you are not in the group then you get a bounce
> message that says:
>
> User [the email address] is not in the configured CommandByMailGroup
>
> This happens every time and even if you send a normal email  or reply to
> a ticket.  My test messages didn’t have any of the “Commands”, there were
> just a general test.
>
>
>
> Essential, during my test, EVERYONE would have to be in the group or no
> one could reply or send in a ticket.
>
>
>
> Settings from RT_SiteConfig.pm
>
> Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));
>
> Set($CommandByMailGroup, 27713);
>
> Set(@Plugins, qw(RT::Extension::CommandByMail
> RT::Extension::Assets::Import::CSV));
>
>
>
> Does anyone have the new version working in the way I described it did in
> the past or is this some sort of bug?
>
> Thanks
>
>
>
> Armin
>
>
>
>
>
> Armin Liedtke
>
> Senior Computer Specialist
>
> UW Bothell/Cascadia College Campus Library
>
> -
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Los Angeles - September, 2016
>
>
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


[rt-users] CommandByMail 2.1 and RT 4.4.0 - Permission denied.

2016-06-15 Thread Armin Liedtke
Hello,

I have had our CommandByMail updated to the new version 2.1 and our RT is 
4.4.0.  I have setup a group that is allowed to use CommandByMail.

In the past; If you where is the group it would run the commands correctly.  If 
you were not in the group it bypassed the CommandByMail and work as if it was a 
regular ticket.

Now with 2.1 and 4.4.0. If you are in the group it will run the command 
correctly. However, if you are not in the group then you get a bounce message 
that says:

User [the email address] is not in the configured CommandByMailGroup

This happens every time and even if you send a normal email  or reply to a 
ticket.  My test messages didn't have any of the "Commands", there were just a 
general test.



Essential, during my test, EVERYONE would have to be in the group or no one 
could reply or send in a ticket.



Settings from RT_SiteConfig.pm

Set(@MailPlugins, qw(Auth::MailFrom Action::CommandByMail));

Set($CommandByMailGroup, 27713);

Set(@Plugins, qw(RT::Extension::CommandByMail 
RT::Extension::Assets::Import::CSV));



Does anyone have the new version working in the way I described it did in the 
past or is this some sort of bug?
Thanks

Armin


Armin Liedtke
Senior Computer Specialist
UW Bothell/Cascadia College Campus Library
-
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016


Re: [rt-users] CommandByMail plugin installation

2014-10-07 Thread Kevin Falcone
On Tue, Oct 07, 2014 at 11:45:38AM +0200, Olivier Lumineau wrote:
> >Also, did you already add RT::Extension::CommandByMail to Plugins in
> >your RT_SiteConfig.pm, before running make install?
> 
> Yes but not correctly :-[
> I've added it like other plugins :
> Plugin('RT::Extension::CommandByMail');
> 
> and not :
> Set(@Plugins, ( @Plugins, "RT::Extension::CommandByMail" ));

Plugin('RT::Extension::CommandByMail')
is significantly more correct than your Set(@Plugins) version.

What I asked was if you had added RT::Extension::CommandByMail to your
RT_SiteConfig.pm *before* running make install and getting your error.

I was interested in that installation error and how you got to that state.

> For example i put this on the first line of a mail ticket :
> 
> Status: resolved
> 
> I sent it with only text format and nothing appended

Confirm your Plugin settings in the Sytem Configuration page, turn your
logging to debug and read the logs.

-kevin


pgpcHsQCjgahR.pgp
Description: PGP signature
-- 
RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] CommandByMail plugin installation

2014-10-07 Thread Olivier Lumineau


Le 06/10/2014 18:00, Kevin Falcone a écrit :

On Mon, Oct 06, 2014 at 10:03:59AM +0200, Olivier Lumineau wrote:

I'm trying to install CommandByMail Plugin and it's not working.

What version of RT?


Sorry for this missing...

It's RT 4.2.5





# make install
Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/
CommandByMail.pm
Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/
CommandByMail/Test.pm
Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/
Email/Filter/TakeAction.pm
Installing /opt/rt4/local/man/man3/RT::Extension::CommandByMail.3pm
Installing /opt/rt4/local/man/man3/RT::Interface::Email::Filter::TakeAction.3pm
Appending installation info to /opt/rt4/local/plugins/
RT-Extension-CommandByMail/lib/perllocal.pod
Couldn't load RT config file RT_SiteConfig.pm:

Can't locate object method "InitPluginPaths" via package
"RT::Extension::CommandByMail" (perhaps you forgot to load
"RT::Extension::CommandByMail"?) at /opt/rt4/lib/RT.pm line 657.
Compilation failed in require at /opt/rt4/lib/RT/Config.pm line 1078.
make: *** [install] Erreur 255

Are you running this as root, or another user who can read
RT_SiteConfig.pm ?


Yes I'm root



Also, did you already add RT::Extension::CommandByMail to Plugins in
your RT_SiteConfig.pm, before running make install?


Yes but not correctly :-[
I've added it like other plugins :
Plugin('RT::Extension::CommandByMail');

and not :
Set(@Plugins, ( @Plugins, "RT::Extension::CommandByMail" ));

I have now in my RT_SiteConfig.pm :
#Command by mail plugin
Set(@Plugins, ( @Plugins, "RT::Extension::CommandByMail" ));
Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

So, it seems to be right installed now but... Commands by mail are not 
recognized.

For example i put this on the first line of a mail ticket :

Status: resolved

I sent it with only text format and nothing appended

I'm sure I'm missing something but I don't know what...



--
Olivier











--
RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] CommandByMail plugin installation

2014-10-06 Thread Kevin Falcone
On Mon, Oct 06, 2014 at 10:03:59AM +0200, Olivier Lumineau wrote:
> I'm trying to install CommandByMail Plugin and it's not working.

What version of RT?

> # make install
> Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/
> CommandByMail.pm
> Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/
> CommandByMail/Test.pm
> Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/
> Email/Filter/TakeAction.pm
> Installing /opt/rt4/local/man/man3/RT::Extension::CommandByMail.3pm
> Installing 
> /opt/rt4/local/man/man3/RT::Interface::Email::Filter::TakeAction.3pm
> Appending installation info to /opt/rt4/local/plugins/
> RT-Extension-CommandByMail/lib/perllocal.pod
> Couldn't load RT config file RT_SiteConfig.pm:
> 
> Can't locate object method "InitPluginPaths" via package
> "RT::Extension::CommandByMail" (perhaps you forgot to load
> "RT::Extension::CommandByMail"?) at /opt/rt4/lib/RT.pm line 657.
> Compilation failed in require at /opt/rt4/lib/RT/Config.pm line 1078.
> make: *** [install] Erreur 255

Are you running this as root, or another user who can read
RT_SiteConfig.pm ?

Also, did you already add RT::Extension::CommandByMail to Plugins in
your RT_SiteConfig.pm, before running make install?

Lastly, please show
make -n install

-kevin


pgp4A6kvPZdsx.pgp
Description: PGP signature
-- 
RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training


[rt-users] CommandByMail plugin installation

2014-10-06 Thread Olivier Lumineau

  
  
Hello,

I'm trying to install CommandByMail Plugin and it's not working. 

The end of installation give me an error message (see below) :

# perl Makefile.PL
Using RT configuration from /opt/rt4/lib/RT.pm:
lib    =>
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib
*** Module::AutoInstall version 1.08
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...loaded. (0.98)
- IPC::Open2 ...loaded. (1.03)
- UNIVERSAL::require ...loaded. (0.13)
- MIME::Entity   ...loaded. (5.505 >= 5.420)
*** Module::AutoInstall configuration finished.
Open input
'/opt/tmp/RT-Extension-CommandByMail-0.17/lib/RT/Extension/CommandByMail/Test.pm'
file for substitution
Open output
'/opt/tmp/RT-Extension-CommandByMail-0.17/lib/RT/Extension/CommandByMail/Test.pm'
file for substitution
Generating a Unix-style Makefile
Writing Makefile for RT::Extension::CommandByMail
Writing MYMETA.yml and MYMETA.json

# make
cp lib/RT/Extension/CommandByMail.pm
blib/lib/RT/Extension/CommandByMail.pm
cp lib/RT/Interface/Email/Filter/TakeAction.pm
blib/lib/RT/Interface/Email/Filter/TakeAction.pm
cp lib/RT/Extension/CommandByMail/Test.pm
blib/lib/RT/Extension/CommandByMail/Test.pm
Manifying blib/man3/RT::Extension::CommandByMail.3pm
Manifying blib/man3/RT::Interface::Email::Filter::TakeAction.3pm

# make install
Installing
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm
Installing
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail/Test.pm
Installing
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
Installing /opt/rt4/local/man/man3/RT::Extension::CommandByMail.3pm
Installing
/opt/rt4/local/man/man3/RT::Interface::Email::Filter::TakeAction.3pm
Appending installation info to
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/perllocal.pod
Couldn't load RT config file RT_SiteConfig.pm:

Can't locate object method "InitPluginPaths" via package
  "RT::Extension::CommandByMail" (perhaps you forgot to load
  "RT::Extension::CommandByMail"?) at /opt/rt4/lib/RT.pm line 657.
Compilation failed in require at /opt/rt4/lib/RT/Config.pm
  line 1078.
make: *** [install] Erreur 255



Did anybody already see that ?

Thanks

Olivier


  

-- 
RT Training November 4 & 5 Los Angeles
http://bestpractical.com/training


[rt-users] CommandByMail not accepting commands on first email

2013-04-19 Thread Edsall, William (WJ)
Hello,
 My apologies for submitting this again - I just saw Kevin's reply online but I 
have no record of this in my mailbox.

Commands by mail was not working for us on the first email submission, but it 
seemed to be working fine on replies.

Kevin - I was debugging and found that this may not be working because our 
initial emails are coming through in HTML format.  When I switch to plain text, 
commands during the first email submission work fine.

Is there a way to allow commands by mail via html format?

___
William J. Edsall




Re: [rt-users] CommandByMail is not working

2013-04-17 Thread Asif Iqbal
On Wed, Apr 17, 2013 at 1:32 PM, Asif Iqbal  wrote:

> Looks like this time it is trying to use CommandByMail by failing with
> permission error. I am sending the reply and I am owner of the ticket. What
> permission
> is missing?
>


It worked this time. Looks like I have multiple email addresses and the
owner email address has the domain name of the previous company domain. I
had been using
the current email and I had to change the From: address to get it working.
I also was putting those key/value pairs below my comment in the body
instead of at the top.




-- 
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] CommandByMail is not working

2013-04-17 Thread Asif Iqbal
On Wed, Apr 17, 2013 at 11:48 AM, Asif Iqbal  wrote:

> > On Tue, Apr 16, 2013 at 4:01 PM, Miles Scruggs <
> mi...@digitalphotobox.net> wrote:
> >>
> >> Hi Asif,
> >>
> >> Can you test basic functionality.  Like change the status with:
> >>
> >> Status: resolved
> >>
> >> at the top of your reply email.  I'm just wondering if CommandByMail
> isn't working or you are just having issues with the interaction with
> Custom Fields.
> >
>

Looks like this time it is trying to use CommandByMail by failing with
permission error. I am sending the reply and I am owner of the ticket. What
permission
is missing?


[Wed Apr 17 17:26:15 2013] [info]: <
rt-3.8.2-4534-1366219575-418.1208249-87-0-7510078-2671...@webrt.example.net>
#1208249/7510078 - Scrip 87 Imported from RT 2.0
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:306)

[Wed Apr 17 17:26:16 2013] [info]: <
rt-3.8.2-4534-1366219575-418.1208249-87-0-7510078-2671...@webrt.example.net>
sent  (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:338)

[Wed Apr 17 17:26:16 2013] [info]: <
rt-3.8.2-4534-1366219575-1185.1208249-159-0-7510078-2671...@webrt.example.net>
#1208249/7510078 - Scrip 159 On Comment Notify Other Recipients as Comment
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:306)

[Wed Apr 17 17:26:16 2013] [info]: <
rt-3.8.2-4534-1366219575-1185.1208249-15...@webrt.example.net> No
recipients found. Not sending.
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:338)

[Wed Apr 17 17:26:16 2013] [warning]: Use of uninitialized value in string
eq at
/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
line 437.
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:437)

[Wed Apr 17 17:26:16 2013] [warning]: Failed command 'Status: resolved'
Error message: Permission Denied
(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:696)

[Wed Apr 17 17:26:16 2013] [crit]: Failed command 'Status: resolved'
Error message: Permission Denied
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:244)



-- 
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] CommandByMail is not working

2013-04-17 Thread Asif Iqbal
On Apr 16, 2013 11:55 PM, "Asif Iqbal"  wrote:
>
>
>
>
> On Tue, Apr 16, 2013 at 4:01 PM, Miles Scruggs 
wrote:
>>
>> Hi Asif,
>>
>> Can you test basic functionality.  Like change the status with:
>>
>> Status: resolved
>>
>> at the top of your reply email.  I'm just wondering if CommandByMail
isn't working or you are just having issues with the interaction with
Custom Fields.
>
>
> Does not look like it is working at all.
>
> I sent the following email with a comment and I see the comment shows up
but the Status did not change
>
> comment 8
>
> Status: resolved
>
> Here is log related to that last transaction
>
> [Wed Apr 17 03:50:03 2013] [info]: <
rt-3.8.2-26149-1366170602-632.1208249-87-0-7509423-2671...@webrt.example.net>
#1208249/7509423 - Scrip 87 Imported from RT 2.0
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:306)
>
> [Wed Apr 17 03:50:03 2013] [crit]: <
rt-3.8.2-26149-1366170602-632.1208249-8...@webrt.example.net>: Could not
send mail. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:478)
>
> [Wed Apr 17 03:50:03 2013] [info]: <
rt-3.8.2-26149-1366170603-1478.1208249-159-0-7509423-2671...@webrt.example.net>
#1208249/7509423 - Scrip 159 On Comment Notify Other Recipients as Comment
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:306)
>
> [Wed Apr 17 03:50:03 2013] [info]: <
rt-3.8.2-26149-1366170603-1478.1208249-15...@webrt.example.net> No
recipients found. Not sending.
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:338)
>
>
>

Any thing else that I need to check that might be causing this?

>
>
>
>>
>>
>> I just installed CommandByMail, but it was on version 4 not three.  It
is working great.
>>
>> Cheers
>>
>> Miles Scruggs
>>
>>
>>
>> On Apr 16, 2013, at 12:32 PM, Asif Iqbal  wrote:
>>
>>> On Sun, Apr 14, 2013 at 2:55 PM, Asif Iqbal  wrote:

 I installed RT-Extension-CommandByMail-0.10 on my RT 3.8.2 and setup
the config like below.

 Set( @Plugins, qw( RT::Authen::ExternalAuth
RT::Extension::CommandByMail ) );
 Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

 Setup a custom field TAG of type 'Enter one value' for the help queue
then
 send an email to the comment address of a ticket I own, as me, of the
following

 This is a comment

  CF.{TAG}: comment1

 I do not see any value showing for the custom field TAG on the ticket.
 I do not see any log in debug about the custom field either.

 I did restart apache after making change to the config.

 What gives?

>>>
>>>
>>> Could not find anything in the mailing list that has exact same issue.
What am I doing wrong?
>>>
>>
>
>
>
> --
> 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] CommandByMail is not working

2013-04-16 Thread Asif Iqbal
On Tue, Apr 16, 2013 at 4:01 PM, Miles Scruggs wrote:

> Hi Asif,
>
> Can you test basic functionality.  Like change the status with:
>
> Status: resolved
>
> at the top of your reply email.  I'm just wondering if CommandByMail isn't
> working or you are just having issues with the interaction with Custom
> Fields.
>

Does not look like it is working at all.

I sent the following email with a comment and I see the comment shows up
but the Status did not change

comment 8

Status: resolved

Here is log related to that last transaction

[Wed Apr 17 03:50:03 2013] [info]: <
rt-3.8.2-26149-1366170602-632.1208249-87-0-7509423-2671...@webrt.example.net>
#1208249/7509423 - Scrip 87 Imported from RT 2.0
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:306)

[Wed Apr 17 03:50:03 2013] [crit]: <
rt-3.8.2-26149-1366170602-632.1208249-8...@webrt.example.net>: Could not
send mail. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:478)

[Wed Apr 17 03:50:03 2013] [info]: <
rt-3.8.2-26149-1366170603-1478.1208249-159-0-7509423-2671...@webrt.example.net>
#1208249/7509423 - Scrip 159 On Comment Notify Other Recipients as Comment
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:306)

[Wed Apr 17 03:50:03 2013] [info]: <
rt-3.8.2-26149-1366170603-1478.1208249-15...@webrt.example.net> No
recipients found. Not sending.
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:338)







>
> I just installed CommandByMail, but it was on version 4 not three.  It is
> working great.
>
>  Cheers
>
> Miles Scruggs
>
>
>
> On Apr 16, 2013, at 12:32 PM, Asif Iqbal  wrote:
>
> On Sun, Apr 14, 2013 at 2:55 PM, Asif Iqbal  wrote:
>
>> I installed RT-Extension-CommandByMail-0.10 on my RT 3.8.2 and setup the
>> config like below.
>>
>> Set( @Plugins, qw( RT::Authen::ExternalAuth RT::Extension::CommandByMail
>> ) );
>> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
>>
>> Setup a custom field TAG of type 'Enter one value' for the help queue then
>> send an email to the comment address of a ticket I own, as me, of the
>> following
>>
>> This is a comment
>>
>>  CF.{TAG}: comment1
>>
>> I do not see any value showing for the custom field TAG on the ticket.
>> I do not see any log in debug about the custom field either.
>>
>> I did restart apache after making change to the config.
>>
>> What gives?
>>
>>
>
> Could not find anything in the mailing list that has exact same issue.
> What am I doing wrong?
>
>
>


-- 
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] CommandByMail is not working

2013-04-16 Thread Miles Scruggs
Hi Asif,

Can you test basic functionality.  Like change the status with:

Status: resolved

at the top of your reply email.  I'm just wondering if CommandByMail isn't 
working or you are just having issues with the interaction with Custom Fields.

I just installed CommandByMail, but it was on version 4 not three.  It is 
working great.

Cheers

Miles Scruggs



On Apr 16, 2013, at 12:32 PM, Asif Iqbal  wrote:

> On Sun, Apr 14, 2013 at 2:55 PM, Asif Iqbal  wrote:
> I installed RT-Extension-CommandByMail-0.10 on my RT 3.8.2 and setup the 
> config like below.
> 
> Set( @Plugins, qw( RT::Authen::ExternalAuth RT::Extension::CommandByMail ) );
> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
> 
> Setup a custom field TAG of type 'Enter one value' for the help queue then
> send an email to the comment address of a ticket I own, as me, of the 
> following
> 
> This is a comment
> 
>  CF.{TAG}: comment1
>  
> I do not see any value showing for the custom field TAG on the ticket.
> I do not see any log in debug about the custom field either.
> 
> I did restart apache after making change to the config.
> 
> What gives?
> 
> 
> 
> Could not find anything in the mailing list that has exact same issue. What 
> am I doing wrong?
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: [rt-users] CommandByMail is not working

2013-04-16 Thread Asif Iqbal
On Sun, Apr 14, 2013 at 2:55 PM, Asif Iqbal  wrote:

> I installed RT-Extension-CommandByMail-0.10 on my RT 3.8.2 and setup the
> config like below.
>
> Set( @Plugins, qw( RT::Authen::ExternalAuth RT::Extension::CommandByMail )
> );
> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
>
> Setup a custom field TAG of type 'Enter one value' for the help queue then
> send an email to the comment address of a ticket I own, as me, of the
> following
>
> This is a comment
>
>  CF.{TAG}: comment1
>
> I do not see any value showing for the custom field TAG on the ticket.
> I do not see any log in debug about the custom field either.
>
> I did restart apache after making change to the config.
>
> What gives?
>
>

Could not find anything in the mailing list that has exact same issue. What
am I doing wrong?




-- 
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?


[rt-users] CommandByMail is not working

2013-04-14 Thread Asif Iqbal
I installed RT-Extension-CommandByMail-0.10 on my RT 3.8.2 and setup the
config like below.

Set( @Plugins, qw( RT::Authen::ExternalAuth RT::Extension::CommandByMail )
);
Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

Setup a custom field TAG of type 'Enter one value' for the help queue then
send an email to the comment address of a ticket I own, as me, of the
following

This is a comment

 CF.{TAG}: comment1

I do not see any value showing for the custom field TAG on the ticket.
I do not see any log in debug about the custom field either.

I did restart apache after making change to the config.

What gives?


--
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] CommandByMail fails after Migration.

2013-03-05 Thread Camron W. Fox
On 13/03/04 6:23 AM, Kevin Falcone wrote:
> On Sun, Mar 03, 2013 at 08:35:48AM -1000, Camron W. Fox wrote:
>>  After migrating from RT3.6.6 to RT4.0.10, the
>> RT::Extension::CommandByMail plugin now fails. It installed with no
>> errors and we made sure the MailPlugins were set:
>>
>> @MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
> 
> 
> That's 3.6 syntax, not 3.8 or greater syntax as documented in the
> INSTALL file included with the extension.
> 
> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
> 
> -kevin

Kevin,

Thanks for the slap in the face. That took care of it rather nicely.

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com
Phone:  (808) 934-4102
Cell:   (808) 937-5026



-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] CommandByMail fails after Migration.

2013-03-04 Thread Kevin Falcone
On Sun, Mar 03, 2013 at 08:35:48AM -1000, Camron W. Fox wrote:
>   After migrating from RT3.6.6 to RT4.0.10, the
> RT::Extension::CommandByMail plugin now fails. It installed with no
> errors and we made sure the MailPlugins were set:
> 
> @MailPlugins = qw(Auth::MailFrom Filter::TakeAction);


That's 3.6 syntax, not 3.8 or greater syntax as documented in the
INSTALL file included with the extension.

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

-kevin


pgpriqMGk4VXo.pgp
Description: PGP signature


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

[rt-users] CommandByMail fails after Migration.

2013-03-03 Thread Camron W. Fox
All,

After migrating from RT3.6.6 to RT4.0.10, the
RT::Extension::CommandByMail plugin now fails. It installed with no
errors and we made sure the MailPlugins were set:

@MailPlugins = qw(Auth::MailFrom Filter::TakeAction);

Has anyone seen this before?

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail: cw...@us.fujitsu.com



-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] CommandByMail generating errors in messages

2013-02-14 Thread Ruslan Zakirov
Hi,

I've pushed a few updates recently into repository and as part of that
fixed a few annoying warnings. Would you mind testing code from
repository?

On Thu, Feb 14, 2013 at 9:07 PM, Kevin Falcone
 wrote:
> On Thu, Feb 14, 2013 at 04:09:02PM -, Nikolas Chrysandreas wrote:
>> > These are all warnings not errors.
>> > Are you seeing them manifest as errors somewhere?
>>
>> No, we haven't had any real issues but we have another instance of RT on an 
>> ubuntu server and we don't see the same warnings.
>> I was wondering if there is something we could do about them.
>
> Track down which emails are causing the warnings and sort out what in
> them is triggering the warnings.
>
> Presumably you don't get the same emails to both servers.
>
> You can also limit which users can send emails that are processed by
> CommandByMail.
>
> -kevin
>
>
>
> --
> RT training in Amsterdam, March 20-21: 
> http://bestpractical.com/services/training.html
>
> Help improve RT by taking our user survey: 
> https://www.surveymonkey.com/s/N23JW9T



-- 
Best regards, Ruslan.


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] CommandByMail generating errors in messages

2013-02-14 Thread Kevin Falcone
On Thu, Feb 14, 2013 at 04:09:02PM -, Nikolas Chrysandreas wrote:
> > These are all warnings not errors.
> > Are you seeing them manifest as errors somewhere?
> 
> No, we haven't had any real issues but we have another instance of RT on an 
> ubuntu server and we don't see the same warnings.
> I was wondering if there is something we could do about them.

Track down which emails are causing the warnings and sort out what in
them is triggering the warnings.

Presumably you don't get the same emails to both servers.

You can also limit which users can send emails that are processed by
CommandByMail.

-kevin


pgprySlj3u9rr.pgp
Description: PGP signature


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

Re: [rt-users] CommandByMail generating errors in messages

2013-02-14 Thread Nikolas Chrysandreas
Hi Kevin,

Thanks for the reply.

> These are all warnings not errors.
> Are you seeing them manifest as errors somewhere?

No, we haven't had any real issues but we have another instance of RT on an 
ubuntu server and we don't see the same warnings.
I was wondering if there is something we could do about them.

Regards
Nik


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] CommandByMail generating errors in messages

2013-02-14 Thread Kevin Falcone
On Thu, Feb 14, 2013 at 11:12:15AM -, Nikolas Chrysandreas wrote:
> In /var/log/messages we get these errors when the command by mail is called :
> Feb 14 11:00:50  RT: Use of uninitialized value $1 in concatenation (.) or 
> string at 
> /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
>  line 206. 
> (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
> Feb 14 11:00:50  RT: Use of uninitialized value $2 in concatenation (.) or 
> string at 
> /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
>  line 206. 
> (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
> Feb 14 11:00:50  RT: Use of uninitialized value within @items in lc at 
> /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
>  line 209. 
> (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
> Feb 14 11:07:16  RT: Use of uninitialized value within @items in lc at 
> /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
>  line 209. 
> (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
> Feb 14 11:07:16  RT: Use of uninitialized value in concatenation (.) or 
> string at 
> /usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
>  line 249. 
> (/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)
> 
> Any help would be greatly appreciated.

These are all warnings not errors.
Are you seeing them manifest as errors somewhere?

-kevin


pgplOawurzrwm.pgp
Description: PGP signature


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T

[rt-users] CommandByMail generating errors in messages

2013-02-14 Thread Nikolas Chrysandreas
Hi All,

We have RT 4.0.7 installed on a freeBSD system with postgres 9.0.10

In /var/log/messages we get these errors when the command by mail is called :
Feb 14 11:00:50  RT: Use of uninitialized value $1 in concatenation (.) or 
string at 
/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 206. 
(/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
Feb 14 11:00:50  RT: Use of uninitialized value $2 in concatenation (.) or 
string at 
/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 206. 
(/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
Feb 14 11:00:50  RT: Use of uninitialized value within @items in lc at 
/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 209. 
(/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
Feb 14 11:07:16  RT: Use of uninitialized value within @items in lc at 
/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 209. 
(/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:209)
Feb 14 11:07:16  RT: Use of uninitialized value in concatenation (.) or string 
at 
/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 249. 
(/usr/local/share/rt40/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)


Any help would be greatly appreciated.

Regards
Nik 


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


[rt-users] CommandByMail custom field, Select Multiple Values, List

2012-12-05 Thread Edsall, William (WJ)
Is it possible to use commandbymail to change a 'checkbox' for select multiple 
values in a list? I can't figure out the syntax.

Thanks,
William


We're hiring! http://bestpractical.com/jobs


Re: [rt-users] CommandByMail rt 4.0.7

2012-11-02 Thread Edsall, William (WJ)
Thank you, this solved the issue. I must have overlooked the MailPlugins syntax.

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Thomas Sibley
Sent: Thursday, November 01, 2012 3:09 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] CommandByMail rt 4.0.7

On 11/01/2012 09:47 AM, Edsall, William (WJ) wrote:
> Does CommandByMail work in rt 4.0.7? I’ve installed it, added the
> following two lines to my RT_Siteconfig
> 
> Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail
> RT::Interface::Email::Filter::TakeAction) );

You didn't follow the docs correctly.  Remove
"RT::Interface::Email::Filter::TakeAction" from @Plugins and add this
line after:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

The install instructions are here:
https://metacpan.org/source/FALCONE/RT-Extension-CommandByMail-0.10/INSTALL

We're hiring! http://bestpractical.com/jobs

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] CommandByMail rt 4.0.7

2012-11-01 Thread Thomas Sibley
On 11/01/2012 09:47 AM, Edsall, William (WJ) wrote:
> Does CommandByMail work in rt 4.0.7? I’ve installed it, added the
> following two lines to my RT_Siteconfig
> 
> Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail
> RT::Interface::Email::Filter::TakeAction) );

You didn't follow the docs correctly.  Remove
"RT::Interface::Email::Filter::TakeAction" from @Plugins and add this
line after:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

The install instructions are here:
https://metacpan.org/source/FALCONE/RT-Extension-CommandByMail-0.10/INSTALL

We're hiring! http://bestpractical.com/jobs


[rt-users] CommandByMail rt 4.0.7

2012-11-01 Thread Edsall, William (WJ)
Does CommandByMail work in rt 4.0.7? I've installed it, added the following two 
lines to my RT_Siteconfig

Set( @Plugins, qw(RT::Authen::ExternalAuth RT::Extension::CommandByMail 
RT::Interface::Email::Filter::TakeAction) );
Set($CommandByMailStripOut, 1);

Yet when I try commands by mail (Like adding Subject: It worked), it doesn't 
seem to recognize my commands. It also doesn't seem to strip out the commands 
at all (I installed the diff).

Thanks
William

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Fritz Mahnke
Thank you very much for that useful hint. @MailPlugins was not being set
correctly and I traced it to a typo in RT_SiteConfig.pm after all.

Thanks again!


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread sunnavy
I suggest you check /Admin/Tools/Configuration.html to see if @MailPlugins and
@Plugins were set successfully.

sunnavy
On 12-04-18 09:30, Fritz Mahnke wrote:
> That's true, but I tried it both ways. I just changed it:
> 
> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
> 
> And then I issued /etc/init.d/apache2 restart. But the ticket still doesn't
> process correctly and no CommandByMail messages in the logs.


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Fritz Mahnke
That's true, but I tried it both ways. I just changed it:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

And then I issued /etc/init.d/apache2 restart. But the ticket still doesn't
process correctly and no CommandByMail messages in the logs.


Re: [rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Thomas Sibley
On 04/18/2012 09:59 AM, Fritz Mahnke wrote:
> I made the required changes to /opt/rt4/etc/RT_SiteConfig.pm:
> 
> @MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
> Set(@Plugins, (qw(RT::Extension::CommandByMail)));

You're using the RT 3.6 era syntax for @MailPlugins, not the 3.8 and
beyond era syntax.

   Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

This is noted in INSTALL.


[rt-users] CommandByMail extension not working on RT 4.0.5

2012-04-18 Thread Fritz Mahnke
I recently upgraded our RT 3.8.9 by making a new RT 4.0.5 installation and
then moving and upgrading the database by the upgrade instructions. Before
doing so, I upgraded the OS of the computer from Debian Lenny to Debian
Squeeze.

After that, I installed RT-Extension-CommandByMail-0.10 using the
instructions in its INSTALL file.

perl Makefile.PL
make
make install

I made the required changes to /opt/rt4/etc/RT_SiteConfig.pm:

@MailPlugins = qw(Auth::MailFrom Filter::TakeAction);
Set(@Plugins, (qw(RT::Extension::CommandByMail)));

However, CommandByMail is not correctly responding to commands in the email
body. The emails just open tickets via the default rt-mailgate
configuration.  Additionally, my /var/log/user.log, debug.log, messages
files aren't showing any CommandByMail entries at all. On the 3.8.9
configuration, there would be entries every time CommandByMail ran.

I have the following level options set in RT_SiteConfig.pm:

Set($LogToSyslog, "debug");
Set($LogToScreen, "debug");

What should be my next troubleshooting step?


Re: [rt-users] CommandByMail question in relation to Custom Fields

2011-08-15 Thread Ruslan Zakirov
On Mon, Aug 15, 2011 at 9:33 PM, Kenneth Crocker  wrote:
> To list,
>
> I had another thought on Custom FIelds that are defined as "Upload ...". If
> I sent in an email and used the CommandByMail command for a CF (CF{name of
> CF}: value) would I be able to put an attachment as that value and have CBM
> put that value in the CF?

It's not implemented, but sounds like a good idea.


>
> Just a thought.
>
> Kenn
> LBNL
>
> 
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Chicago, IL, USA — September 26 & 27, 2011
> *  San Francisco, CA, USA — October 18 & 19, 2011
> *  Washington DC, USA — October 31 & November 1, 2011
> *  Melbourne VIC, Australia — November 28 & 29, 2011
> *  Barcelona, Spain — November 28 & 29, 2011
>



-- 
Best regards, Ruslan.

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26 & 27, 2011
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Melbourne VIC, Australia  November 28 & 29, 2011
*  Barcelona, Spain  November 28 & 29, 2011

[rt-users] CommandByMail question in relation to Custom Fields

2011-08-15 Thread Kenneth Crocker
To list,

I had another thought on Custom FIelds that are defined as "Upload ...". If
I sent in an email and used the CommandByMail command for a CF (CF{name of
CF}: value) would I be able to put an attachment as that value and have CBM
put that value in the CF?

Just a thought.

Kenn
LBNL

RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA — September 26 & 27, 2011
*  San Francisco, CA, USA — October 18 & 19, 2011
*  Washington DC, USA — October 31 & November 1, 2011
*  Melbourne VIC, Australia — November 28 & 29, 2011
*  Barcelona, Spain — November 28 & 29, 2011

Re: [rt-users] CommandByMail + SLA, set CF SLA using email does not work

2011-05-30 Thread Daniel Schwager
> Is it possible that you have several custom fields named SLA? Check database.
SELECT * FROM  `CustomFields` WHERE  `Name` LIKE  'SLA' LIMIT 0 , 30
--> 1 record found

No, only one SLA CF-field.
Danny



Re: [rt-users] CommandByMail + SLA, set CF SLA using email does not work

2011-05-30 Thread Ruslan Zakirov
On Mon, May 30, 2011 at 9:33 PM, Daniel Schwager
 wrote:
> Hi,
>
>> > Also, we are using RT-Extension-CommandByMail to
>> > set e.g. the SLA by email (AddCF.{SLA}:Task-low),
>> > but this does not work.
>
>> Try to use TransactionBatch stage for the SLA scrip that sets default value.
>
> no, this does not work either.

Is it possible that you have several custom fields named SLA? Check database.


> regards
> Danny
>
>



-- 
Best regards, Ruslan.


Re: [rt-users] CommandByMail + SLA, set CF SLA using email does not work

2011-05-30 Thread Daniel Schwager
Hi,

> > Also, we are using RT-Extension-CommandByMail to
> > set e.g. the SLA by email (AddCF.{SLA}:Task-low),
> > but this does not work.

> Try to use TransactionBatch stage for the SLA scrip that sets default value.

no, this does not work either.

regards
Danny



Re: [rt-users] CommandByMail + SLA, set CF SLA using email does not work

2011-05-30 Thread Ruslan Zakirov
On Mon, May 30, 2011 at 8:21 PM, Daniel Schwager
 wrote:
> Hi,
>
> we are using the current version 0.03 of
> http://search.cpan.org/~ruz/RT-Extension-SLA/
> in a productive environment - works great - very
> good work.
>
> Also, we are using RT-Extension-CommandByMail to
> set e.g. the SLA by email (AddCF.{SLA}:Task-low),
> but this does not work.
>
> The logfile tells me about the correct
> parsing from CommandByMail:
>
>         [Mon May 30 16:08:45 2011] [debug]: Got command
> addcustomfield{sla} => Task-low
>
> (/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Emai
> l/Filter/TakeAction.pm:213)
>
> But the Condition/SLA_RequireDefault.pm told me (I checked this by
> adding some debug info)
> no SLA is set - and of course, set's the default one.
>
> Independent of email-configure "SLA" using CommandByMail, the
> CommandByMail works fine.
>
> How can I go on tracking down the problem ?

Try to use TransactionBatch stage for the SLA scrip that sets default value.

> Kind regards
> Danny
>



-- 
Best regards, Ruslan.


[rt-users] CommandByMail + SLA, set CF SLA using email does not work

2011-05-30 Thread Daniel Schwager
Hi,

we are using the current version 0.03 of
http://search.cpan.org/~ruz/RT-Extension-SLA/
in a productive environment - works great - very
good work.

Also, we are using RT-Extension-CommandByMail to
set e.g. the SLA by email (AddCF.{SLA}:Task-low),
but this does not work.

The logfile tells me about the correct 
parsing from CommandByMail:

 [Mon May 30 16:08:45 2011] [debug]: Got command
addcustomfield{sla} => Task-low 

(/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Emai
l/Filter/TakeAction.pm:213)

But the Condition/SLA_RequireDefault.pm told me (I checked this by
adding some debug info)
no SLA is set - and of course, set's the default one.

Independent of email-configure "SLA" using CommandByMail, the
CommandByMail works fine.

How can I go on tracking down the problem ?

Kind regards
Danny


Re: [rt-users] CommandByMail only for certain queue

2011-01-21 Thread Kevin Falcone
On Fri, Jan 21, 2011 at 03:46:34PM +0100, Horst Kriegers wrote:
>Is there a possibility to activate (or deactivate) the CommandByMail 
> extension only for
>certain queues ?

It can be restricted to a group, but not specifically to a queue.

-kevin


pgphveSDTJyFW.pgp
Description: PGP signature


[rt-users] CommandByMail only for certain queue

2011-01-21 Thread Horst Kriegers
Hello list!
 
Is there a possibility to activate (or deactivate) the CommandByMail
extension only for certain queues ?
 
 
Thanks for your help
 
Horst

___
Le contenu de ce courriel est uniquement réservé à la personne ou 
l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire
prévu, veuillez nous en informer au plus vite et détruire le présent
courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel,
de le distribuer ou de l'utiliser de quelque manière que ce soit.

The content of this e-mail is intended only and solely for the use 
of the named recipient or organisation. If you are not the named 
recipient, please inform us immediately and delete the present e-mail. 
In this case, you are nor allowed to copy, distribute or use this 
e-mail in any way.
___


Re: [rt-users] CommandByMail : Customfield with accent

2010-12-07 Thread Kevin Falcone
On Tue, Dec 07, 2010 at 02:33:00PM +0100, Horst Kriegers wrote:
>Hi list,
>RT 3.8.8
>I have trouble by using CommanByMail with CustomfFields.
>CF labeled with an accent are not saved and CF wihout accent it works fine.
>Mail is UTF-8 encoded.

Interesting.
Can you send a sample email as an attachment, possibly to the
http://rt.cpan.org queue for RT-Extension-CommandByMail so that
a bug gets filed?  Directions for that available here:
https://rt.cpan.org/Public/Bug/Report.html?Queue=RT-Extension-CommandByMail

-kevin


> 
> 
>RT Log extract :
>---
>[Tue Dec  7 10:16:22 2010] [debug]: Guessed encoding: ascii
>(/opt/rt_dev/bin/../lib/RT/I18N.pm:433)
>[Tue Dec  7 10:16:22 2010] [debug]: Guessed encoding: ascii
>(/opt/rt_dev/bin/../lib/RT/I18N.pm:433)
>[Tue Dec  7 10:16:22 2010] [debug]: Found a ticket ID. It's 1662
>(/opt/rt_dev/bin/../lib/RT/Interface/Email.pm:1160)
>...
>...
>[Tue Dec  7 10:16:22 2010] [debug]: Running CommandByMail as hokr1
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:184)
>[Tue Dec  7 10:16:22 2010] [debug]: Found pseudoheader: 
> CustomField.{Impact ContinuitA(c)} =>
>Non
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
>[Tue Dec  7 10:16:22 2010] [debug]: Found pseudoheader: 
> CustomField.{Qualification
>sA(c)curitA(c)} =>  Non
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
>[Tue Dec  7 10:16:22 2010] [debug]: Found pseudoheader: CustomField.{Liste
>dA(c)signation/domaine} =>  eChangebook
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
>[Tue Dec  7 10:16:22 2010] [debug]: Got command customfield{impact 
> continuitA(c)} => Non
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
>[Tue Dec  7 10:16:22 2010] [debug]: Got command customfield{qualification 
> sA(c)curitA(c)} =>
>Non
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
>[Tue Dec  7 10:16:22 2010] [debug]: Got command customfield{liste 
> dA(c)signation/domaine} =>
>eChangebook
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
>[Tue Dec  7 10:16:22 2010] [debug]: Updating Ticket 1662 in Queue 
> adi.applications
>
> (/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)
> 
> 
> 
> 
>Thanks in advance for you help
>Horst
> 
>___
> 
>Le contenu de ce courriel est uniquement reserve `a la personne ou 
> l'organisme `a qui il est
>destine. Si vous n'etes pas le destinataire prevu, veuillez nous en 
> informer au plus vite et
>detruire le present courriel. Dans ce cas, il ne vous est pas permis de 
> copier ce courriel, de
>le distribuer ou de l'utiliser de quelque maniere que ce soit.
> 
>___
> 
>The content of this e-mail is intended only and solely for the use of the 
> named recipient or
>organisation. If you are not the named recipient, please inform us 
> immediately and delete the
>present e-mail. In this case, you are nor allowed to copy, distribute or 
> use this e-mail in
>any way.
> 
>___


pgpich53LF9wd.pgp
Description: PGP signature


[rt-users] CommandByMail : Customfield with accent

2010-12-07 Thread Horst Kriegers
Hi list,
 
RT 3.8.8
 
I have trouble by using CommanByMail with CustomfFields.
 
CF labeled with an accent are not saved and CF wihout accent it works
fine.
 
 
Mail is UTF-8 encoded.
 
Any idea ?
 
 
 
RT Log extract :
---
[Tue Dec  7 10:16:22 2010] [debug]: Guessed encoding: ascii
(/opt/rt_dev/bin/../lib/RT/I18N.pm:433)
[Tue Dec  7 10:16:22 2010] [debug]: Guessed encoding: ascii
(/opt/rt_dev/bin/../lib/RT/I18N.pm:433)
[Tue Dec  7 10:16:22 2010] [debug]: Found a ticket ID. It's 1662
(/opt/rt_dev/bin/../lib/RT/Interface/Email.pm:1160)
...
...
[Tue Dec  7 10:16:22 2010] [debug]: Running CommandByMail as hokr1
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:184)
[Tue Dec  7 10:16:22 2010] [debug]: Found pseudoheader:
CustomField.{Impact Continuité} =>  Non
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Tue Dec  7 10:16:22 2010] [debug]: Found pseudoheader:
CustomField.{Qualification sécurité} =>  Non
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Tue Dec  7 10:16:22 2010] [debug]: Found pseudoheader:
CustomField.{Liste désignation/domaine} =>  eChangebook
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Tue Dec  7 10:16:22 2010] [debug]: Got command customfield{impact
continuité} => Non
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Tue Dec  7 10:16:22 2010] [debug]: Got command
customfield{qualification sécurité} => Non
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Tue Dec  7 10:16:22 2010] [debug]: Got command customfield{liste
désignation/domaine} => eChangebook
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Tue Dec  7 10:16:22 2010] [debug]: Updating Ticket 1662 in Queue
adi.applications
(/opt/rt_dev/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:249)

 
 
 
 
Thanks in advance for you help
Horst

___
Le contenu de ce courriel est uniquement réservé à la personne ou 
l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire
prévu, veuillez nous en informer au plus vite et détruire le présent
courriel. Dans ce cas, il ne vous est pas permis de copier ce courriel,
de le distribuer ou de l'utiliser de quelque manière que ce soit.

The content of this e-mail is intended only and solely for the use 
of the named recipient or organisation. If you are not the named 
recipient, please inform us immediately and delete the present e-mail. 
In this case, you are nor allowed to copy, distribute or use this 
e-mail in any way.
___


Re: [rt-users] CommandByMail Custom Fields not updated

2010-11-24 Thread Osnat Shapira
Hi,
Any news about this? Is there something else you need besides the logs?
Waiting for your answer.
Thanks,
Osnat.

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Osnat Shapira
Sent: Thursday, November 18, 2010 6:49 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] CommandByMail Custom Fields not updated

Hi Kevin,

These are the logs I'm getting. It includes an example where I used a different 
syntax and it displays the errors (And I also get an email back with the 
problem).
But with the syntax I wrote before I get no error:

[Thu Nov 18 08:06:35 2010] [info]: 
 #48/335 - Scrip 3 On Create 
Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:06:35 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:06:35 2010] [info]: 
 #48/335 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:06:35 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:06:35 2010] [info]: Ticket 48 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:07:29 2010] [warning]: Use of uninitialized value $1 in 
concatenation (.) or string at 
/usr/local/lib/rt3/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 20
6. 
(/usr/local/lib/rt3/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 18 08:07:29 2010] [warning]: Use of uninitialized value $2 in 
concatenation (.) or string at 
/usr/local/lib/rt3/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
 line 20
6. 
(/usr/local/lib/rt3/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Thu Nov 18 08:07:30 2010] [info]: 
 #49/341 - Scrip 3 On 
Create Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:07:30 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:07:30 2010] [info]: 
 #49/341 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:07:30 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:07:30 2010] [info]: Ticket 49 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:08:45 2010] [info]: 
 #50/347 - Scrip 3 On 
Create Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:08:46 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:08:46 2010] [info]: 
 #50/347 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:08:46 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:08:46 2010] [info]: Ticket 50 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:12:31 2010] [info]: 
 #51/353 - Scrip 3 On Create 
Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:12:31 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:12:31 2010] [info]: 
 #51/353 - Scrip 4 On Create 
Notify AdminCcs (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:12:31 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:12:31 2010] [info]: Ticket 51 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:14:49 2010] [info]: 
 #52/359 - Scrip 3 On 
Create Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:14:49 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:14:49 2010] [info]: 
 #52/359 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:14:49 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:14:49 2010] [info]: Ticket 52 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:21:59 20

Re: [rt-users] CommandByMail Custom Fields not updated

2010-11-18 Thread Osnat Shapira
301)
[Thu Nov 18 08:21:59 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:21:59 2010] [info]: Ticket 53 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:22:55 2010] [info]: 
 #54/371 - Scrip 3 On 
Create Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:22:55 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:22:55 2010] [info]: 
 #54/371 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:22:55 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:22:55 2010] [info]: Ticket 54 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 08:23:29 2010] [error]: Couldn't get principal for not loaded 
object (/usr/lib/perl5/vendor_perl/5.10.0/RT/User_Overlay.pm:1154)
[Thu Nov 18 08:23:29 2010] [error]: Group::HasMember was called with an 
argument that isn't an RT::Principal or id. It's (undefined) 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Group_Overlay.pm:1031)
[Thu Nov 18 08:23:48 2010] [info]: 
 #55/377 - Scrip 3 On Create 
Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:23:48 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 08:23:48 2010] [info]: 
 #55/377 - Scrip 4 On Create 
Notify AdminCcs (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 08:23:48 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 08:23:49 2010] [info]: Ticket 55 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 10:18:43 2010] [info]: Successful login for root from 172.16.8.76 
(/usr/share/rt3/html/autohandler:276)
[Thu Nov 18 16:32:09 2010] [info]: 
 #56/383 - Scrip 3 On 
Create Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 16:32:09 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 16:32:09 2010] [info]: 
 #56/383 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 16:32:09 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 16:32:09 2010] [info]: Ticket 56 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)
[Thu Nov 18 16:45:00 2010] [info]: 
 #57/389 - Scrip 3 On 
Create Autoreply To Requestors 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 16:45:00 2010] [info]: 
 sent  To: 
osnat.shap...@panayainc.com 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:332)
[Thu Nov 18 16:45:00 2010] [info]: 
 #57/389 - Scrip 4 On 
Create Notify AdminCcs 
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:301)
[Thu Nov 18 16:45:00 2010] [info]: 
 No recipients found. Not 
sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:338)
[Thu Nov 18 16:45:00 2010] [info]: Ticket 57 created in queue 'Operations' by 
osnat.shapira (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:659)

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Thursday, November 18, 2010 5:51 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] CommandByMail Custom Fields not updated

On Thu, Nov 18, 2010 at 12:42:43AM -0800, Osnat Shapira wrote:
> Hi,
> I'm using the CommandByMail extension.
> My Content looks as follows:
> 
> Priority: 1
> CustomField.{Number-Test}: 1
> 
> Comment Test
> 
> 
> The Priority is updated (and any other non-custom field I'm adding).
> The CustomField is not updated with the value.
> I'm not getting any error back.
> 
> I'm working with version 0.08 of the extension.

There is no 0.08, there is a 0.08_01

> I gave the custom field all the possible permissions (to "Everyone").
> 
> Is there something missing in what I'm doing?
> I tried different formats but nothing is working.

What do your logs say when you put them in debug mode

-kevin


Re: [rt-users] CommandByMail Custom Fields not updated

2010-11-18 Thread Kevin Falcone
On Thu, Nov 18, 2010 at 12:42:43AM -0800, Osnat Shapira wrote:
> Hi,
> I'm using the CommandByMail extension.
> My Content looks as follows:
> 
> Priority: 1
> CustomField.{Number-Test}: 1
> 
> Comment Test
> 
> 
> The Priority is updated (and any other non-custom field I'm adding).
> The CustomField is not updated with the value.
> I'm not getting any error back.
> 
> I'm working with version 0.08 of the extension.

There is no 0.08, there is a 0.08_01

> I gave the custom field all the possible permissions (to "Everyone").
> 
> Is there something missing in what I'm doing?
> I tried different formats but nothing is working.

What do your logs say when you put them in debug mode

-kevin


pgpgEsuM52E7w.pgp
Description: PGP signature


[rt-users] CommandByMail Custom Fields not updated

2010-11-18 Thread Osnat Shapira
Hi,
I'm using the CommandByMail extension.
My Content looks as follows:

Priority: 1
CustomField.{Number-Test}: 1

Comment Test


The Priority is updated (and any other non-custom field I'm adding).
The CustomField is not updated with the value.
I'm not getting any error back.

I'm working with version 0.08 of the extension.
I gave the custom field all the possible permissions (to "Everyone").

Is there something missing in what I'm doing?
I tried different formats but nothing is working.

Thanks,
Osnat.


Re: [rt-users] CommandByMail - Not send commands to the requester?

2010-09-22 Thread Kevin Falcone
On Wed, Sep 22, 2010 at 01:50:38PM -0700, Jon Davis wrote:
>Right now, I've got CommandByMail setup and functioning with my RT. The 
> only issue I have, is
>that if I send a command like "status: resolved", it sends the requesting 
> user a copy of that
>email AND the email saying "Your ticket is closed" (the second email being 
> expected, of
>course).
> 
>If there any way to prevent RT from sending along an email that is 
> CommandByMail commands
>only? IE If I were to send commands that the ticket is assigned to X 
> helpdesk agent, I
>wouldn't want the end user to get that also.

Use the comment address for RT instead?

-kevin


pgppeots2KomE.pgp
Description: PGP signature

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!

[rt-users] CommandByMail - Not send commands to the requester?

2010-09-22 Thread Jon Davis
Right now, I've got CommandByMail setup and functioning with my RT.  The
only issue I have, is that if I send a command like "status: resolved", it
sends the requesting user a copy of that email AND the email saying "Your
ticket is closed" (the second email being expected, of course).

If there any way to prevent RT from sending along an email that is
CommandByMail commands only?  IE If I were to send commands that the ticket
is assigned to X helpdesk agent, I wouldn't want the end user to get that
also.

Thanks!
-Jon

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!

Re: [rt-users] CommandbyMail - CustomFields - Can't get $queue->TicketCustomFields;

2010-07-25 Thread Kevin Falcone
On Thu, Jul 22, 2010 at 11:50:31PM -0400, anthony acquanita wrote:
>So I never enter this while loop. If I run a script outside of RT it works

How do you know it is the same current user?
Compare $queue->CurrentUser->UserObj->Id to be sure

Generally this fails when a user doesn't have SeeQueue

-kevin

>my $custom_fields = $queue->TicketCustomFields;
>while ( my $cf = $custom_fields->Next ) {
>$RT::Logger->error( "HORRAY" );
>my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{". $cf->Name ."}" 
> );
>next unless keys %tmp;
>$create_args{ 'CustomField-' . $cf->id } = [ 
> _CompileAdditiveForCreate(%tmp) ];
>}
> 
>###
>perl script that works using same user
>###
> 
>use RT;
>use RT::Queues;
>use RT::Queue;
>use RT::Interface::CLI qw(CleanEnv GetCurrentUser);
>use RT::Tickets;
>use Data::Dumper;
> 
>RT::LoadConfig();
>RT::Init();
>my $current_user = GetCurrentUser('user' );
> 
>#print Dumper $current_user;
>my $queue = new RT::Queue($current_user);
>my $queue_id = 15;
>$queue->Load($queue_id);
>my $custom_fields = $queue->TicketCustomFields;
>#print Dumper $custom_fields;
> 
>while ( my $cf = $custom_fields->Next ) {
>print Dumper $cf;
>}

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



pgpbwsoO3X8u5.pgp
Description: PGP signature

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

[rt-users] CommandbyMail - CustomFields - Can't get $queue->TicketCustomFields;

2010-07-22 Thread anthony acquanita
So I never enter this while loop.  If I run a script outside of RT it works

my $custom_fields = $queue->TicketCustomFields;
while ( my $cf = $custom_fields->Next ) {
$RT::Logger->error( "HORRAY" );
my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{".
$cf->Name ."}" );
next unless keys %tmp;
$create_args{ 'CustomField-' . $cf->id } = [
_CompileAdditiveForCreate(%tmp) ];
}


###
perl script that works using same user
###

use RT;
use RT::Queues;
use RT::Queue;
use RT::Interface::CLI qw(CleanEnv GetCurrentUser);
use RT::Tickets;
use Data::Dumper;

RT::LoadConfig();
RT::Init();
my $current_user = GetCurrentUser('user' );

#print Dumper $current_user;
my $queue = new RT::Queue($current_user);
my $queue_id = 15;
$queue->Load($queue_id);
my $custom_fields = $queue->TicketCustomFields;
#print Dumper $custom_fields;

while ( my $cf = $custom_fields->Next ) {
print Dumper $cf;
}

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

[rt-users] CommandbyMail - CustomFields - Can't get $queue->TicketCustomFields;

2010-07-22 Thread anthony acquanita
So i've done some debug in TakeAction.pm and it seems that
custom_fields is empty because I never see the ACTIONCF2 log

any leads at to debugging $queue->TicketCustomFields; ?

 # Canonicalize custom fields
my $custom_fields = $queue->TicketCustomFields;
$RT::Logger->info( "ACTIONCF1-> @{[ %{$queue} ]} " );
while ( my $cf = $custom_fields->Next ) {
$RT::Logger->info( "ACTIONCF2-> @{[ %{$cf} ]} " );
my %tmp = _ParseAdditiveCommand( \%cmds, 0, "CustomField{".
$cf->Name ."}" );
next unless keys %tmp;
$create_args{ 'CustomField-' . $cf->id } = [
_CompileAdditiveForCreate(%tmp) ];
$RT::Logger->info( "ACTIONCREATED_ARGS->  " );
}

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

Re: [rt-users] CommandByMail problem

2010-04-22 Thread Kenneth Crocker
To List & Kevin & Jeff,

Whomever created RightsMatrix, I owe them a beer. Actually a pitcher.

I SSOOO embarrassed by this mistake. However, confession is good for
the soul.

I've been on 3.6.4 so for so long, I completely forgot that 3.8.7 allows the
granting of "SuperUser" at the group level, whereas in 3.6.4, that was not
possible. I am BIG on *not *granting rights to individual users, but because
of 3.6.4, I had granted the "SuperUser" right to a few individuals.

Then along comes 3.8.7 and I had found out we could grant "SuperUser" at the
*group* level so I did. Then just recently, wanted to do a test and the
person I wanted to do the test was a "SuperUser". Since that would defeat
the test, I removed the "SuperUser" right for that *individual*, but forgot
about that right having been granted for a group he was in. So when I looked
at his individual rights, he shouldn't have that right, yet he was creating
a ticket. So I finally woke up and used RightsMatrix and clicked the Y under
that right under "ALL" and lo and behold, the answer.

It is now corrected and it works fine.

The problem with the never-ending email loop is, of course, unrelated. We
think it has to do with the "Timeline" directory/code bumping into
"CommandByMail" directory/code in that Takeaction seems to keep repeating
it's rejection. We're going to remove TImeline and try again.

Thanks again for your time and effort.

Kenn
LBNL

On Thu, Apr 22, 2010 at 6:53 AM, Kevin Falcone wrote:

> On Wed, Apr 21, 2010 at 01:39:04PM -0700, Kenneth Crocker wrote:
> >1) Email from any RT User creates a ticket in a queue, EVEN when the
> right "CreateTicket" has
> >NOT been applied to that User/group/role/Sys group for that Queue. It
> still gets in and
> >becomes a ticket. I checked the rights on this VERY thoroughly.
>
> You must have a misconfiguration, setting up a vanilla 3.8.7 with a
> user who has no CreateTicket rights anywhere and injecting mail from
> that user gets
> not ok - Ticket creation failed: No permission to create tickets in
> the queue 'General'
> as a result.  This is because Auth::MailFrom will reject the user
> before CommandByMail gets to it
>
> >2) Email from NON-RT Users and NON-LDAP Users gets sent back to the
> "from" address in a
> >never-ending loop.
> >
> >I know how to turn off the loop, by temporarily turning off
> "TakeAction:" from the Plugin and
> >then bouncing RT.
> >
> >The two questions I have are:
>
> It isn't clear to me why notifying the From: in your environment
> causes a loop
>
> -kevin
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

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

Re: [rt-users] CommandByMail problem

2010-04-22 Thread Kenneth Crocker
Sorry,

This &^%$%Gemail doesn't do a reply like I'm used to. I wanted to include
the list.

Kenn

On Thu, Apr 22, 2010 at 9:00 AM, Kenneth Crocker  wrote:

> Jeff, Kevin,
>
> I agree that something is configured wrong. The plugins look like this:
>
> Set(@MailPlugins, (qw(Auth::MailFrom Filter::TakeAction)));
> Set(@Plugins,(qw(RTx::Calendar RT::Authen::ExternalAuth
> RT::Extension::CommandByMail)));
>
> The only person with "CreateTicket" rights is the role AdminCc for the
> Queue (which is me). I had another person who is privileged send in an email
> and the ticket was created. I know, it doesn't make sense at all. Privileges
> have always worked before. I'm thinking we did something wrong in the
> install, so I'm going to flush my environment and re-create it.
>
> If there is something I need to ensure on installation, that would be
> helpful. I'm also NOT going to install Timeline, as it doesn't work that
> well anyway (no easy way to modify what is displayed).
>
> Hopefully, this will do it.
>
> Kenn
> LBNL
>
>
>
> On Thu, Apr 22, 2010 at 7:31 AM, Jeff Voskamp wrote:
>
>> On 04/22/2010 09:53 AM, Kevin Falcone wrote:
>>
>>> On Wed, Apr 21, 2010 at 01:39:04PM -0700, Kenneth Crocker wrote:
>>>
>>>
1) Email from any RT User creates a ticket in a queue, EVEN when the
 right "CreateTicket" has
NOT been applied to that User/group/role/Sys group for that Queue. It
 still gets in and
becomes a ticket. I checked the rights on this VERY thoroughly.


>>> You must have a misconfiguration, setting up a vanilla 3.8.7 with a
>>> user who has no CreateTicket rights anywhere and injecting mail from
>>> that user gets
>>> not ok - Ticket creation failed: No permission to create tickets in
>>> the queue 'General'
>>> as a result.  This is because Auth::MailFrom will reject the user
>>> before CommandByMail gets to it
>>>
>>>
>>>
2) Email from NON-RT Users and NON-LDAP Users gets sent back to the
 "from" address in a
never-ending loop.

I know how to turn off the loop, by temporarily turning off
 "TakeAction:" from the Plugin and
then bouncing RT.

The two questions I have are:


>>> It isn't clear to me why notifying the From: in your environment
>>> causes a loop
>>>
>>> -kevin
>>>
>>>
>>>
>>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>>> Buy a copy at http://rtbook.bestpractical.com
>>>
>> What order are your MailPlugins in?
>>
>> Jeff
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
>

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

Re: [rt-users] CommandByMail problem

2010-04-22 Thread Jeff Voskamp

On 04/22/2010 09:53 AM, Kevin Falcone wrote:

On Wed, Apr 21, 2010 at 01:39:04PM -0700, Kenneth Crocker wrote:
   

1) Email from any RT User creates a ticket in a queue, EVEN when the right 
"CreateTicket" has
NOT been applied to that User/group/role/Sys group for that Queue. It still 
gets in and
becomes a ticket. I checked the rights on this VERY thoroughly.
 

You must have a misconfiguration, setting up a vanilla 3.8.7 with a
user who has no CreateTicket rights anywhere and injecting mail from
that user gets
not ok - Ticket creation failed: No permission to create tickets in
the queue 'General'
as a result.  This is because Auth::MailFrom will reject the user
before CommandByMail gets to it

   

2) Email from NON-RT Users and NON-LDAP Users gets sent back to the "from" 
address in a
never-ending loop.

I know how to turn off the loop, by temporarily turning off "TakeAction:" 
from the Plugin and
then bouncing RT.

The two questions I have are:
 

It isn't clear to me why notifying the From: in your environment
causes a loop

-kevin
   




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

What order are your MailPlugins in?

Jeff

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


Re: [rt-users] CommandByMail problem

2010-04-22 Thread Kevin Falcone
On Wed, Apr 21, 2010 at 01:39:04PM -0700, Kenneth Crocker wrote:
>1) Email from any RT User creates a ticket in a queue, EVEN when the right 
> "CreateTicket" has
>NOT been applied to that User/group/role/Sys group for that Queue. It 
> still gets in and
>becomes a ticket. I checked the rights on this VERY thoroughly.

You must have a misconfiguration, setting up a vanilla 3.8.7 with a
user who has no CreateTicket rights anywhere and injecting mail from
that user gets 
not ok - Ticket creation failed: No permission to create tickets in
the queue 'General'
as a result.  This is because Auth::MailFrom will reject the user
before CommandByMail gets to it

>2) Email from NON-RT Users and NON-LDAP Users gets sent back to the "from" 
> address in a
>never-ending loop.
> 
>I know how to turn off the loop, by temporarily turning off "TakeAction:" 
> from the Plugin and
>then bouncing RT.
> 
>The two questions I have are:

It isn't clear to me why notifying the From: in your environment
causes a loop

-kevin


pgpWKf9HNYRU8.pgp
Description: PGP signature

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

[rt-users] CommandByMail problem

2010-04-21 Thread Kenneth Crocker
Sorry, this was to go to the list as well,

Ruslan,

Maybe you can help me here. I have been testing 3.87 with great success and
am ready to install into production. Then someone noticed a problem I had
not tested for (shame on me). It seems that when we turn on CommandByMail,
two things happen that seem to be wrong:

1) Email from any RT User creates a ticket in a queue, EVEN when the right
"CreateTicket" has NOT been applied to that User/group/role/Sys group for
that Queue. It still gets in and becomes a ticket. I checked the rights on
this VERY thoroughly.
2) Email from NON-RT Users and NON-LDAP Users gets sent back to the "from"
address in a never-ending loop.

I know how to turn off the loop, by temporarily turning off "TakeAction:"
from the Plugin and then bouncing RT.

The two questions I have are:

1) How do I get the Queue rights (for "CreateTicket") to be respected by
CBM?
2) How do I get the never-ending email loop to NOT initiate in the first
place?

This is becoming a rapidly growing concern among my management.

Your help in this matter will be greatly appreciated.

Thanks.

Kenn

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

[rt-users] CommandByMail security

2010-04-21 Thread Kenneth Crocker
To list,

We're discovering that even though we have set rights in a Queue for
"CreateTicket" for only 1 person, it seems like anyone can create a ticket
when we have CommandByMail turned on. I have checked the global rights and
the queue rights and I had someone without that right create a ticket.

Is that way it is supposed to work?

Kenn
LBNL

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

[rt-users] CommandByMail question on Status values

2010-04-20 Thread Kenneth Crocker
To list,

I have added a couple new values for the Status field via the
RT_SiteConfig.pm file.  However, when I try to update a ticket with one of
those new values, the update is rejected.

Question: How can I update CommandByMail to allow those new Status values?

Thanks.

Kenn
LBNL

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

Re: [rt-users] CommandByMail only listening to commands issued by privileged users

2010-03-29 Thread Kenneth Marshall
Bad, bad, bad, bad idea. Did I mention that this is a bad
idea? :) Seriously, the CommandByMail gives a lot of access
to the internals of your RT system. It can totally subvert
your workflow. Imagine a generic E-mail that can close or
delete any ticket in the system. What are you trying to
accomplish with this change? Maybe there is a more secure
way to address your problem.

My two cents.

Cheers,
Ken

On Thu, Mar 25, 2010 at 03:46:32PM -0600, Matt Adams wrote:
> Folks:
>
> I have noticed that CommandByMail only listens to commands from email 
> addresses belonging to privileged users.  If other random people email the 
> system it ignores things like CF{Company}: Example.
>
> Is there something I can do about this to make RT listen to commands from 
> random email addresses?
>
>
> Thanks in advance,
>
> Matt
> -- 
> Matt Adams
> Development & Network Services, Cypress Interactive
> http://cypressinteractive.com, http://edsuite.com
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>

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


Re: [rt-users] CommandByMail hide commands

2010-03-29 Thread Kenneth Marshall
This does not happen out of the box. Comments only go to
AdminCc's and not the Requestor. This sounds like a local
modification, either to make requestors AdminCc's or to
send comments to requestors. Check your Scrips.

Cheers,
Ken

On Mon, Mar 29, 2010 at 02:30:45PM +0100, polloxx wrote:
> It seems like the requestor receives mail sent to rt-comment. Or is
> this a option I can disable?
> 
> 
> On Tue, Mar 23, 2010 at 7:06 PM, Kenneth Marshall  wrote:
> > The comment address is the mail to RT that is only sent to
> > admins and adminccs and not requestors or ccs. The default
> > is usually rt-comment. I hope that helps.
> >
> > Ken
> >
> > On Mon, Mar 22, 2010 at 05:47:37PM +0100, polloxx wrote:
> >> Can you be more specific?
> >> I also posted my question on the cpanforum but that seems death.
> >>
> >> P.
> >>
> >> On Mon, Mar 22, 2010 at 2:04 PM, Kenneth Marshall  wrote:
> >> > What about using the comment address and not the E-mail
> >> > address. It should also be possible to make a patch to
> >> > strip them out, maybe to a separate attachment to help
> >> > debug problems.
> >> >
> >> > Ken
> >> >
> >> > On Sun, Mar 21, 2010 at 01:39:53PM +0100, polloxx wrote:
> >> >> Dear list,
> >> >>
> >> >> Is there a way to hide CommandByMail commands from the requestor?
> >> >> When we 'resolve' a ticket via mail the requestor receives the mail.
> >> >> Can we hide this?
> >> >>
> >> >> Thx,
> >> >> P.
> >
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
> 

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


Re: [rt-users] CommandByMail hide commands

2010-03-29 Thread polloxx
It seems like the requestor receives mail sent to rt-comment. Or is
this a option I can disable?


On Tue, Mar 23, 2010 at 7:06 PM, Kenneth Marshall  wrote:
> The comment address is the mail to RT that is only sent to
> admins and adminccs and not requestors or ccs. The default
> is usually rt-comment. I hope that helps.
>
> Ken
>
> On Mon, Mar 22, 2010 at 05:47:37PM +0100, polloxx wrote:
>> Can you be more specific?
>> I also posted my question on the cpanforum but that seems death.
>>
>> P.
>>
>> On Mon, Mar 22, 2010 at 2:04 PM, Kenneth Marshall  wrote:
>> > What about using the comment address and not the E-mail
>> > address. It should also be possible to make a patch to
>> > strip them out, maybe to a separate attachment to help
>> > debug problems.
>> >
>> > Ken
>> >
>> > On Sun, Mar 21, 2010 at 01:39:53PM +0100, polloxx wrote:
>> >> Dear list,
>> >>
>> >> Is there a way to hide CommandByMail commands from the requestor?
>> >> When we 'resolve' a ticket via mail the requestor receives the mail.
>> >> Can we hide this?
>> >>
>> >> Thx,
>> >> P.
>

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


[rt-users] CommandByMail only listening to commands issued by privileged users

2010-03-25 Thread Matt Adams

Folks:

I have noticed that CommandByMail only listens to commands from email 
addresses belonging to privileged users.  If other random people email 
the system it ignores things like CF{Company}: Example.


Is there something I can do about this to make RT listen to commands 
from random email addresses?



Thanks in advance,

Matt
--
Matt Adams
Development & Network Services, Cypress Interactive
http://cypressinteractive.com, http://edsuite.com

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


Re: [rt-users] CommandByMail hide commands

2010-03-23 Thread Kenneth Marshall
The comment address is the mail to RT that is only sent to
admins and adminccs and not requestors or ccs. The default
is usually rt-comment. I hope that helps.

Ken

On Mon, Mar 22, 2010 at 05:47:37PM +0100, polloxx wrote:
> Can you be more specific?
> I also posted my question on the cpanforum but that seems death.
> 
> P.
> 
> On Mon, Mar 22, 2010 at 2:04 PM, Kenneth Marshall  wrote:
> > What about using the comment address and not the E-mail
> > address. It should also be possible to make a patch to
> > strip them out, maybe to a separate attachment to help
> > debug problems.
> >
> > Ken
> >
> > On Sun, Mar 21, 2010 at 01:39:53PM +0100, polloxx wrote:
> >> Dear list,
> >>
> >> Is there a way to hide CommandByMail commands from the requestor?
> >> When we 'resolve' a ticket via mail the requestor receives the mail.
> >> Can we hide this?
> >>
> >> Thx,
> >> P.

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


Re: [rt-users] CommandByMail hide commands

2010-03-22 Thread polloxx
Can you be more specific?
I also posted my question on the cpanforum but that seems death.

P.

On Mon, Mar 22, 2010 at 2:04 PM, Kenneth Marshall  wrote:
> What about using the comment address and not the E-mail
> address. It should also be possible to make a patch to
> strip them out, maybe to a separate attachment to help
> debug problems.
>
> Ken
>
> On Sun, Mar 21, 2010 at 01:39:53PM +0100, polloxx wrote:
>> Dear list,
>>
>> Is there a way to hide CommandByMail commands from the requestor?
>> When we 'resolve' a ticket via mail the requestor receives the mail.
>> Can we hide this?
>>
>> Thx,
>> P.
>> ___
>> 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 - Mar 15 & 16
>> Boston, MA, USA - April 5 & 6
>> Washington DC, USA - Oct 25 & 26
>>
>> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail hide commands

2010-03-22 Thread Kenneth Marshall
What about using the comment address and not the E-mail
address. It should also be possible to make a patch to
strip them out, maybe to a separate attachment to help
debug problems.

Ken

On Sun, Mar 21, 2010 at 01:39:53PM +0100, polloxx wrote:
> Dear list,
> 
> Is there a way to hide CommandByMail commands from the requestor?
> When we 'resolve' a ticket via mail the requestor receives the mail.
> Can we hide this?
> 
> Thx,
> P.
> ___
> 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 - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
> 
> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


[rt-users] CommandByMail hide commands

2010-03-21 Thread polloxx
Dear list,

Is there a way to hide CommandByMail commands from the requestor?
When we 'resolve' a ticket via mail the requestor receives the mail.
Can we hide this?

Thx,
P.
___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


[rt-users] CommandByMail

2010-03-15 Thread polloxx
When I try to install RT::Extension::CommandByMail on a Denian Lenny
running Postfix I get the following error:

cpan[2]> install RT::Extension::CommandByMail
Running install for module 'RT::Extension::CommandByMail'
Running make for F/FA/FALCONE/RT-Extension-CommandByMail-0.07.tar.gz
  Has already been unwrapped into directory
/root/.cpan/build/RT-Extension-CommandByMail-0.07-uY_a7u
  Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00.load.t
t/01.internals.t t/02.create.t t/03.update.t t/04.send.t
t/pod-coverage.t t/pod.t
t/00.load.t ... 2/5 # Testing RT::Extension::CommandByMail 0.07
t/00.load.t ... ok
t/01.internals.t .. ok
t/02.create.t . 1/140 Couldn't find ticket id in text:
/opt/rt3/bin/rt-mailgate: temp file is '/tmp/1NlrEjisvS'
/opt/rt3/bin/rt-mailgate: connecting to
http://localhost//REST/1.0/NoAuth/mail-gateway
An Error Occurred
=

500 Internal Server Error

/opt/rt3/bin/rt-mailgate: undefined server error

#   Failed test 'created ticket'
#   at t/02.create.t line 22.
[Mon Mar 15 14:05:07 2010] [warning]: Use of uninitialized value $id
in pattern match (m//) at /opt/rt3/lib/RT/Ticket_Overlay.pm line 158.
(/opt/rt3/lib/RT/Ticket_Overlay.pm:158)
[Mon Mar 15 14:05:07 2010] [warning]: Use of uninitialized value $id
in concatenation (.) or string at /opt/rt3/lib/RT/Ticket_Overlay.pm
line 179. (/opt/rt3/lib/RT/Ticket_Overlay.pm:179)
Couldn't find ticket id in text:
/opt/rt3/bin/rt-mailgate: temp file is '/tmp/uZFQegPJg2'
/opt/rt3/bin/rt-mailgate: connecting to
http://localhost//REST/1.0/NoAuth/mail-gateway
An Error Occurred
=

500 Internal Server Error

/opt/rt3/bin/rt-mailgate: undefined server error

and so on
What am I doing wrong?
RT version is 3.8.7

Thanks,
P.
___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Ken Crocker

Kenneth,

That was it. My guy installed .08 and now all works well. I do get an 
error for the command "Content", but as long as I put any comments at 
the end, it works fine.

Thanks again for your help.

Kenn
LBNL

On 3/3/2010 12:53 PM, Kenneth Marshall wrote:

Use version 0.08 from last August. You do not include <>, just
the text of the name or value.

Ken

On Wed, Mar 03, 2010 at 12:35:36PM -0800, Ken Crocker wrote:
  

Kenneth,

Are you saying I need a < and a > on each side of the CF name? In addition 
to the brackets?


Kenn
LBNL

On 3/3/2010 12:29 PM, Kenneth Marshall wrote:


Oops, the syntax for Custom Fields using CommandByMail is

CustomField.{}: 

or 
CF.{}: 


That works here with spaces.

Cheers,
Ken

On Wed, Mar 03, 2010 at 02:09:46PM -0600, Kenneth Marshall wrote:
  
  

Since the parsing for this is via regex, maybe we can adjust
the regex used to incorporate spaces in CFs.

Cheers,
Ken

On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:



To list,

I've finally got CommandByMail to work with Custom Fields. Apparently, 
for any Custom Field to work, it needs to have a one-word name or a 
hyphenated name. I didn't read this in any of the READ ME's. So, since 
98% of my Custom Fields have more than one word, like "Migrated Date", I 
will need to change it to "Migrated-Date" and change all queries to look 
for a hypenated version of what they used to look for. OH Well, at least 
it now works.


Thanks anyway.

Kenn
LBNL

On 2/23/2010 1:43 PM, Kevin Falcone wrote:
  
  

On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
  

I've installed CommandByMail. The instructions describe the ability to 
create a ticket WITH CustomField values. However, I'm finding this 
doesn't seem to be true. Do I also need to install an additional 
extension for this?
  
  

What did you try, how did it fail, etc etc.
You can certainly set Custom Fields with CommandByMail
You can also use the ExtractCustomFieldValues extension, depending on
what you're doing

-kevin
  



___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Kenneth Marshall
Use version 0.08 from last August. You do not include <>, just
the text of the name or value.

Ken

On Wed, Mar 03, 2010 at 12:35:36PM -0800, Ken Crocker wrote:
> Kenneth,
>
> Are you saying I need a < and a > on each side of the CF name? In addition 
> to the brackets?
>
> Kenn
> LBNL
>
> On 3/3/2010 12:29 PM, Kenneth Marshall wrote:
>> Oops, the syntax for Custom Fields using CommandByMail is
>>
>> CustomField.{}: 
>>
>> or 
>> CF.{}: 
>>
>> That works here with spaces.
>>
>> Cheers,
>> Ken
>>
>> On Wed, Mar 03, 2010 at 02:09:46PM -0600, Kenneth Marshall wrote:
>>   
>>> Since the parsing for this is via regex, maybe we can adjust
>>> the regex used to incorporate spaces in CFs.
>>>
>>> Cheers,
>>> Ken
>>>
>>> On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:
>>> 
 To list,

 I've finally got CommandByMail to work with Custom Fields. Apparently, 
 for any Custom Field to work, it needs to have a one-word name or a 
 hyphenated name. I didn't read this in any of the READ ME's. So, since 
 98% of my Custom Fields have more than one word, like "Migrated Date", I 
 will need to change it to "Migrated-Date" and change all queries to look 
 for a hypenated version of what they used to look for. OH Well, at least 
 it now works.

 Thanks anyway.

 Kenn
 LBNL

 On 2/23/2010 1:43 PM, Kevin Falcone wrote:
   
> On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
>   
>> I've installed CommandByMail. The instructions describe the ability to 
>> create a ticket WITH CustomField values. However, I'm finding this 
>> doesn't seem to be true. Do I also need to install an additional 
>> extension for this?
>>   
> What did you try, how did it fail, etc etc.
> You can certainly set Custom Fields with CommandByMail
> You can also use the ExtractCustomFieldValues extension, depending on
> what you're doing
>
> -kevin
>   
> 
>
> ___
> 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 - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
>
> 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: sa...@bestpractical.com

 2010 RT Training Sessions!
 San Francisco, CA, USA - Feb 22 & 23
 Dublin, Ireland - Mar 15 & 16
 Boston, MA, USA - April 5 & 6
 Washington DC, USA - Oct 25 & 26

 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: sa...@bestpractical.com
>>>
>>> 2010 RT Training Sessions!
>>> San Francisco, CA, USA - Feb 22 & 23
>>> Dublin, Ireland - Mar 15 & 16
>>> Boston, MA, USA - April 5 & 6
>>> Washington DC, USA - Oct 25 & 26
>>>
>>> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Ken Crocker

Kenneth,

To be honest, we just installed this a few day (maybe a week) ago. So I 
assumed we HAD the latest version. I'll take a look in the wiki and see 
what's up.


Kenn
LBNL

On 3/3/2010 12:37 PM, Kenneth Marshall wrote:

Oh, and the dot (".") should not be there. You also need the
latest release to fix the regex space bug.

Cheers,
Ken

On Wed, Mar 03, 2010 at 02:29:07PM -0600, Kenneth Marshall wrote:
  

Oops, the syntax for Custom Fields using CommandByMail is

CustomField.{}: 

or 


CF.{}: 

That works here with spaces.

Cheers,
Ken

On Wed, Mar 03, 2010 at 02:09:46PM -0600, Kenneth Marshall wrote:


Since the parsing for this is via regex, maybe we can adjust
the regex used to incorporate spaces in CFs.

Cheers,
Ken

On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:
  

To list,

I've finally got CommandByMail to work with Custom Fields. Apparently, for 
any Custom Field to work, it needs to have a one-word name or a hyphenated 
name. I didn't read this in any of the READ ME's. So, since 98% of my 
Custom Fields have more than one word, like "Migrated Date", I will need to 
change it to "Migrated-Date" and change all queries to look for a hypenated 
version of what they used to look for. OH Well, at least it now works.


Thanks anyway.

Kenn
LBNL

On 2/23/2010 1:43 PM, Kevin Falcone wrote:


On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
  
  
I've installed CommandByMail. The instructions describe the ability to 
create a ticket WITH CustomField values. However, I'm finding this 
doesn't seem to be true. Do I also need to install an additional 
extension for this?



What did you try, how did it fail, etc etc.
You can certainly set Custom Fields with CommandByMail
You can also use the ExtractCustomFieldValues extension, depending on
what you're doing

-kevin
  

___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Ken Crocker
Kenneth,

Are you saying I need a < and a > on each side of the CF name? In 
addition to the brackets?

Kenn
LBNL

On 3/3/2010 12:29 PM, Kenneth Marshall wrote:
> Oops, the syntax for Custom Fields using CommandByMail is
>
> CustomField.{}: 
>
> or 
>
> CF.{}: 
>
> That works here with spaces.
>
> Cheers,
> Ken
>
> On Wed, Mar 03, 2010 at 02:09:46PM -0600, Kenneth Marshall wrote:
>   
>> Since the parsing for this is via regex, maybe we can adjust
>> the regex used to incorporate spaces in CFs.
>>
>> Cheers,
>> Ken
>>
>> On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:
>> 
>>> To list,
>>>
>>> I've finally got CommandByMail to work with Custom Fields. Apparently, for 
>>> any Custom Field to work, it needs to have a one-word name or a hyphenated 
>>> name. I didn't read this in any of the READ ME's. So, since 98% of my 
>>> Custom Fields have more than one word, like "Migrated Date", I will need to 
>>> change it to "Migrated-Date" and change all queries to look for a hypenated 
>>> version of what they used to look for. OH Well, at least it now works.
>>>
>>> Thanks anyway.
>>>
>>> Kenn
>>> LBNL
>>>
>>> On 2/23/2010 1:43 PM, Kevin Falcone wrote:
>>>   
 On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
   
 
> I've installed CommandByMail. The instructions describe the ability to 
> create a ticket WITH CustomField values. However, I'm finding this 
> doesn't seem to be true. Do I also need to install an additional 
> extension for this?
> 
>   
 What did you try, how did it fail, etc etc.
 You can certainly set Custom Fields with CommandByMail
 You can also use the ExtractCustomFieldValues extension, depending on
 what you're doing

 -kevin
   

 ___
 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 - Mar 15 & 16
 Boston, MA, USA - April 5 & 6
 Washington DC, USA - Oct 25 & 26

 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: sa...@bestpractical.com
>>>
>>> 2010 RT Training Sessions!
>>> San Francisco, CA, USA - Feb 22 & 23
>>> Dublin, Ireland - Mar 15 & 16
>>> Boston, MA, USA - April 5 & 6
>>> Washington DC, USA - Oct 25 & 26
>>>
>>> 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: sa...@bestpractical.com
>>
>> 2010 RT Training Sessions!
>> San Francisco, CA, USA - Feb 22 & 23
>> Dublin, Ireland - Mar 15 & 16
>> Boston, MA, USA - April 5 & 6
>> Washington DC, USA - Oct 25 & 26
>>
>> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Kenneth Marshall
Oh, and the dot (".") should not be there. You also need the
latest release to fix the regex space bug.

Cheers,
Ken

On Wed, Mar 03, 2010 at 02:29:07PM -0600, Kenneth Marshall wrote:
> Oops, the syntax for Custom Fields using CommandByMail is
> 
> CustomField.{}: 
> 
> or 
> 
> CF.{}: 
> 
> That works here with spaces.
> 
> Cheers,
> Ken
> 
> On Wed, Mar 03, 2010 at 02:09:46PM -0600, Kenneth Marshall wrote:
> > Since the parsing for this is via regex, maybe we can adjust
> > the regex used to incorporate spaces in CFs.
> > 
> > Cheers,
> > Ken
> > 
> > On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:
> > > To list,
> > >
> > > I've finally got CommandByMail to work with Custom Fields. Apparently, 
> > > for 
> > > any Custom Field to work, it needs to have a one-word name or a 
> > > hyphenated 
> > > name. I didn't read this in any of the READ ME's. So, since 98% of my 
> > > Custom Fields have more than one word, like "Migrated Date", I will need 
> > > to 
> > > change it to "Migrated-Date" and change all queries to look for a 
> > > hypenated 
> > > version of what they used to look for. OH Well, at least it now works.
> > >
> > > Thanks anyway.
> > >
> > > Kenn
> > > LBNL
> > >
> > > On 2/23/2010 1:43 PM, Kevin Falcone wrote:
> > >> On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
> > >>   
> > >>> I've installed CommandByMail. The instructions describe the ability to 
> > >>> create a ticket WITH CustomField values. However, I'm finding this 
> > >>> doesn't seem to be true. Do I also need to install an additional 
> > >>> extension for this?
> > >>> 
> > >>
> > >> What did you try, how did it fail, etc etc.
> > >> You can certainly set Custom Fields with CommandByMail
> > >> You can also use the ExtractCustomFieldValues extension, depending on
> > >> what you're doing
> > >>
> > >> -kevin
> > >>   
> > >> 
> > >>
> > >> ___
> > >> 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 - Mar 15 & 16
> > >> Boston, MA, USA - April 5 & 6
> > >> Washington DC, USA - Oct 25 & 26
> > >>
> > >> 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: sa...@bestpractical.com
> > > 
> > > 2010 RT Training Sessions!
> > > San Francisco, CA, USA - Feb 22 & 23
> > > Dublin, Ireland - Mar 15 & 16
> > > Boston, MA, USA - April 5 & 6
> > > Washington DC, USA - Oct 25 & 26
> > > 
> > > 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: sa...@bestpractical.com
> > 
> > 2010 RT Training Sessions!
> > San Francisco, CA, USA - Feb 22 & 23
> > Dublin, Ireland - Mar 15 & 16
> > Boston, MA, USA - April 5 & 6
> > Washington DC, USA - Oct 25 & 26
> > 
> > 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: sa...@bestpractical.com
> 
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
> 
> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Kenneth Marshall
Oops, the syntax for Custom Fields using CommandByMail is

CustomField.{}: 

or 

CF.{}: 

That works here with spaces.

Cheers,
Ken

On Wed, Mar 03, 2010 at 02:09:46PM -0600, Kenneth Marshall wrote:
> Since the parsing for this is via regex, maybe we can adjust
> the regex used to incorporate spaces in CFs.
> 
> Cheers,
> Ken
> 
> On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:
> > To list,
> >
> > I've finally got CommandByMail to work with Custom Fields. Apparently, for 
> > any Custom Field to work, it needs to have a one-word name or a hyphenated 
> > name. I didn't read this in any of the READ ME's. So, since 98% of my 
> > Custom Fields have more than one word, like "Migrated Date", I will need to 
> > change it to "Migrated-Date" and change all queries to look for a hypenated 
> > version of what they used to look for. OH Well, at least it now works.
> >
> > Thanks anyway.
> >
> > Kenn
> > LBNL
> >
> > On 2/23/2010 1:43 PM, Kevin Falcone wrote:
> >> On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
> >>   
> >>> I've installed CommandByMail. The instructions describe the ability to 
> >>> create a ticket WITH CustomField values. However, I'm finding this 
> >>> doesn't seem to be true. Do I also need to install an additional 
> >>> extension for this?
> >>> 
> >>
> >> What did you try, how did it fail, etc etc.
> >> You can certainly set Custom Fields with CommandByMail
> >> You can also use the ExtractCustomFieldValues extension, depending on
> >> what you're doing
> >>
> >> -kevin
> >>   
> >>
> >> ___
> >> 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 - Mar 15 & 16
> >> Boston, MA, USA - April 5 & 6
> >> Washington DC, USA - Oct 25 & 26
> >>
> >> 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: sa...@bestpractical.com
> > 
> > 2010 RT Training Sessions!
> > San Francisco, CA, USA - Feb 22 & 23
> > Dublin, Ireland - Mar 15 & 16
> > Boston, MA, USA - April 5 & 6
> > Washington DC, USA - Oct 25 & 26
> > 
> > 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: sa...@bestpractical.com
> 
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
> 
> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Kenneth Marshall
Since the parsing for this is via regex, maybe we can adjust
the regex used to incorporate spaces in CFs.

Cheers,
Ken

On Wed, Mar 03, 2010 at 11:39:29AM -0800, Ken Crocker wrote:
> To list,
>
> I've finally got CommandByMail to work with Custom Fields. Apparently, for 
> any Custom Field to work, it needs to have a one-word name or a hyphenated 
> name. I didn't read this in any of the READ ME's. So, since 98% of my 
> Custom Fields have more than one word, like "Migrated Date", I will need to 
> change it to "Migrated-Date" and change all queries to look for a hypenated 
> version of what they used to look for. OH Well, at least it now works.
>
> Thanks anyway.
>
> Kenn
> LBNL
>
> On 2/23/2010 1:43 PM, Kevin Falcone wrote:
>> On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
>>   
>>> I've installed CommandByMail. The instructions describe the ability to 
>>> create a ticket WITH CustomField values. However, I'm finding this 
>>> doesn't seem to be true. Do I also need to install an additional 
>>> extension for this?
>>> 
>>
>> What did you try, how did it fail, etc etc.
>> You can certainly set Custom Fields with CommandByMail
>> You can also use the ExtractCustomFieldValues extension, depending on
>> what you're doing
>>
>> -kevin
>>   
>>
>> ___
>> 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 - Mar 15 & 16
>> Boston, MA, USA - April 5 & 6
>> Washington DC, USA - Oct 25 & 26
>>
>> 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: sa...@bestpractical.com
> 
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
> 
> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail Extension

2010-03-03 Thread Ken Crocker

To list,

I've finally got CommandByMail to work with Custom Fields. Apparently, 
for any Custom Field to work, it needs to have a one-word name or a 
hyphenated name. I didn't read this in any of the READ ME's. So, since 
98% of my Custom Fields have more than one word, like "Migrated Date", I 
will need to change it to "Migrated-Date" and change all queries to look 
for a hypenated version of what they used to look for. OH Well, at least 
it now works.


Thanks anyway.

Kenn
LBNL

On 2/23/2010 1:43 PM, Kevin Falcone wrote:

On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
  
I've installed CommandByMail. The instructions describe the ability to 
create a ticket WITH CustomField values. However, I'm finding this 
doesn't seem to be true. Do I also need to install an additional 
extension for this?



What did you try, how did it fail, etc etc.
You can certainly set Custom Fields with CommandByMail
You can also use the ExtractCustomFieldValues extension, depending on
what you're doing

-kevin
  



___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

Re: [rt-users] CommandByMail Extension

2010-02-25 Thread Ken Crocker

Kevin,

Did you get my earlier response with the data I used in the Email?

Kenn
LBNL

On 2/23/2010 1:43 PM, Kevin Falcone wrote:

On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
  
I've installed CommandByMail. The instructions describe the ability to 
create a ticket WITH CustomField values. However, I'm finding this 
doesn't seem to be true. Do I also need to install an additional 
extension for this?



What did you try, how did it fail, etc etc.
You can certainly set Custom Fields with CommandByMail
You can also use the ExtractCustomFieldValues extension, depending on
what you're doing

-kevin
  



___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

Re: [rt-users] CommandByMail Extension

2010-02-23 Thread Ken Crocker

Kevin,

Thanks for responding. The following are the several tries to get a 
CustomFIeld set:

This was in the body the first time:

Status: open
Owner: CACasaretto
Priority: 3
CustomField.{Description}: This is the first test for CommandByMail
CustomField.{Need-By-Date}: 04/02/2010
CustomField.{QA Approver}: KFCrocker
CustomField.{Migrator}: WRHubert
CustomField.{Work-State}: Investigating Request
CustomField.{Resolution Type}: Vendor Software Upgrade
Due: 04/05/2010

  The CustomFields remained blank and Due Date as well. I figured out 
the Due date problem.

---
This was in the body the second time:
---
This is the second test for CommandByMail.

Priority: 3
Due: 04-05-2010
CustomField.QA Approver: KFCrocker
CustomField.Migrator: WRHubert
CustomField.Work-State: Investigating Request
CustomField.Resolution Type: "Vendor Software Upgrade"

 ** Same with the CF's. Due Date was fine.
---
This was in the body the last time:
---
Priority: 3
Due: 2010-04-05
AddCustomField.QA Approver: KFCrocker
AddCustomField.Migrator: WRHubert
AddCustomField.Resolution Type: "Vendor Software Upgrade"

This is the seventh test for CommandByMail

   On this one, again, all is well except CF's.

It seems if I enter a comment first, it doesn't work and I'm not sure 
about ticket fields after CF's because I can't get CF's to work.


I really just want to do is this:
1) Set some Ticket Fields, that's working
2) Set the content, hopefully appart from the command lines??
3) Set a few CF's with an initial value equal to one of the existing 
possible values already available. These CF's are "Select One Value".


Any help here would definitely be appreciated. Thanks a bunch.

Kenn
LBNL

On 2/23/2010 1:43 PM, Kevin Falcone wrote:

On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
  
I've installed CommandByMail. The instructions describe the ability to 
create a ticket WITH CustomField values. However, I'm finding this 
doesn't seem to be true. Do I also need to install an additional 
extension for this?



What did you try, how did it fail, etc etc.
You can certainly set Custom Fields with CommandByMail
You can also use the ExtractCustomFieldValues extension, depending on
what you're doing

-kevin
  



___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

Re: [rt-users] CommandByMail Extension

2010-02-23 Thread Kevin Falcone
On Tue, Feb 23, 2010 at 10:59:51AM -0800, Ken Crocker wrote:
> I've installed CommandByMail. The instructions describe the ability to 
> create a ticket WITH CustomField values. However, I'm finding this 
> doesn't seem to be true. Do I also need to install an additional 
> extension for this?

What did you try, how did it fail, etc etc.
You can certainly set Custom Fields with CommandByMail
You can also use the ExtractCustomFieldValues extension, depending on
what you're doing

-kevin


pgp09sbd3dK4T.pgp
Description: PGP signature
___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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

[rt-users] CommandByMail Extension

2010-02-23 Thread Ken Crocker
To list,

I've installed CommandByMail. The instructions describe the ability to 
create a ticket WITH CustomField values. However, I'm finding this 
doesn't seem to be true. Do I also need to install an additional 
extension for this?

Thanks.

Kenn
LBNL
___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandByMail: Fake Email Vulnerability?

2010-02-03 Thread Jesse Vincent



On Wed, Feb 03, 2010 at 01:19:51AM +0100, Eesti Mate wrote:
> Hello CommandByMail users,
> 
> how do you address the possibility that (in theory) everyone can change
> the status of tickets by faking the email address of a
> $CommandByMailGroup member? Does CommandByMail provide any kind of
> authentication options? Is there a best practice to prevent this sort of
> abuse?

In the past, we've used Email::Auth::GnuPg for CommandByMail for exactly
this reason.

 
> Kind regards
> Eesti
> 
> ___
> 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 - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
> 
> 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: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22 & 23
Dublin, Ireland - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


[rt-users] CommandByMail: Fake Email Vulnerability?

2010-02-02 Thread Eesti Mate
Hello CommandByMail users,

how do you address the possibility that (in theory) everyone can change
the status of tickets by faking the email address of a
$CommandByMailGroup member? Does CommandByMail provide any kind of
authentication options? Is there a best practice to prevent this sort of
abuse?

Kind regards
Eesti

___
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 - Mar 15 & 16
Boston, MA, USA - April 5 & 6
Washington DC, USA - Oct 25 & 26

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


Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-10 Thread Jerrad Pierce
On Tue, Nov 10, 2009 at 16:43, Sergio Charpinel Jr.
 wrote:
> Yes
> This are my lines:
>
> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
>
> Set(@Plugins,(qw(RT::FM RT::Extension::MandatorySubject)));
> Set(@Plugins,(qw(RT::FM RT::Extension::MandatoryRequestor)));
> Set(@Plugins,(qw(RT::FM RTx::Calendar)));
> Set(@Plugins,(qw(RT::FM RT::Extension::SearchResults::XLS)));
> Set(@Plugins,(qw(RT::FM RTx::EmailCompletion)));
> Set(@Plugins,(qw(RT::FM RT::Extension::ResetPassword)));
> Set(@Plugins,(qw(RT::FM RT::Extension::ActivityReports)));
> Set(@Plugins, qw(RT::FM));
> Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
> Set(@Plugins, qw(RT::Extension::MergeUsers));
This should really be something like:

Set(@Plugins, qw(RT::FM
   RT::Extension::MandatorySubject
   RT::Extension::MandatoryRequestor
   RTx::Calendar
   RT::Extension::SearchResults::XLS
   RTx::EmailCompletion
   RT::Extension::ResetPassword
   RT::Extension::ActivityReports
   RT::Extension::CommandByMail
   RT::Extension::MergeUsers));

Even if setting @Plugins  multiple times made sense,
what's the point of listing RT::FM a dozen times?
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-10 Thread Sergio Charpinel Jr.
Yes
This are my lines:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

Set(@Plugins,(qw(RT::FM RT::Extension::MandatorySubject)));
Set(@Plugins,(qw(RT::FM RT::Extension::MandatoryRequestor)));
Set(@Plugins,(qw(RT::FM RTx::Calendar)));
Set(@Plugins,(qw(RT::FM RT::Extension::SearchResults::XLS)));
Set(@Plugins,(qw(RT::FM RTx::EmailCompletion)));
Set(@Plugins,(qw(RT::FM RT::Extension::ResetPassword)));
Set(@Plugins,(qw(RT::FM RT::Extension::ActivityReports)));
Set(@Plugins, qw(RT::FM));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
Set(@Plugins, qw(RT::Extension::MergeUsers));


2009/11/10 Kevin Falcone 

> On Tue, Nov 10, 2009 at 11:02:36AM -0200, Sergio Charpinel Jr. wrote:
> >Now I can use spaces between custom field name.
> >
> >I changed line 200 from
> >last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;
> >
> >to:
> >last if $line !~ /^(?:(.+)\s*?:\s*?(.*)\s*?|)$/;
> >
> >and there is no C before custom fields name ( at least in version 0.07
> ) of commandbymail.
>
> I believe this is already fixed in the 0.08_01 development release.
>
> >I have installed CommandByMail plugin, and added these lines do
> RT_SiteConfig.pm:
> >
> >Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
> >Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
>
> Do you have another @Plugins line, possibly something involding
> RT::Extension::MErgeUsers?  Your @INC below makes no mention of RT-FM
> or RT-Extension-CommandByMail
>
> >But I getting this error:
> >[error]: Couldn't load RT::Interface::Email::Filter::TakeAction:
> Can't locate
> >RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
> /opt/rt3/bin/../local/lib
> >/opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
> /opt/rt3/bin/../lib /etc/perl
> >/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0
> /usr/lib/perl5 /usr/share/perl5
> >/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
> /etc/apache2) at
> >/opt/rt3/bin/../lib/RT/Interface/Email.pm line 1104.
>
> ___
> 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 secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



-- 
Sergio Roberto Charpinel Jr.
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-10 Thread Kevin Falcone
On Tue, Nov 10, 2009 at 11:02:36AM -0200, Sergio Charpinel Jr. wrote:
>Now I can use spaces between custom field name.
> 
>I changed line 200 from
>last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;
> 
>to:
>last if $line !~ /^(?:(.+)\s*?:\s*?(.*)\s*?|)$/;
> 
>and there is no C before custom fields name ( at least in version 0.07 ) 
> of commandbymail.

I believe this is already fixed in the 0.08_01 development release.

>I have installed CommandByMail plugin, and added these lines do 
> RT_SiteConfig.pm:
> 
>Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
>Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

Do you have another @Plugins line, possibly something involding
RT::Extension::MErgeUsers?  Your @INC below makes no mention of RT-FM
or RT-Extension-CommandByMail

>But I getting this error:
>[error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't 
> locate
>RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains: 
> /opt/rt3/bin/../local/lib
>/opt/rt3/local/plugins/RT-Extension-MergeUsers/lib /opt/rt3/bin/../lib 
> /etc/perl
>/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 
> /usr/share/perl5
>/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . 
> /etc/apache2) at
>/opt/rt3/bin/../lib/RT/Interface/Email.pm line 1104.


pgpHhLaQdjx60.pgp
Description: PGP signature
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-10 Thread Sergio Charpinel Jr.
Now I can use spaces between custom field name.

I changed  line 200 from
last if $line !~ /^(?:(\S+)\s*?:\s*?(.*)\s*?|)$/;

to:
last if $line !~ /^(?:(.+)\s*?:\s*?(.*)\s*?|)$/;

and there is no C before custom fields name ( at least in version 0.07 ) of
commandbymail.

Bye

2009/11/9 Sergio Charpinel Jr. 

> Seems like I cant use space in custom field name. And there is C before the
> name.
> Does anyone can use this plugin with space in custom fields?
>
> Thanks
>
> 2009/11/9 Sergio Charpinel Jr. 
>
> Hi,
>>
>> I have installed CommandByMail plugin, and added these lines do
>> RT_SiteConfig.pm:
>>
>> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
>> Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
>>
>> But I getting this error:
>> [error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't
>> locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
>> /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
>> /opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
>> /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
>> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
>> /etc/apache2) at /opt/rt3/bin/../lib/RT/Interface/Email.pm line 1104.
>>
>> If I copy
>> /opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
>> to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
>> and I can use Stats: resolved command for example. But I cant get
>> CustomFields to work.
>>
>> For example, I have a CF called Problem time.
>> So here is my message:
>> ---
>> CF.{CProblem Time}: 12 40
>>
>> My messagee...
>> --
>>
>> But nothing happens to my Custom Field.
>> Any ideas? Do I really have to copy the file, or there is something else
>> that I have to do?
>>
>> Thanks in advance.
>>
>> --
>> Sergio Roberto Charpinel Jr.
>>
>
>
>
> --
> Sergio Roberto Charpinel Jr.
>



-- 
Sergio Roberto Charpinel Jr.
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandbyMail rt 3.8.5

2009-11-09 Thread Sergio Charpinel Jr.
Seems like I cant use space in custom field name. And there is C before the
name.
Does anyone can use this plugin with space in custom fields?

Thanks

2009/11/9 Sergio Charpinel Jr. 

> Hi,
>
> I have installed CommandByMail plugin, and added these lines do
> RT_SiteConfig.pm:
>
> Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
> Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));
>
> But I getting this error:
> [error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't
> locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
> /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
> /opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
> /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
> /etc/apache2) at /opt/rt3/bin/../lib/RT/Interface/Email.pm line 1104.
>
> If I copy
> /opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
> to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
> and I can use Stats: resolved command for example. But I cant get
> CustomFields to work.
>
> For example, I have a CF called Problem time.
> So here is my message:
> ---
> CF.{CProblem Time}: 12 40
>
> My messagee...
> --
>
> But nothing happens to my Custom Field.
> Any ideas? Do I really have to copy the file, or there is something else
> that I have to do?
>
> Thanks in advance.
>
> --
> Sergio Roberto Charpinel Jr.
>



-- 
Sergio Roberto Charpinel Jr.
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] CommandbyMail rt 3.8.5

2009-11-09 Thread Sergio Charpinel Jr.
Hi,

I have installed CommandByMail plugin, and added these lines do
RT_SiteConfig.pm:

Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));
Set(@Plugins,(qw(RT::FM RT::Extension::CommandByMail)));

But I getting this error:
[error]: Couldn't load RT::Interface::Email::Filter::TakeAction: Can't
locate RT/Interface/Email/Filter/TakeAction.pm in @INC (@INC contains:
/opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-Extension-MergeUsers/lib
/opt/rt3/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .
/etc/apache2) at /opt/rt3/bin/../lib/RT/Interface/Email.pm line 1104.

If I copy
/opt/rt3/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm
to /opt/rt3/lib/RT/Interface/Email/Filter/TakeAction.pm , no error appear,
and I can use Stats: resolved command for example. But I cant get
CustomFields to work.

For example, I have a CF called Problem time.
So here is my message:
---
CF.{CProblem Time}: 12 40

My messagee...
--

But nothing happens to my Custom Field.
Any ideas? Do I really have to copy the file, or there is something else
that I have to do?

Thanks in advance.

-- 
Sergio Roberto Charpinel Jr.
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] CommandByMail - How to modify the seperator?

2009-08-26 Thread Eesti Matee
> On Wed, Aug 26, 2009 at 05:54:55PM +0200, Eesti Matee wrote:
> > > > I'd like to modify the colon that seperates the command from the
> value
> > > (command:value) to somewhat less common (e.g. ]~] ).
> > > > Is this possible? And if so, where do I've to define the new
> > > seperator/string?
> > > 
> > > Look for pseudoheaders in the code and you'll find the regular
> > > expressions responsible.
> > 
> > I feared that response ;-)
> > 
> > > You know you can limit the module to executing for a single group,
> > > right?  This may cut down on false positives.  CommandByMailGroup
> > 
> > Well, because I stick to the things that the Debian/stable repository
> has to offer, I'm stuck with rt3.6. Or does CommandByMailGroup work for 3.6
> as well?
> 
> CommandByMailGroup is a feature of the CommandByMail extension, not
> core RT.  You'll need to figure out what version of the extension
> you're running to tell if you have it.

Oh, I see... than thanks for the quick answers. 

And thanks for this fine piece of OSS!

Eesti



-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandByMail - How to modify the seperator?

2009-08-26 Thread Kevin Falcone
On Wed, Aug 26, 2009 at 05:54:55PM +0200, Eesti Matee wrote:
> > > I'd like to modify the colon that seperates the command from the value
> > (command:value) to somewhat less common (e.g. ]~] ).
> > > Is this possible? And if so, where do I've to define the new
> > seperator/string?
> > 
> > Look for pseudoheaders in the code and you'll find the regular
> > expressions responsible.
> 
> I feared that response ;-)
> 
> > You know you can limit the module to executing for a single group,
> > right?  This may cut down on false positives.  CommandByMailGroup
> 
> Well, because I stick to the things that the Debian/stable repository has to 
> offer, I'm stuck with rt3.6. Or does CommandByMailGroup work for 3.6 as well?

CommandByMailGroup is a feature of the CommandByMail extension, not
core RT.  You'll need to figure out what version of the extension
you're running to tell if you have it.

-kevin
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandByMail - How to modify the seperator?

2009-08-26 Thread Eesti Matee
> > I'd like to modify the colon that seperates the command from the value
> (command:value) to somewhat less common (e.g. ]~] ).
> > Is this possible? And if so, where do I've to define the new
> seperator/string?
> 
> Look for pseudoheaders in the code and you'll find the regular
> expressions responsible.

I feared that response ;-)

> You know you can limit the module to executing for a single group,
> right?  This may cut down on false positives.  CommandByMailGroup

Well, because I stick to the things that the Debian/stable repository has to 
offer, I'm stuck with rt3.6. Or does CommandByMailGroup work for 3.6 as well?
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandByMail - How to modify the seperator?

2009-08-26 Thread Kevin Falcone
On Wed, Aug 26, 2009 at 05:17:04PM +0200, Eesti Matee wrote:
> I'd like to modify the colon that seperates the command from the value 
> (command:value) to somewhat less common (e.g. ]~] ).
> Is this possible? And if so, where do I've to define the new seperator/string?

Look for pseudoheaders in the code and you'll find the regular
expressions responsible.

You know you can limit the module to executing for a single group,
right?  This may cut down on false positives.  CommandByMailGroup

-kevin
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] CommandByMail - How to modify the seperator?

2009-08-26 Thread Eesti Matee
Hello

I'd like to modify the colon that seperates the command from the value 
(command:value) to somewhat less common (e.g. ]~] ).

Is this possible? And if so, where do I've to define the new seperator/string?

Kind regards
Eesti




-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandByMail HELP with install

2009-03-12 Thread Bill Cole
Kenneth Crocker wrote, On 3/12/09 3:37 PM:
> To all,
> 
> 
>   FIRST and FOREMOST!!! I am NOT a Unix guy. I know it runs on a server 
> and we have a Sparc server and our DataBase is Oracle 10g and we are on 
> RT 3.6.4.
>   However, I have NO IDEA how directories work when it comes to how an 
> install program looks for or defines where to go to find software it 
> wants to install. I am the Admin guy for RT at our site and so I 
> understand privileges, how to create scrips and templates, Queues, etc. 
> But when it comes to INSTALLING RT or any of the available extensions, 
> I'm lost, TOTALLY!
>   I downloaded the CommandByMail extension from CPAN with no problem. 
> However, when I try to follow the instructions, I get the following error:
> 
> Cannot find the location of RT.pm that defines $RT::LocalPath in: inc 
> /soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/5.8.5/sun4-solaris 
> /soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/5.8.5 
> /soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/site_perl/5.8.5/sun4-solaris 
> /soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/site_perl/5.8.5 
> /soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/site_perl . 
> /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 
> /usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib 
> /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib

That smells like a Solaris 8 machine set up by someone with root access and 
a grand concept for the way custom-built software is to be installed. You 
may want to enlist that 'someone' (i.e. who should be a "Unix Guy") for help.

> Path to your RT.pm:

That looks like it is asking for input...

You could give it some. "//rt/rt-3.6.4/lib/RT.pm" seems likely to be a 
reasonable answer. "//rt/rt-3.6.4/lib" might be all that it needs.


>   Now, to be fair, I DO KNOW that we have /opt/rt pointing to 
> //rt/rt-3.6.4 (I have to protect our path). 

If you can rename that symbolic link from /opt/rt to /opt/rt3 the whole 
problem should go away for this and future cases where you want to install 
an extension for RT.

 >From there
> (//rt/rt-3.6.4) I can find all the bin, etc, lib, local, perl, 
> share, and var directories. AND in //rtrt-3.6.4/lib I can see a RT 
> directory, a RT.pm file, a RT.pm.in file, and a t directory.
> 
>   Also, I downloaded the extension software to //rt/src. So, when I 
> go to //rt/src I can find the "un-tared" version of the 
> CommandByMail directory "RT-Extension-CommandByMail-0.05".
> 
>   I'm just not sure where to go from here. Do I have the downloaded 
> CommandByMail directory in the wrong place? DO I move it? Where to? 
> //rt/rt-3.6.4? DO I just run "perl Makefile.PL" with some sort of 
> overrides?

If you are stuck with /opt/rt instead of /opt/rt3, try this:

PERL5LIB=//rt/rt-3.6.4/lib
export PERL5LIB
perl Makefile.PL

The first two commands set the PERL5LIB variable to where your RT perl 
library lives and make that variable visible to child processes, i.e. to the 
'perl' process you are running on the third line to do the installation.

(That assumes that you are using the default shell on Solaris 8, /bin/sh. If 
those 2 commands kick back errors, your Unix Guy (the one who installed perl 
5.8.5 under /soft) is evil...)


>   I'm not an idiot, but I am VERY ignorant on this stuff. I know this is 
> REALLY a pain in the rump for you more experienced people to have to 
> walk an inexperienced person like me thru this, but I'm getting no help 
> from my group except "put it in your directory and play with it". Well, 
> asking me to play with it is like asking an infant to play with a 
> rubik's cube to figure out how it works. I could spend the rest of my 
> life playing with this and not get anywhere.

That depends on how old you are. After all, that infant might get really 
good at the cube by age 10 or so.

FWIW, many of us learned Unix (or Linux) just that way. For this reason, 
some of the people reading this are wondering about my suggestion for 
setting and exporting PERL5LIB in 2 commands, a necessity for the ancient 
shell in Solaris 8 that is only mostly like the ones in Linux and the BSD's.


>   So, if there is a REAL BRAVE SOUL out there, who doesn't mind taking my 
> hand and walking me thru this, PLEASE, PLEASE, PLEASE help me.

I hope this has helped.
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandByMail HELP with install

2009-03-12 Thread Kenneth Crocker
Joop,


Thanks for your response. I'll look in my "several" directories and see 
if there are redundant perl modules. Thanks.


Kenn
LBNL

On 3/12/2009 1:04 PM, Joop van de Wege wrote:
> Kenneth Crocker wrote:
>> To all,
>>
>>
>> FIRST and FOREMOST!!! I am NOT a Unix guy. I know it runs on a 
>> server and we have a Sparc server and our DataBase is Oracle 10g and 
>> we are on RT 3.6.4.
>> However, I have NO IDEA how directories work when it comes to how 
>> an install program looks for or defines where to go to find software 
>> it wants to install. I am the Admin guy for RT at our site and so I 
>> understand privileges, how to create scrips and templates, Queues, 
>> etc. But when it comes to INSTALLING RT or any of the available 
>> extensions, I'm lost, TOTALLY!
>> I downloaded the CommandByMail extension from CPAN with no 
>> problem. However, when I try to follow the instructions, I get the 
>> following error:
>>
>>
>> So, if there is a REAL BRAVE SOUL out there, who doesn't mind 
>> taking my hand and walking me thru this, PLEASE, PLEASE, PLEASE help me.
>>
> 
> Sorry, I thought I had the answer for you but it seems that something 
> else is going on with perl Makefile.PL.
> I do have rt installed at /opt/rt3 and 'perl Makefile.PL' does find it 
> there. Now I know of a couple of extensions that ask where RT.pm 
> (AssetTracker) if it can't find it. Don't know how perl figures out that 
> I have rt in /opt/rt3. It certainly isn't in my @INC
> What could be your problem is that you might have two different perls. 
> One for solaris and one specific for RT? and that in this case you're 
> using the wrong one, just a shot in the dark.
> 
> Joop
> 

___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] CommandByMail HELP with install

2009-03-12 Thread Joop van de Wege
Kenneth Crocker wrote:
> To all,
> 
> 
>   FIRST and FOREMOST!!! I am NOT a Unix guy. I know it runs on a server 
> and we have a Sparc server and our DataBase is Oracle 10g and we are on 
> RT 3.6.4.
>   However, I have NO IDEA how directories work when it comes to how an 
> install program looks for or defines where to go to find software it 
> wants to install. I am the Admin guy for RT at our site and so I 
> understand privileges, how to create scrips and templates, Queues, etc. 
> But when it comes to INSTALLING RT or any of the available extensions, 
> I'm lost, TOTALLY!
>   I downloaded the CommandByMail extension from CPAN with no problem. 
> However, when I try to follow the instructions, I get the following error:
> 
> 
>   So, if there is a REAL BRAVE SOUL out there, who doesn't mind taking my 
> hand and walking me thru this, PLEASE, PLEASE, PLEASE help me.
> 

Sorry, I thought I had the answer for you but it seems that something 
else is going on with perl Makefile.PL.
I do have rt installed at /opt/rt3 and 'perl Makefile.PL' does find it 
there. Now I know of a couple of extensions that ask where RT.pm 
(AssetTracker) if it can't find it. Don't know how perl figures out that 
I have rt in /opt/rt3. It certainly isn't in my @INC
What could be your problem is that you might have two different perls. 
One for solaris and one specific for RT? and that in this case you're 
using the wrong one, just a shot in the dark.

Joop
___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] CommandByMail HELP with install

2009-03-12 Thread Kenneth Crocker
To all,


FIRST and FOREMOST!!! I am NOT a Unix guy. I know it runs on a server 
and we have a Sparc server and our DataBase is Oracle 10g and we are on 
RT 3.6.4.
However, I have NO IDEA how directories work when it comes to how an 
install program looks for or defines where to go to find software it 
wants to install. I am the Admin guy for RT at our site and so I 
understand privileges, how to create scrips and templates, Queues, etc. 
But when it comes to INSTALLING RT or any of the available extensions, 
I'm lost, TOTALLY!
I downloaded the CommandByMail extension from CPAN with no problem. 
However, when I try to follow the instructions, I get the following error:

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc 
/soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/5.8.5/sun4-solaris 
/soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/5.8.5 
/soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/site_perl/5.8.5/sun4-solaris 
/soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/site_perl/5.8.5 
/soft/perl-5.8.5/run/default/sparc-SunOS-5.8/lib/site_perl . 
/opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 
/usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib 
/usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib
Path to your RT.pm:

Now, to be fair, I DO KNOW that we have /opt/rt pointing to 
//rt/rt-3.6.4 (I have to protect our path). From there 
(//rt/rt-3.6.4) I can find all the bin, etc, lib, local, perl, 
share, and var directories. AND in //rtrt-3.6.4/lib I can see a RT 
directory, a RT.pm file, a RT.pm.in file, and a t directory.

Also, I downloaded the extension software to //rt/src. So, when I 
go to //rt/src I can find the "un-tared" version of the 
CommandByMail directory "RT-Extension-CommandByMail-0.05".

I'm just not sure where to go from here. Do I have the downloaded 
CommandByMail directory in the wrong place? DO I move it? Where to? 
//rt/rt-3.6.4? DO I just run "perl Makefile.PL" with some sort of 
overrides?

I'm not an idiot, but I am VERY ignorant on this stuff. I know this is 
REALLY a pain in the rump for you more experienced people to have to 
walk an inexperienced person like me thru this, but I'm getting no help 
from my group except "put it in your directory and play with it". Well, 
asking me to play with it is like asking an infant to play with a 
rubik's cube to figure out how it works. I could spend the rest of my 
life playing with this and not get anywhere.

So, if there is a REAL BRAVE SOUL out there, who doesn't mind taking my 
hand and walking me thru this, PLEASE, PLEASE, PLEASE help me.

Thanks.


Kenn
LBNL

___
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 secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


  1   2   >