Re: [rt-users] Suppressing outgoing email from another queue if ticket is moved into our Spam queue

2010-09-19 Thread Gavin Henry
> Hi,
>
> We're using 1b from http://wiki.bestpractical.com/view/SpamFiltering
> and have also installed the disable global scrips extension to switch
> of emails for this Spam queue.
>
> The problem is as a ticket hits my support or sales queue etc. first,
> an email is still being sent out. How can we disable this for detected
> Spam so the notify emails get stopped?
>


So for example, once an email is filtered for the spam headers our MTA
has added, RT moves this ticket into our Spam queue. If this ticket
was meant for our sales queue, the sales queue still sends out an
email even though the end queue is our Spam one.

Here's the condition:

Custom action preparation code: 

my $inMessage = $self->TransactionObj->Attachments->First;
return 0 if ( !$inMessage );# if no message attachment - assume web UI
return 0 if ( !$inMessage->GetHeader('Received') );  # exit if not email message

if (   $inMessage->GetHeader('X-nohelo')
|| $inMessage->GetHeader('X-badhelo')
|| $inMessage->GetHeader('X-ptrmismatch')
|| $inMessage->GetHeader('X-sendercalloutfail')
|| $inMessage->GetHeader('X-rbl-spamhaus')
|| $inMessage->GetHeader('X-rbl-spamcop') )
{
return 1;
}
else { return 0; }


Custom action cleanup code: 

my $newqueue = 'Spam';
my ( $status, $msg ) = $self->TicketObj->SetQueue($newqueue);
return $status ? undef : 1;


How can I switch off the email trigger for this match?

Thanks.

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] How to get rid of a disabled queue.

2010-09-19 Thread Max McGrath
Figured it out.  I was trying to use the queue name -- I had to use the
queue ID number.


--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu


On Sun, Sep 19, 2010 at 9:19 AM, Max McGrath  wrote:

> Hi all -
>
> Runing RT 3.8.8 on Ubuntu.
>
> I've been having some quirky search results but I figured out the meat of
> the problem, which brings me to a new question.
>
> We've been having some weird search results on blackboard, because when
> people did searches for blackboard it turns out it was searching within the
> Blackboard Queue -- which we decided we didn't need anymore, so it's been
> disabled.  Hence, no tickets were turning up upon searches for blackboard.
>
> My question is now, how do I delete (or shred?) a disabled queue?  I can't
> seem to figure it out.
>
> What is my best option?
>
> --
> Max McGrath
> Asst. Network Admin/Systems Specialist
> Carthage College
> 262-552-5512
> mmcgr...@carthage.edu
>

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] Securing /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm

2010-09-19 Thread Jesse Vincent
> > Solutions like "well make the file only readable by root" aren't going to
> > be accepted (not by me, but by our security team). Needs to be a hashed
> > password, may be, or something.. I don't know.. soliciting ideas.
> >

When people talk about hashes, they are _typically_ talking about
one-way functions. You can tell if two passwords hash to the same thing, 
but can't typically reverse a hashed password into usable credentials.

Have you tried asking your security people for recommendations? Presumably
they have a way they'd like you to do this.

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] How to get rid of a disabled queue.

2010-09-19 Thread Max McGrath
Hi all -

Runing RT 3.8.8 on Ubuntu.

I've been having some quirky search results but I figured out the meat of
the problem, which brings me to a new question.

We've been having some weird search results on blackboard, because when
people did searches for blackboard it turns out it was searching within the
Blackboard Queue -- which we decided we didn't need anymore, so it's been
disabled.  Hence, no tickets were turning up upon searches for blackboard.

My question is now, how do I delete (or shred?) a disabled queue?  I can't
seem to figure it out.

What is my best option?

--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu

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] RTFM Upgrade - Different Paths?

2010-09-19 Thread Paul Broadwith
I have a working install of RTFM (hardly used it but it does work). I've
just upgraded my installation of RTFM from v2.2.1 to v2.4.2 (latest). I
followed the instructions (perl Makefile.pm, make install).

However, upon viewing the version of the Perl module loaded under
Tools->Configuration->System Congfiguration, the version of the Perl
module RT::FM is still 2.2.1.

I then looked for the FM.pm vile as I know the version number is in
there. I now have two. A copy in /opt/rt3/local/lib/RT/FM.pm and
/opt/rt3/local/plugins/RT-FM/lib/RT/FM.pm. The first one is the old
version. The second is the new one.

So I went and simply renamed the files and folders in
/opt/rt3/local/lib/RT related to RTFM in the hope that RT would then
pickup the new version in the plugins folder. Didn't happen. RT fell
over.

So my question is - how do I get RT to use the new version and not the
old one?

Don't ask me how I ended up with an install in local/lib/RT - I have no
idea. I would have followed the instructions at the time of install as I
don't know enough about Perl, and too scared of wrecking my RT install,
to play around. Everything was installed at the default paths.

Any help appreciated.

Kind regards,

Paul Broadwith (MBCS)
Microsoft Certified Professional
Blue Ivy Ltd - Microsoft Small Business Specialist, UK Partner Qualified
for 2010 and Microsoft Registered Partner


Tel.: 0845 862 0292
Web: http://www.blueivy.co.uk


 
Blue Ivy Limited is a limited company registered in Scotland.
Registered company number: SC 221649.
Registered VAT number: GB 774 8460 88.
Registered Office: 67 Kelburn Street, Barrhead, Glasgow, G78 1LD

This email and its attachments may be confidential and are intended solely for 
the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those 
of ?Blue Ivy Ltd?.

If you are not the intended recipient of this email and its attachments, you 
must take no action based upon them, nor must you copy or show them to anyone.

Please contact the sender if you believe you have received this email in error.



{Blue Ivy Ltd - ICT For Small Businesses}

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] change main menu place to right

2010-09-19 Thread armin imani
hi
i am using RT in Persian. because Persian is a right to left language,
i want to change the place of main menu from left to right
who can i doing this?

--

Best Regards
Armin Imani



-- 

Best Regards
Armin Imani

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] Securing /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm

2010-09-19 Thread Val Polyakov
Any thoughts, anyone ?

> Hello,
>
> what are our options as far as securing RT_SiteConfig.pm goes?
>
> My company has pretty strict security requirements, and our security team
> will simply not allow us to store the ldap username/password in a plain
> text file on the RT server (and I can fully understand their concerns).
>
> What are some options here? Again, keeping in mind that the requirement is
> for the password (at least the password, that is) to NOT be plaintext in
> RT_SiteConfig.pm
>
> Solutions like "well make the file only readable by root" aren't going to
> be accepted (not by me, but by our security team). Needs to be a hashed
> password, may be, or something.. I don't know.. soliciting ideas.
>
> --Val
>
>
> 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 Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!