RT-Extension-CommandByMail

Hi,

I am trying to install RT-Extension-CommandByMail Extention and it does not
work well.
I have setup the configuration and i am running RT 3.8 so I did not need to
run the patch installation.

I ran the Makefile.PL and got this:

perl Makefile.PL
Cannot determine perl version info from lib/RT/Extension/CommandByMail.pm
LEGAL WARNING: ‘All rights reserved’ may invalidate Open Source licenses.
Consider removing it. at inc/Module/Install/Metadata.pm line 305.
Using RT configuration from /opt/rt3/lib/RT.pm:
./lib => /opt/rt3/local/plugins/RT-Extension-CommandByMail/lib
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies…
[Core Features]

  • Test::More …loaded. (0.8)
  • IPC::Open2 …loaded. (1.02)
  • UNIVERSAL::require …loaded. (0.11)
  • MIME::Entity …loaded. (5.426 >= 5.420)
    *** Module::AutoInstall configuration finished.
    Open input ‘/tmp/RT-Extension-CommandByMail-0.06/t/utils.pl’ file for
    substitution
    Open output ‘/tmp/RT-Extension-CommandByMail-0.06/t/utils.pl’ file for
    substitution
    Writing Makefile for RT::Extension::CommandByMail

When I restart the webserver I get this error:

Sun Oct 19 20:23:25 2008]* [error] Can’t locate
RT/Extension/CommandByMail.pm in @INC (@INC
contains:*/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/…/lib/RT.pm line
595.\nCompilation failed in require at (eval 2) line 1.\n

Any ideas?

Monti gmail wrote:

Hi,

I am trying to install RT-Extension-CommandByMail Extention and it does
not work well.

When I restart the webserver I get this error:

Sun Oct 19 20:23:25 2008]* [error] Can’t locate
RT/Extension/CommandByMail.pm in @INC (@INC contains:*
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/…/lib/RT.pm line
595.\nCompilation failed in require at (eval 2) line 1.\n

Any ideas?
Yes, install rt-3.8.1 because it has a fix for the plugin paths which
are broken in 3.8.0. See also the release notes for 3.8.1 which contain
more info on other important things fixed in that version.

Greetings,

Joop

Thanks, that helped. I don’t have this error no more, but still I can’t get
RT-Extension-CommandByMail-0.06 to work.
I have RT 3.8.1 and installed RT-Extension-CommandByMail-0.06 according to
the manual with the required configuration.
when I test it there is no error, the ticket is open and discrds the fields
I used as described RT-Extension-CommandByMail manual…

I run the command:/opt/rt3/bin/RT-Extension-CommandByMail --queue myqueue
–action correspond --url http://myrtserver
from: monti.mail@gmail.com
DependsOn: 62
Owner: monti

some text goes here
^D

but the ticket is created without the “DependsOn” and “Owner” fields.

how do I debug this?On Sun, Oct 19, 2008 at 8:37 PM, Joop van de Wege JoopvandeWege@mococo.nlwrote:

Monti gmail wrote:

Hi,

I am trying to install RT-Extension-CommandByMail Extention and it does
not work well.

When I restart the webserver I get this error:

Sun Oct 19 20:23:25 2008]* [error] Can’t locate
RT/Extension/CommandByMail.pm in @INC (@INC contains:*
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/…/lib/RT.pm line
595.\nCompilation failed in require at (eval 2) line 1.\n

Any ideas?

Yes, install rt-3.8.1 because it has a fix for the plugin paths which are
broken in 3.8.0. See also the release notes for 3.8.1 which contain more
info on other important things fixed in that version.

Greetings,

Joop

Guys, any one familiar with this extension?

I have RT 3.8.1 and installed RT-Extension-CommandByMail-0.06 according to
the manual with the required configuration.
when I test it there is no error, the ticket is open and discards the fields
I used as described RT-Extension-CommandByMail manual…

I run the command:/opt/rt3/bin/RT-Extension-CommandByMail --queue myqueue
–action correspond --url http://myrtserver
from: monti.mail@gmail.com
DependsOn: 62
Owner: monti

some text goes here
^D

but the ticket is created without the “DependsOn” and “Owner” fields.

how do I debug this?On Mon, Oct 20, 2008 at 11:42 AM, Monti gmail monti.mail@gmail.com wrote:

Thanks, that helped. I don’t have this error no more, but still I can’t get
RT-Extension-CommandByMail-0.06 to work.
I have RT 3.8.1 and installed RT-Extension-CommandByMail-0.06 according to
the manual with the required configuration.
when I test it there is no error, the ticket is open and discrds the fields
I used as described RT-Extension-CommandByMail manual…

I run the command:/opt/rt3/bin/RT-Extension-CommandByMail --queue myqueue
–action correspond --url http://myrtserver
from: monti.mail@gmail.com
Subject: one more
DependsOn: 62
Owner: monti

some text goes here
^D

but the ticket is created without the “DependsOn” and “Owner” fields.

how do I debug this?

On Sun, Oct 19, 2008 at 8:37 PM, Joop van de Wege <JoopvandeWege@mococo.nl wrote:

Monti gmail wrote:

Hi,

I am trying to install RT-Extension-CommandByMail Extention and it does
not work well.

When I restart the webserver I get this error:

Sun Oct 19 20:23:25 2008]* [error] Can’t locate
RT/Extension/CommandByMail.pm in @INC (@INC contains:*
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/…/lib/RT.pm line
595.\nCompilation failed in require at (eval 2) line 1.\n

Any ideas?

Yes, install rt-3.8.1 because it has a fix for the plugin paths which are
broken in 3.8.0. See also the release notes for 3.8.1 which contain more
info on other important things fixed in that version.

Greetings,

Joop

I know if you are sending RT mail and expect CommandByMail to pick up commands, you need a blank line between the actual email header and your commands. I would check the headers in the ticket history to see if that’s what’s up. Have you tried sending via an email client instead of command line?

EliasFrom: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Monti gmail
Sent: Tuesday, October 21, 2008 2:13 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT-Extension-CommandByMail

Guys, any one familiar with this extension?

I have RT 3.8.1 and installed RT-Extension-CommandByMail-0.
06 according to the manual with the required configuration.
when I test it there is no error, the ticket is open and discards the fields I used as described RT-Extension-CommandByMail manual…

I run the command:/opt/rt3/bin/RT-Extension-CommandByMail --queue myqueue --action correspond --url http://myrtserverhttp://myrtserver/
from: monti.mail@gmail.commailto:monti.mail@gmail.com
Subject: one more
DependsOn: 62
Owner: monti

some text goes here
^D

but the ticket is created without the “DependsOn” and “Owner” fields.

how do I debug this?

Amazing, you are right. the break line did the difference. thanks a lot
mate!
Works like a charm…

Motti.On Wed, Oct 22, 2008 at 1:03 AM, Eli Altman eli@gmnameplate.com wrote:

I know if you are sending RT mail and expect CommandByMail to pick up
commands, you need a blank line between the actual email header and your
commands. I would check the headers in the ticket history to see if
that’s what’s up. Have you tried sending via an email client instead of
command line?

Elias

From: rt-users-bounces@lists.bestpractical.com [mailto:
rt-users-bounces@lists.bestpractical.com] *On Behalf Of *Monti gmail
Sent: Tuesday, October 21, 2008 2:13 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT-Extension-CommandByMail

Guys, any one familiar with this extension?

I have RT 3.8.1 and installed RT-Extension-CommandByMail-0.

06 according to the manual with the required configuration.
when I test it there is no error, the ticket is open and discards the
fields I used as described RT-Extension-CommandByMail manual…

I run the command:/opt/rt3/bin/RT-Extension-CommandByMail --queue myqueue
–action correspond --url http://myrtserver
from: monti.mail@gmail.com
Subject: one more
DependsOn: 62
Owner: monti

some text goes here
^D

but the ticket is created without the “DependsOn” and “Owner” fields.

how do I debug this?

On Mon, Oct 20, 2008 at 11:42 AM, Monti gmail monti.mail@gmail.com wrote:

Thanks, that helped. I don’t have this error no more, but still I can’t get
RT-Extension-CommandByMail-0.06 to work.
I have RT 3.8.1 and installed RT-Extension-CommandByMail-0.06 according to
the manual with the required configuration.
when I test it there is no error, the ticket is open and discrds the fields
I used as described RT-Extension-CommandByMail manual…

I run the command:/opt/rt3/bin/RT-Extension-CommandByMail --queue myqueue
–action correspond --url http://myrtserver
from: monti.mail@gmail.com
Subject: one more
DependsOn: 62
Owner: monti

some text goes here
^D

but the ticket is created without the “DependsOn” and “Owner” fields.

how do I debug this?

On Sun, Oct 19, 2008 at 8:37 PM, Joop van de Wege < JoopvandeWege@mococo.nl> wrote:

Monti gmail wrote:

Hi,

I am trying to install RT-Extension-CommandByMail Extention and it does not
work well.

When I restart the webserver I get this error:

Sun Oct 19 20:23:25 2008]* [error] Can’t locate
RT/Extension/CommandByMail.pm in @INC (@INC contains:*
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/…/lib/RT.pm line
595.\nCompilation failed in require at (eval 2) line 1.\n

Any ideas?

Yes, install rt-3.8.1 because it has a fix for the plugin paths which are
broken in 3.8.0. See also the release notes for 3.8.1 which contain more
info on other important things fixed in that version.

Greetings,

Joop