Re: [rt-users] Remove a post to the group?

2011-01-10 Thread Jon Baker
Your best bet is probably to put in a robots.txt directive to tell  
Google (and any other search engine) to get rid of their record, at  
least then it would get removed from search results.


On Jan 10, 2011, at 11:00 AM, rt-users-requ...@lists.bestpractical.com  
wrote:



I posted something out here, and now the link is showing up in Google
search, and I want to get rid of it.



Is there a way to completely remove a post?


--
Jon Baker
Systems Administrator
Church on the Move
1003 N 129th E Ave
Tulsa OK 74116
(918) 234-5656





CONFIDENTIALITY NOTICE: This transmission may be confidential and subject to 
legal privilege.  If you are not the intended recipient of this message, you 
may not review, disclose, print, copy or disseminate this information. If you 
have received this in error, please reply and notify the sender (only) and 
delete the message. Unauthorized interception of this e-mail is a violation of 
federal criminal law.

Re: [rt-users] how to check if can receive email from special domain

2011-01-10 Thread Jon Baker
Is t...@test.com getting a bounce message from RT?  If they are not,  
it's most likely not getting that far.  I'd look in the mail logs and  
make sure your MTA isn't blocking his message for some reason; if you  
see the message arriving there and being delivered to RT, you'll need  
to look in the RT logs to see what RT is doing with it.  But it's  
unlikely that RT is blocking a message from a specific domain.


On Jan 10, 2011, at 11:00 AM, rt-users-requ...@lists.bestpractical.com  
wrote:



Sir,

Our RT can not receive email from special domain(for example,
t...@test.com), it is okay before.

a. We can sent email to t...@test.com via RT web UI(create ticket for  
him)
b. But RT can not receive email from t...@test.com or he can not  
update ticket

c. If we use m...@gmail.com sent email to t...@test.com, m...@gmail.com can
get reply email from t...@test.com

If our RT blocked emails from t...@test.com?

Thank you.

--
LiuJia


--
Jon Baker
Systems Administrator
Church on the Move
1003 N 129th E Ave
Tulsa OK 74116
(918) 234-5656





CONFIDENTIALITY NOTICE: This transmission may be confidential and subject to 
legal privilege.  If you are not the intended recipient of this message, you 
may not review, disclose, print, copy or disseminate this information. If you 
have received this in error, please reply and notify the sender (only) and 
delete the message. Unauthorized interception of this e-mail is a violation of 
federal criminal law.

[rt-users] Status = 'rejected' blocks email address?

2011-01-10 Thread Kris Germann
Does anybody know if this is even possible?

 

When you set a ticket status to 'rejected' that it automatically add a
condition to block that email address permanently?

 

Getting a lot of spam of late .

 

Kris Germann
Supervisor, Sales  Technical Support
Fibernetics Corporation
freephoneline.ca
605 Boxwood Drive
Cambridge ON, N3E1A5

 



[rt-users] Question on 3.8.7

2011-01-10 Thread Kelly Murphy
Just installed and Migrated from earlier RT. Everything went well with one 
exception, when Loading a ticket after running a Saved query users need to 
relogin. Constantly, if the users create a new query from scratch and run it, 
everything works correctly, it's just when running from a saved query.  Any 
Ideas?


[rt-users] test

2011-01-10 Thread Anna Milovanova
test


Re: [rt-users] test

2011-01-10 Thread Andy Lee
Sorry, but your test was not successful.

j/k :)
tar

On Mon, Jan 10, 2011 at 11:44 AM, Anna Milovanova anna.milovan...@gmail.com
 wrote:

 test


[rt-users] Password: Password: Permission Denied

2011-01-10 Thread Richard Pickett
Subject says it all.

I create a new user, mark that they can be granted rights, set their
password, etc. When the user then goes to change their password (after
logging in), that's the error they get.

Ideas?

Thanks and God Bless,

Richard W. Pickett, Jr.
www.MyHaitianAdoption.org

P.S. Have you downloaded the journal from my trip to Haiti:

http://www.myhaitianadoption.org/trips/journal-earthquake-rescue-jan-23-feb-2/


Re: [rt-users] Password: Password: Permission Denied

2011-01-10 Thread Landon Stewart
On Mon, Jan 10, 2011 at 12:54 PM, Richard Pickett 
richard.pick...@csrtechnologies.com wrote:

 Subject says it all.

 I create a new user, mark that they can be granted rights, set their
 password, etc. When the user then goes to change their password (after
 logging in), that's the error they get.

 Ideas?


Hi Richard,

Perhaps the user or their group does not have ModifySelf rights?

-- 
Landon Stewart lstew...@superb.net
SuperbHosting.Net by Superb Internet Corp.
Toll Free (US/Canada): 888-354-6128 x 4199
Direct: 206-438-5879
Web hosting and more Ahead of the Rest: http://www.superbhosting.net


Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-10 Thread Jeff Blaine

Still no luck.  Can anyone suggest how I might debug why
this isn't working?  I'm begging at this point :)  Here's
the most complete picture I can paint for you right now:

The following entire directory structure is set drwxr-xr-x

/rt/local/
   |-- html/
| Callbacks/
 | MyCallbacks/
 |- Ticket/
   |-- Display.html/

# pwd
/rt/local/html/Callbacks/MyCallbacks/Ticket/Display.html
# ls -l BeforeDisplay
-rw-r--r-- 1 rt root 668 Jan  6 22:19 BeforeDisplay
#
# cat BeforeDisplay
%INIT
$RT::Logger-crit(In Display.html/BeforeDisplay\n);
return 1;
/%INIT
%ARGS
$Actions = []
/%ARGS
#

# /etc/init.d/rtsrv1dev-httpd restart
Stopping httpd: httpd
Starting httpd:  httpd
#

Login to site.  Here you can see that various calls to RT::Logger
*do* log to /var/log/messages

Jan 10 16:26:25 rtdev1 RT: Successful login for jblaine from
xx.xx.5.133 (/rt/bin/../lib/RT/Interface/Web.pm:430)

View ticket, resolve ticket, again proof that logging can happen:

Jan 10 16:27:11 rtdev1 RT: Apache2::RequestIO::rflush: (103)
Software caused connection abort at /usr/lib/perl5/site_perl/5.8.8
/HTML/Mason/ApacheHandler.pm line 1020 (/rt/bin/webmux.pl:168)

Re-open ticket, resolve ticket, view ticket over and over...

[ nothing ]

If I then add the following to the callback code (inside
the INIT block), nothing is ever written out to /tmp/jblaine.txt:

open (GRRR, '/tmp/jblaine.txt');
print GRRR HELLO?\n;
close (GRRR);

So the code is never even getting executed.

If I then 'cp BeforeDisplay BeforeActionList' and also
'cp BeforeDisplay BeforeShowSummary' to create two more
callback tests, in order to prove that it's not just the
callback for BeforeDisplay that is broken ... those do
not work *either* (after a server restart of course).

On 1/7/2011 10:03 AM, Jeff Blaine wrote:

On 1/7/2011 9:56 AM, Kevin Falcone wrote:

On Thu, Jan 06, 2011 at 10:16:55PM -0500, Jeff Blaine wrote:

# ls -l BeforeDisplay
-rw-r--r-- 1 rt root 689 Jan 6 22:06 BeforeDisplay


Can your web user read this file?


Every directory from (and including) /rt/local downward
is world readable and executable/traversable.

The file, as above, is world readable.



[rt-users] stupid question (noob)

2011-01-10 Thread Chris Barnes
We have just started using RT and are quite pleased with our initial 
impressions.   But there is one thing I *really* wish it would do and am 
hoping there is a configuration tweak I can make


There is an open ticket
* We use the Reply link/button to get information back from the user
* The user replies to the email message (properly keeping the subject 
line in-tact


-- is there anyway for RT to indicate that there is new information 
in the ticket that we need to look at?


--
Chris Barnes   AOL IM: CNBarnes
chris-bar...@tamu.eduYahoo IM: chrisnbarnes
Computer Systems Manager   MSN IM: ch...@txbarnes.com
Department of Physics  ph: 979-845-1379
Texas AM University  fax: 979-845-2590


Re: [rt-users] stupid question (noob)

2011-01-10 Thread Landon Stewart
On Mon, Jan 10, 2011 at 2:29 PM, Chris Barnes chris-bar...@tamu.edu wrote:

 We have just started using RT and are quite pleased with our initial
 impressions.   But there is one thing I *really* wish it would do and am
 hoping there is a configuration tweak I can make

 There is an open ticket
 * We use the Reply link/button to get information back from the user
 * The user replies to the email message (properly keeping the subject line
 in-tact

 -- is there anyway for RT to indicate that there is new information in
 the ticket that we need to look at?


When I reply to the 'requestor' I mark the ticket status as Stalled unless
there's more I need to do before they get back to me with more information.
When they reply it will automatically be marked with a status of Open
again (as per a global Scrip).

Appart from that you can modify the ticket list to include the 'last updated
time' and 'last updated by' fields and even sort by the time field so you
can see the oldest first or something.

-- 
Landon Stewart lstew...@superb.net
SuperbHosting.Net by Superb Internet Corp.
Toll Free (US/Canada): 888-354-6128 x 4199
Direct: 206-438-5879
Web hosting and more Ahead of the Rest: http://www.superbhosting.net


Re: [rt-users] stupid question (noob)

2011-01-10 Thread Kevin Falcone
On Mon, Jan 10, 2011 at 04:29:15PM -0600, Chris Barnes wrote:
 We have just started using RT and are quite pleased with our initial
 impressions.   But there is one thing I *really* wish it would do
 and am hoping there is a configuration tweak I can make
 
 There is an open ticket
 * We use the Reply link/button to get information back from the user
 * The user replies to the email message (properly keeping the
 subject line in-tact
 
 -- is there anyway for RT to indicate that there is new
 information in the ticket that we need to look at?

You can have RT forward the email from the end user to the ticket
owner, or in the UI you could use LastUpdated/LastUpdateBy or
UpdateStatus on your saved search.

-kevin


pgpPSYAyrTsUh.pgp
Description: PGP signature


Re: [rt-users] rt-client ruby gem

2011-01-10 Thread Jesse Vincent



On Mon, Jan 10, 2011 at 03:57:46PM -0800, Tom Lahti wrote:
 I've filed a bug report.  
 http://issues.bestpractical.com/Ticket/Display.html?id=16418
 
 This is probably the 3rd time its come up.  I've discussed it with Jesse on 
 the RT user's list and he recommended filing a bug report the last time it 
 came up.  The problem isn't really with rt-client, its with RT.  This 
 non-compliance with RFC 822 when that was intended will cause not only 
 rt-client to fail, but other similar libraries as well that use a 3rd party 
 RFC 822 parser.  Having a space in the field name of an RFC 822 header is not 
 compliant with the RFC.
 

I don't think we've ever claimed to be RFC 822 compliant. Have we?


Re: [rt-users] rt-client ruby gem

2011-01-10 Thread Tom Lahti
It was in something I read somewhere regarding the REST interface.  Maybe it 
was in the wiki and someone else wrote it.

--
Tom Lahti, SCMDBA, LPIC-1, CLA
BIT LLC
425-251-0833 x 117

 I've filed a bug report.  
 http://issues.bestpractical.com/Ticket/Display.html?id=16418
 
 This is probably the 3rd time its come up.  I've discussed it with Jesse on 
 the RT user's list and he recommended filing a bug report the last time it 
 came up.  The problem isn't really with rt-client, its with RT.  This 
 non-compliance with RFC 822 when that was intended will cause not only 
 rt-client to fail, but other similar libraries as well that use a 3rd party 
 RFC 822 parser.  Having a space in the field name of an RFC 822 header is 
 not compliant with the RFC.
 
 I don't think we've ever claimed to be RFC 822 compliant. Have we?



smime.p7s
Description: S/MIME cryptographic signature


Re: [rt-users] rt-client ruby gem

2011-01-10 Thread Tom Lahti
Surely you remember this thread as well?

http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg28493.html

--
Tom Lahti, SCMDBA, LPIC-1, CLA
BIT LLC
425-251-0833 x 117




On Jan 10, 2011, at 4:27 PM, Tom Lahti wrote:

 It was in something I read somewhere regarding the REST interface.  Maybe it 
 was in the wiki and someone else wrote it.
 
 --
 Tom Lahti, SCMDBA, LPIC-1, CLA
 BIT LLC
 425-251-0833 x 117
 
 I've filed a bug report.  
 http://issues.bestpractical.com/Ticket/Display.html?id=16418
 
 This is probably the 3rd time its come up.  I've discussed it with Jesse on 
 the RT user's list and he recommended filing a bug report the last time it 
 came up.  The problem isn't really with rt-client, its with RT.  This 
 non-compliance with RFC 822 when that was intended will cause not only 
 rt-client to fail, but other similar libraries as well that use a 3rd party 
 RFC 822 parser.  Having a space in the field name of an RFC 822 header is 
 not compliant with the RFC.
 
 I don't think we've ever claimed to be RFC 822 compliant. Have we?
 



smime.p7s
Description: S/MIME cryptographic signature


Re: [rt-users] rt-client ruby gem

2011-01-10 Thread Tom Lahti
Ah, I know where I got the idea.  RT::Client::REST on CPAN uses 
Mail::RFC822::Address from CPAN, I believe.  

The evilness of spaces in field-names is far less than the one back in October, 
with null lines preceeding and after a header in the metadata, which is how the 
body is supposed to be separated from the metadata.  Not sure how that one 
happens, but it makes parsing rather difficult.

--
Tom Lahti, SCMDBA, LPIC-1, CLA
BIT LLC
425-251-0833 x 117


On Jan 10, 2011, at 4:34 PM, Tom Lahti wrote:

 Surely you remember this thread as well?
 
 http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg28493.html



smime.p7s
Description: S/MIME cryptographic signature


[rt-users] External users unable to create tickets since ExternalAuth activated

2011-01-10 Thread Nicôle Layne-Balram
Since implementing external auth (LDAP option), RT works as expected for users 
within AD, but I've just realized that external users are unable to create 
tickets, even with the appropriate Everybody permissions set via the web 
interface (globally as well as queue-specific).

Error within logs: 
*timestamp* RT RT: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning 
Comments: Autocreated on ticket submission, Disabled: 0, EmailAddress: 
y...@hotmail.com, Name: y...@hotmail.com, Password: , Privileged: 0, RealName: 
Jane Doe 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536)
 
Jan 10 21:21:58 RT RT: Couldn't load user 'y...@hotmail.com'.giving up 
(/opt/rt3/bin/../lib/RT/Interface/Email.pm:947)

RT_SiteConfig.pm:
Set($rtname , xxx.com);
Set($Organization , xxx.com);
Set($Timezone , 'US/Eastern');
Set($DatabaseType , 'mysql');
Set($DatabaseHost   , 'localhost');
Set($DatabaseRTHost , 'localhost');
Set($DatabasePort , '');
Set($DatabaseUser , 'rt');
Set($DatabasePassword , 'xyz');
Set($OwnerEmail , 'root');
Set($RTAddressRegexp , '([a-z]+)\...@rt\.xxx\.com$');
Set($ValidateUserEmailAddresses, 1);
Set($CorrespondAddress , 'no-re...@rt.xxx.com');
Set($CommentAddress , 'no-reply-comm...@rt.xxx.com');
Set( $WebDomain, 'rt.xxx.com' );
Set($WebPath, );
Set($CanonicalizeRedirectURLs, 1);
Set($LogToSyslog , 'info');
Set($UnsafeEmailCommands,1);
Set($LogToSyslog, debug);
Set($AutoCreateNonExternalUsers, 1);
Set($AutoCreate, {Privileged = 1});
Set(@Plugins,qw(RT::FM RT::Extension::QueueDeactivatedScrips 
RT::Extension::MobileUI RT::Authen::ExternalAuth));
require /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/My_RT_SiteConfig.pm;

1;

External User gets two returned e-mails from no-re...@rt.xxx.com:
RT could not load a valid user, and RT's configuration does not allow for the 
creation of a new user for your email.
User 'y...@hotmail.com' could not be loaded in the mail gateway

Any help and suggestions would be greatly appreciated.

Thanks,
Nicôle


[rt-users] ExternalAuth help needed

2011-01-10 Thread Wes Modes
I am using ExternalAuth to connect RT3.8.8 to LDAP.

Detailed documentation seems to be woefully absent, and I've scoured the
web and tried the dozens of conflicting suggestions, so I'm turning to
y'all.

Here's the error I get:

[Tue Jan 11 01:41:56 2011] [critical]:
RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind:
LDAP_INVALID_DN_SYNTAX 34

(/usr/local/rt/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)


Here's the LDAP section from my RT_Authen-ExternalAuth.pm

'My_LDAP'   =  {  
## GENERIC SECTION
# The type of service (db/ldap/cookie)
'type'  =  'ldap',
# The server hosting the service
'server'=  'dir1.library.ucsc.edu',
## SERVICE-SPECIFIC SECTION
# If you can bind to your LDAP server anonymously you should
# remove the user and pass config lines, otherwise specify
them here:
#
# The username RT should use to connect to the LDAP server
'user'  =  'cn=admin,dc=ucsc,dc=edu',
# The password RT should use to connect to the LDAP server
'pass'=  'PASSWORD',
#
# The LDAP search base
'base'  =  'ou=people,dc=ucsc,dc=edu',
#
# ALL FILTERS MUST BE VALID LDAP FILTERS ENCASED IN PARENTHESES!
# YOU **MUST** SPECIFY A filter AND A d_filter!!
#
# The filter to use to match RT-Users
'filter'=  '(objectClass=person)',
# A catch-all example filter: '(objectClass=*)'
#
# The filter that will only match disabled users
'd_filter'  =  '(objectClass=FooBarBaz)',
# A catch-none example d_filter: '(objectClass=FooBarBaz)'
#
# Should we try to use TLS to encrypt connections?
'tls'   =  0,
# SSL Version to provide to Net::SSLeay *if* using SSL
'ssl_version'   =  3,
# What other args should I pass to Net::LDAP-new($host,@args)?
'net_ldap_args' = [version =  3   ],
# Does authentication depend on group membership? What group
name?
'group' =  'staff',
# What is the attribute for the group object that determines
membership?
'group_attr'=  'ou=group,dc=ucsc,dc=edu',
## RT ATTRIBUTE MATCHING SECTION
# The list of RT attributes that uniquely identify a user

# This example shows what you *can* specify.. I recommend
reducing this

# to just the Name and EmailAddress to save encountering
problems later.
'attr_match_list'   = ['Name',
'EmailAddress',
],
# The mapping of RT attributes on to LDAP attributes
'attr_map'  =  {   'Name' = 'uid',
'EmailAddress' = 'mail',
'RealName' = 'cn',
'ExternalAuthId' = 'uid',
'Gecos' = 'gecos',
'WorkPhone' =
'telephoneNumber',
}

},


What more do you need to know to help me get this working?

Wes



Re: [rt-users] Password: Password: Permission Denied

2011-01-10 Thread Richard Pickett
 Hi Richard,

 Perhaps the user or their group does not have ModifySelf rights?


Why would the default user creation have it set where they can't even edit
some of their own settings? Especially their own password?

I'm glad that's the problem, but it doesn't make much sense.


Re: [rt-users] stupid question (noob)

2011-01-10 Thread Joop

Chris Barnes wrote:


-- is there anyway for RT to indicate that there is new information 
in the ticket that we need to look at?


Yes, there is. I have a Callback for 
Elements/RT__Ticket/ColumnMap/ColumnMap which tags a 'New Reply' to a 
ticket in my homepage elements. I got it from the wiki and think it is 
related or belongs to the entry about colouring the status/priority.


I'll attach my ColumnMap just in case.

Regards,

Joop

%INIT

# Show status in colour.
sub statusInColor {
my $Ticket = shift;
my $status = $Ticket-Status;
my $css = status . lc $status;
my $cssreply = status . lc reply;
my $LastUpdater = $Ticket-LastUpdatedByObj-EmailAddress;
my $TicketRequestors = 
$Ticket-Requestors-MemberEmailAddressesAsString;
my $TicketCC = $Ticket-Cc-MemberEmailAddressesAsString;
my $CurrentUser = $session{'CurrentUser'}-EmailAddress;

# Added $CurentUser ne $LastUpdater to prevent showing New Reply tag when the 
last updater is the current user.
if (($CurrentUser ne $LastUpdater)  ($TicketRequestors =~ 
$LastUpdater) || ($TicketCC =~ $LastUpdater))
{
my $txn = $Ticket-SeenUpTo or return \div 
class=\$css\$status/div;
#   my $TicketLink = RT-Config-Get('WebPath') 
./Ticket/Display.html?id=. $Ticket-id. #txn-.$txn-id;
# Comment out the line above and uncomment the following line to mark posts as 
seen when following link.
my $TicketLink = RT-Config-Get('WebPath') 
./Ticket/Display.html?id=. $Ticket-id .MarkAsSeen=1.  #txn-.$txn-id;
$status = div class=\$css\$status a 
href=\$TicketLink\span class=\$cssreply\New Reply/span/a/div;
}
else {
$status = div class=\$css\$status/div;
}

return \$status;

}

# Show extended status in colour. This will change the front page and other 
search pages where the ExtendedStatus is displayed.
sub extStatusInColor {
my $Ticket = shift;
if ( my $count = $Ticket-HasUnresolvedDependencies ) {
my $status;

if ( $Ticket-HasUnresolvedDependencies( Type = 'approval' )
or $Ticket-HasUnresolvedDependencies( Type = 
'code' ) ) {
$status = em . loc('(pending approval)') . /em;
} else {
$status = font color=#90em . loc('(pending 
[quant,_1,other ticket])',$count) . /em/font;
}
return \$status;
} else {
return statusInColor($Ticket);

}
}

# Set the priority numbers to a colour.
sub PriorityInColor {
my $Ticket = shift;

my $priority = $Ticket-Priority;
my $colors = undef;

# Change priority numbers to reflect your priority system.
if ($priority = '50') {
$colors = #FF;
} elsif ($priority = '45') {
$colors = #FF2000;
} elsif ($priority = '40') {
$colors = #FF4000;
} elsif ($priority = '35') {
$colors = #FF6A00;
} elsif ($priority = '30') {
$colors = #FF6600;
} elsif ($priority = '25') {
$colors = #FFA000;
} elsif ($priority = '20') {
$colors = #0033CC;
} elsif ($priority = '15') {
$colors = #809FFE;
} elsif ($priority = '10') {
$colors = #004600;
} elsif ($priority = '5') {
$colors = #006400;
} elsif ($priority = '0') {
$colors = #009000;
}

if ($colors) {
$priority = div style=\color: $colors;\$priority/div
}

return \b$priority/b;
}

# Comment out any line to disable colour change.
$COLUMN_MAP-{Priority}-{value} = \PriorityInColor;
$COLUMN_MAP-{Status}-{value} = \statusInColor;
$COLUMN_MAP-{ExtendedStatus}-{value} = \extStatusInColor;

/%INIT
%ARGS
$COLUMN_MAP = undef
/%ARGS