Disable Auto replymessage for a group

OK it works now! Thanks everyone for all the help with this, I was able
to get it to send the Autoreply only to regular users and not my
Helpdesk group by using the code supplied below. Mine looks like this:

if ( $self->TransactionObj->Type eq “Create” ) {
my @HelpDeskMembersEmails =
(“email1@mycompany.com”,“email2@mycompany.com”,“email3@mycompany.c
om”);
my $requestor = $self->TicketObj->RequestorAddresses();
if (grep{ lc($requestor) eq lc($_)} @HelpDeskMembersEmails)
{
return undef;
}
return 1;
}

Thanks again to everyone that helped on this!

Sean

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Emmanuel
LacourSent: Thursday, January 17, 2008 9:18 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [Junk released by User action] Re: [rt-users] Disable Auto
replymessage for a group

Kenn,

Thanks for the tip on those actions, I didn’t think about that before.
I guess im still a little stuck on this because I need to be able to
disable the Autoreply action for only those members of my RT group
called “Helpdesk” and still have it work for all the unprivileged
users.
Gene replied with a way to check group membership in a custom
condition,
I think this is the way to go, but I can’t seem to get the syntax
right
to get it to work. Maybe there is a way to write in a custom
condition
to return undef if the requestor is a privileged user? Perhaps I can
just list all the email addresses of the members of my helpdesk group
in
the custom condition? , as there are only about 10 members. I was
able
to get it to work for one email address (I pasted the code in the
original post) but I couldn’t figure out how ot list several
addresses.
Thanks again for all the help on this, I have learned a lot so far off
this mailing list and hope to contribute more as I get more experience
with RT.

Once you have an array with your helpdesk users emails, uses something
like this:

if ( $self->TransactionObj->Type eq “Create” )
{
my @HelpDeskMembersEmails = FIXME;
my $requestor = $self->TicketObj->RequestorAddresses();
if (grep{ lc($requestor) eq lc($_)} @HelpDeskMembersEmails)
{
return undef;
}
}

return 1;
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

I am trying to get RTFM 2.2.1 installed and when I do the very first thing
it says perl Makefile.pl this is what is returned.

I am not sure what $RT::LocalPath even is or even how to define it. If
someone could be so kind as to tell a complete RT Newbie what I need to do
to make this work, that would be fantastic.

perl Makefile.PL

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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:

locate RT.pm

/opt/rt3/lib/RT.pm
/opt/rt3/lib/RT.pm.in
/root/Desktop/rt-3.6.5/lib/RT.pm
/root/Desktop/rt-3.6.5/lib/RT.pm.in

Regards,

Greg Evans

I am trying to get RTFM 2.2.1 installed and when I do the very first thing
it says perl Makefile.pl this is what is returned.

I am not sure what $RT::LocalPath even is or even how to define it. If
someone could be so kind as to tell a complete RT Newbie what I need to do
to make this work, that would be fantastic.

perl Makefile.PL

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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:

Your RT seems located in /opt/rt3, so just type here “/opt/rt3/lib” then hit “Enter”.

I had tried that previously and forgot to put that in my last message. Here
are the results when I do that. I looked at /opt/rt3/lib and I didn’t see
$RT::LocalPath defined anywhere in there.

Currently the RTFM directory lies in ~/Desktop/RTFM-. Do I need to
place it elsewhere for the install?

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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: /opt/rt3/lib
Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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 /opt/rt3/lib /opt/rt3/lib/rt3/lib /opt/rt3/lib/lib/rt3
/opt/rt3/lib/lib
Path to your RT.pm:

Greg Evans
Internet Support
Hood Canal Communications
(360) 898-2481 ext.212From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Emmanuel
Lacour
Sent: Friday, January 18, 2008 12:18 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTFM Install Problem - not sure what to do

I am trying to get RTFM 2.2.1 installed and when I do the very first thing
it says perl Makefile.pl this is what is returned.

I am not sure what $RT::LocalPath even is or even how to define it. If
someone could be so kind as to tell a complete RT Newbie what I need to do
to make this work, that would be fantastic.

perl Makefile.PL

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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:

Your RT seems located in /opt/rt3, so just type here “/opt/rt3/lib” then hit
“Enter”.

locate RT.pm

/opt/rt3/lib/RT.pm
/opt/rt3/lib/RT.pm.in
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

I had tried that previously and forgot to put that in my last message. Here
are the results when I do that. I looked at /opt/rt3/lib and I didn’t see
$RT::LocalPath defined anywhere in there.

It should be defined in RT.pm:

ex: $LocalPath = ‘/opt/rt3/local’;

Currently the RTFM directory lies in ~/Desktop/RTFM-. Do I need to
place it elsewhere for the install?

it doesn’t matter.

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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: /opt/rt3/lib
Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/5.10.0
/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 /us . /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 /opt/rt3/lib /opt/rt3/lib/rt3/lib /opt/rt3/lib/lib/rt3
/opt/rt3/lib/lib
Path to your RT.pm:

I can’t reproduce tour problem here, maybe the user that run “perl
Makefile.PL” has no right to read /opt/rt3/lib/RT.pm ? Or maybe your RT
is half configured ?

Try to first open /opt/rt3/lib/RT.pm, and look if it seems a valid file
(search for LocalPath) inside, then as the same user run your perl
Makefile.PL, it should works.

Hi Emmanuel, Checked what you told me and t his is what I found in /
opt/rt3/lib/RT.pm:

LocalPath = ‘/opt/rt3/local’;

I have beein doing everything on this machine as root, so I think that
having permission shouldn’t be a problem. I am perplexed. I am not
sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as
well, or look in any config files :slight_smile:

Regards,

Greg EvansOn Jan 19, 2008, at 12:21 AM, Emmanuel Lacour wrote:

On Fri, Jan 18, 2008 at 12:36:31PM -0800, Greg Evans wrote:

I had tried that previously and forgot to put that in my last
message. Here
are the results when I do that. I looked at /opt/rt3/lib and I
didn’t see
$RT::LocalPath defined anywhere in there.

It should be defined in RT.pm:

ex: $LocalPath = ‘/opt/rt3/local’;

Currently the RTFM directory lies in ~/Desktop/RTFM-. Do I
need to
place it elsewhere for the install?

it doesn’t matter.

Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/
5.10.0
/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 /us . /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: /opt/rt3/lib
Cannot find the location of RT.pm that defines $RT::LocalPath in: inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/site_perl/
5.10.0
/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 /us . /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 /opt/rt3/lib /opt/rt3/lib/rt3/lib /opt/rt3/lib/
lib/rt3
/opt/rt3/lib/lib
Path to your RT.pm:

I can’t reproduce tour problem here, maybe the user that run “perl
Makefile.PL” has no right to read /opt/rt3/lib/RT.pm ? Or maybe your
RT
is half configured ?

Try to first open /opt/rt3/lib/RT.pm, and look if it seems a valid
file
(search for LocalPath) inside, then as the same user run your perl
Makefile.PL, it should works.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

Regards,

Greg Evans
Internet Support
Hood Canal Communications
(360) 898-2481 ext.212

Oops,

That was $LocalPath = ‘/opt/rt3/local’; not ‘LocalPath=…’ I just
missed the $ when I copied and pasted.

Regards,

Greg Evans
Internet Support
Hood Canal Communications
(360) 898-2481 ext.212On Jan 19, 2008, at 11:41 AM, Greg Evans wrote:

Hi Emmanuel, Checked what you told me and t his is what I found in /
opt/rt3/lib/RT.pm:

LocalPath = ‘/opt/rt3/local’;

I have beein doing everything on this machine as root, so I think
that having permission shouldn’t be a problem. I am perplexed. I am
not sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as
well, or look in any config files :slight_smile:

Regards,

Greg Evans

On Jan 19, 2008, at 12:21 AM, Emmanuel Lacour wrote:

On Fri, Jan 18, 2008 at 12:36:31PM -0800, Greg Evans wrote:

I had tried that previously and forgot to put that in my last
message. Here
are the results when I do that. I looked at /opt/rt3/lib and I
didn’t see
$RT::LocalPath defined anywhere in there.

It should be defined in RT.pm:

ex: $LocalPath = ‘/opt/rt3/local’;

Currently the RTFM directory lies in ~/Desktop/RTFM-. Do
I need to
place it elsewhere for the install?

it doesn’t matter.

Cannot find the location of RT.pm that defines $RT::LocalPath in:
inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/
site_perl/5.10.0
/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 /us . /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: /opt/rt3/lib
Cannot find the location of RT.pm that defines $RT::LocalPath in:
inc
/usr/lib/perl5/5.10.0/i686-linux /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux /usr/lib/perl5/
site_perl/5.10.0
/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 /us . /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 /opt/rt3/lib /opt/rt3/lib/rt3/lib /opt/rt3/lib/
lib/rt3
/opt/rt3/lib/lib
Path to your RT.pm:

I can’t reproduce tour problem here, maybe the user that run “perl
Makefile.PL” has no right to read /opt/rt3/lib/RT.pm ? Or maybe
your RT
is half configured ?

Try to first open /opt/rt3/lib/RT.pm, and look if it seems a valid
file
(search for LocalPath) inside, then as the same user run your perl
Makefile.PL, it should works.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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

Regards,

Greg Evans
Internet Support
Hood Canal Communications
(360) 898-2481 ext.212

Anyone have any ideas on what I can do to fix this issue where
$RT::LocalPath is apparently not able to be found though the RT.pm file
clearly exists in /opt/rt3/lib and $LocalPath is clearly defined in RT.pm??

From What I can tell, RT looks to be configured correctly as it is
functioning as I expect for creation and updating of tickets. This is really
frustrating as I don’t know what I have either missed or should even be
looking for.

Regards,

Greg

Previous messages below

Oops,

That was $LocalPath = ‘/opt/rt3/local’; not ‘LocalPath=…’ I just missed
the $ when I copied and pasted.From: Greg Evans [mailto:gevans@hcc.net]
Sent: Saturday, January 19, 2008 11:41 AM
To: Emmanuel Lacour
Cc: Greg Evans; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTFM Install Problem - not sure what to do

Hi Emmanuel, Checked what you told me and t his is what I found in /
opt/rt3/lib/RT.pm:

LocalPath = ‘/opt/rt3/local’;

I have beein doing everything on this machine as root, so I think that
having permission shouldn’t be a problem. I am perplexed. I am not
sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as
well, or look in any config files :slight_smile:

Regards,

Greg Evans

Oddly enough the problem is fixed.

I was working on it today and realized that I had installed perl 5.10.0 from
source when everything else save RT had been installed via ‘yum’ on this
machine (I didn’t build it :stuck_out_tongue: ). Anyway, I still ahd the error and looked in
RT and it was reporting perl 5.8.8 which was the prior version on the
machine. We uninstalled this via yum (nightmare for me, but oh well) and
then replaced perl 5.10.0 with a fresh install of 5.8.8 from yum.
Re-installed mysql, and RT and now everything is working perfectly and my
databases are intact and everything.

Not sure why a non-yum install of perl would break it, but hey, it works
now.

GregFrom: Greg Evans [mailto:gevans@hcc.net]
Sent: Tuesday, January 22, 2008 1:32 PM
To: ‘Greg Evans’; ‘Emmanuel Lacour’
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RTFM Install Problem - not sure what to do

Anyone have any ideas on what I can do to fix this issue where
$RT::LocalPath is apparently not able to be found though the RT.pm file
clearly exists in /opt/rt3/lib and $LocalPath is clearly defined in RT.pm??

From What I can tell, RT looks to be configured correctly as it is
functioning as I expect for creation and updating of tickets. This is really
frustrating as I don’t know what I have either missed or should even be
looking for.

Regards,

Greg

Previous messages below

Oops,

That was $LocalPath = ‘/opt/rt3/local’; not ‘LocalPath=…’ I just missed
the $ when I copied and pasted.

From: Greg Evans [mailto:gevans@hcc.net]
Sent: Saturday, January 19, 2008 11:41 AM
To: Emmanuel Lacour
Cc: Greg Evans; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTFM Install Problem - not sure what to do

Hi Emmanuel, Checked what you told me and t his is what I found in /
opt/rt3/lib/RT.pm:

LocalPath = ‘/opt/rt3/local’;

I have beein doing everything on this machine as root, so I think that
having permission shouldn’t be a problem. I am perplexed. I am not
sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as
well, or look in any config files :slight_smile:

Regards,

Greg Evans

System Config:
Thought this might help if someone was trying to look into this for me since
there is so little information with my problem on the net

Thanks again

Perl v5.8.8 under linux Apache2::Const v2.000002; Apache2::Log v2.000002;
Apache2::Module v2.000002; Apache2::RequestIO v2.000002;
Apache2::RequestRec v2.000002; Apache2::RequestUtil v2.000002;
Apache2::Response v2.000002; Apache2::ServerUtil v2.000002;
Apache2::Status v4.00; Apache::DBI v1.06; Apache::Session v1.85;
Apache::Session::Generate::MD5 v2.1; Apache::Session::lock::MySQL v1.00;
Apache::Session::MySQL v1.01; Apache::Session::Serialize::Storable v1.01;
Apache::Session::Store::DBI v1.02; Apache::Session::Store::MySQL v1.04;
APR v0.009000; APR::Pool v0.009000; APR::Table v0.009000; AutoLoader
v5.60; base v2.07; Benchmark v1.07; bytes v1.02;
Cache::Simple::TimedExpiry v0.27; capitalization v0.03; Carp v1.04; CGI
v3.15; CGI::Cookie v1.26; CGI::Util v1.5; Class::Container v0.12;
Class::Data::Inheritable v0.06; Class::ReturnValue v0.55; Clone v0.28;
constant v1.05; Cwd v3.26; Data::Dumper v2.121_08; Date::Format v2.22;
DateTime::Format::W3CDTF v0.04; DateTime::Locale v0.35; DateTime::TimeZone
v0.6904; DateTime::TimeZone::Floating v0.01; DateTime::TimeZone::Local
v0.01; DateTime::TimeZone::OffsetOnly v0.02; DateTime::TimeZone::UTC
v0.01; DBD::mysql v3.0007; DBI v1.601; DBIx::SearchBuilder v1.50;
DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01;
Devel::StackTrace v1.15; Devel::StackTraceFrame v0.6; Devel::Symdump
v2.08; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.05; Encode
v2.12; Encode::Alias v2.04; Encode::Config v2.01; Encode::Encoding v2.02;
Encode::Guess v2.00; Encode::Unicode v2.02; Errno v1.0901;
Exception::Class v1.23; Exception::Class::Base v1.2; Exporter v5.58;
Exporter::Heavy v5.58; Fcntl v1.05; File::Basename v2.74; File::Glob
v1.05; File::Path v1.08; File::Spec v3.26; File::Spec::Functions v3.26;
File::Spec::Unix v3.26; File::Temp v0.20; FileHandle v2.01; HTML::Element
v3.23; HTML::Entities v1.35; HTML::Formatter v2.04; HTML::FormatText
v2.04; HTML::Mason v1.32; HTML::Mason::ApacheHandler v1.69;
HTML::Mason::Exception v1.1; HTML::Mason::Exception::Abort v1.1;
HTML::Mason::Exception::Compilation v1.1;
HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1;
HTML::Mason::Exception::Compiler v1.1; HTML::Mason::Exception::Decline
v1.1; HTML::Mason::Exception::Params v1.1; HTML::Mason::Exception::Syntax
v1.1; HTML::Mason::Exception::System v1.1;
HTML::Mason::Exception::TopLevelNotFound v1.1;
HTML::Mason::Exception::VirtualMethod v1.1; HTML::Mason::Exceptions v1.43;
HTML::Parser v3.56; HTML::Scrubber v0.08; HTML::Tagset v3.10;
HTML::TreeBuilder v3.23; HTTP::Date v1.47; I18N::LangTags v0.35;
I18N::LangTags::Detect v1.03; integer v1.00; IO v1.22; IO::File v1.13;
IO::Handle v1.25; IO::InnerFile v2.110; IO::Lines v2.110; IO::Scalar
v2.110; IO::ScalarArray v2.110; IO::Seekable v1.1; IO::Wrap v2.110;
IO::WrapTie v2.110; IPC::Open2 v1.02; IPC::Open3 v1.02; lib v0.5565;
List::Util v1.18; Locale::Maketext v1.09; Locale::Maketext::Fuzzy v0.10;
Locale::Maketext::Lexicon v0.65; Locale::Maketext::Lexicon::Gettext v0.16;
Log::Dispatch v2.20; Log::Dispatch::Base v1.09; Log::Dispatch::Output
v1.26; Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18;
Mail::Address v2.02; Mail::Field v2.02; Mail::Field::AddrList v2.02;
Mail::Field::Date v2.02; Mail::Field::Generic v2.02; Mail::Header v2.02;
Mail::Internet v2.02; Mail::Util v2.02; MIME::Base64 v3.07; MIME::Body
v5.420; MIME::Decoder v5.420; MIME::Decoder::NBit v5.420; MIME::Entity
v5.420; MIME::Field::ContDisp v5.420; MIME::Field::ConTraEnc v5.420;
MIME::Field::ContType v5.420; MIME::Field::ParamVal v5.420; MIME::Head
v5.420; MIME::Parser v5.420; MIME::QuotedPrint v3.07; MIME::Tools v5.420;
MIME::Words v5.420; mod_perl v2.000002; mod_perl2 v2.000002;
ModPerl::Const v2.000002; Module::Versions::Report v1.03; overload v1.04;
Params::Validate v0.89; POSIX v1.09; re v0.05; Regexp::Common v2.120;
Regexp::Common::delimited v2.104; RT v3.6.5; RT::Interface::Email v2;
Scalar::Util v1.18; SelectSaver v1.01; Socket v1.78; Storable v2.15;
strict v1.03; Symbol v1.06; Sys::Syslog v0.13; Text::Autoformat v1.13;
Text::Quoted v2.03; Text::Reform v1.11; Text::Tabs v2005.0824;
Text::Template v1.44; Text::WikiFormat v0.79; Text::Wrapper v1.01;
Time::HiRes v1.86; Time::JulianDay v2003.1125; Time::Local v1.11;
Time::ParseDate v2006.0814; Time::Timezone v2006.0814; Time::Zone v2.22;
Tree::Simple v1.18; UNIVERSAL v1.01; UNIVERSAL::require v0.11; URI v1.35;
URI::Escape v3.28; URI::URL v5.03; URI::WithBase v2.19; utf8 v1.06; vars
v1.01; warnings v1.05; warnings::register v1.01; XML::Parser v2.36;
XML::Parser::Expat v2.36; XML::RSS v1.31; XSLoader v0.06;

RT Variables
RT::AmbiguousDayInPast 1
RT::BasePath /opt/rt3
RT::BinPath /opt/rt3/bin
RT::CORE_CONFIG_FILE /opt/rt3/etc/RT_Config.pm
RT::CommentAddress RT_CommentAddressNotSet
RT::CorrespondAddress RT_CorrespondAddressNotSet
RT::DatabaseName rt3
RT::DatabasePassword Password not printed
RT::DatabaseType mysql
RT::DatabaseUser root
RT::DateDayBeforeMonth 1
RT::DefaultSearchResultFormat ‘id/TITLE:#’, ‘Subject/TITLE:Subject’,
Status, QueueName, OwnerName, Priority, ‘NEWLINE’, ‘’,
Requestors’, ‘CreatedRelative’,
ToldRelative’, ‘LastUpdatedRelative’,
TimeLeft
RT::DefaultSummaryRows 10
RT::EmailOutputEncoding utf-8
RT::EtcPath /opt/rt3/etc
RT::FriendlyFromLineFormat “%s via RT” <%s>
RT::FriendlyToLineFormat “%s of HCC Ticket #%s”:;
RT::LocalEtcPath /opt/rt3/local/etc
RT::LocalLexiconPath /opt/rt3/local/po
RT::LocalPath /opt/rt3/local
RT::LogDir /opt/rt3/var/log
RT::LogToFileNamed rt.log
RT::LogToScreen error
RT::LogToSyslog debug
RT::LogoURL /NoAuth/images/bplogo.gif
RT::LoopsToRTOwner 1
RT::MailCommand sendmailpipe
RT::MasonComponentRoot /opt/rt3/share/html
RT::MasonDataDir /opt/rt3/var/mason_data
RT::MasonLocalComponentRoot /opt/rt3/local/html
RT::MasonSessionDir /opt/rt3/var/session_data
RT::MaxAttachmentSize 10000000
RT::MaxInlineBody 13456
RT::MessageBoxWidth 72
RT::MessageBoxWrap HARD
RT::MinimumPasswordLength 5
RT::OldestTransactionsFirst 1
RT::Organization hctc.com
RT::OwnerEmail hctcadmins@hctc.com
RT::RTAddressRegexp ^rt@hctc.com$
RT::RecordOutgoingEmail 1
RT::RedistributeAutoGeneratedMessages privileged
RT::SITE_CONFIG_FILE /opt/rt3/etc/RT_SiteConfig.pm
RT::SendmailArguments -oi -t
RT::SendmailBounceArguments -f “<>”
RT::SendmailPath /usr/sbin/sendmail
RT::ShowTransactionImages 1
RT::StrictLinkACL 1
RT::Timezone US/Pacific
RT::UseFriendlyFromLine 1
RT::VERSION 3.6.5
RT::VarPath /opt/rt3/var
RT::WebBaseURL http://localhost:80
RT::WebDefaultStylesheet 3.5-default
RT::WebFlushDbCacheEveryRequest 1
RT::WebImagesURL /NoAuth/images/
RT::WebPort 80
RT::WebURL http://localhost:80/
RT::rtname HCC

Perl configuration
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.9-42.0.3.elsmp,
archname=i386-linux-thread-multi
uname=‘linux builder6.centos.org 2.6.9-42.0.3.elsmp #1 smp fri oct 6
06:28:26 cdt 2006 i686 athlon i386 gnulinux ’
config_args=’-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
-mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8
-Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat,
Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux
-Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm
-Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5
-Dscriptdir=/usr/bin’
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=‘gcc’, ccflags =‘-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm’,
optimize=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables’,
cppflags=‘-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm’
ccversion=‘’, gccversion=‘4.1.1 20070105 (Red Hat 4.1.1-52)’,
gccosandvers=‘’
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype=‘long’, ivsize=4, nvtype=‘double’, nvsize=8, Off_t=‘off_t’,
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld=‘gcc’, ldflags =’ -L/usr/local/lib’
libpth=/usr/local/lib /lib /usr/lib
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=‘2.5’
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=‘-Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE’
cccdlflags=‘-fPIC’, lddlflags=‘-shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
–param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -L/usr/local/lib’

Time to display: 0.047204>|< RT 3.6.5 Copyright 1996-2006 Best Practical Solutions, LLC.

From: Greg Evans [mailto:gevans@hcc.net]
Sent: Tuesday, January 22, 2008 1:32 PM
To: ‘Greg Evans’; ‘Emmanuel Lacour’
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] RTFM Install Problem - not sure what to do

Anyone have any ideas on what I can do to fix this issue where
$RT::LocalPath is apparently not able to be found though the RT.pm file
clearly exists in /opt/rt3/lib and $LocalPath is clearly defined in RT.pm??

From What I can tell, RT looks to be configured correctly as it is
functioning as I expect for creation and updating of tickets. This is really
frustrating as I don’t know what I have either missed or should even be
looking for.

Regards,

Greg

Previous messages below

Oops,

That was $LocalPath = ‘/opt/rt3/local’; not ‘LocalPath=…’ I just missed
the $ when I copied and pasted.

From: Greg Evans [mailto:gevans@hcc.net]
Sent: Saturday, January 19, 2008 11:41 AM
To: Emmanuel Lacour
Cc: Greg Evans; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTFM Install Problem - not sure what to do

Hi Emmanuel, Checked what you told me and t his is what I found in /
opt/rt3/lib/RT.pm:

LocalPath = ‘/opt/rt3/local’;

I have beein doing everything on this machine as root, so I think that
having permission shouldn’t be a problem. I am perplexed. I am not
sure what I may have not configured since I am a RT newbie.

Any Ideas? I can send any config files that might be necessary as
well, or look in any config files :slight_smile:

Regards,

Greg Evans

Now that I have RT and RTFM up and running as well as some other extensions,
etc. I am interested in finding out if it is possible to include images in
my tickets from the RTFM article.

For example, I have created an RTFM article that has inline images. When I
click on display, it looks exactly like I would want it to. When I add it to
RT however, each image that I would like to be displayed with the
instructions only shows up as [image]

Is there a way to make it so that the images I used in RTFM via the standard
HTML show up when I add that article to a ticket?

Thanks.

Greg Evans