Re: [rt-users] Error by attaching .PDF + fetchmail: MDA returned nonzero status 75

2016-02-19 Thread Marcelo Calado | TBS TAX Services

Hello Everyone!
I'm again...:)

The question isthere is no left space on /tmp!
[warn] [client my_ip] (28)No space left on device: mod_fcgid: can't write
tmp file for stdin request, referer

The RT use /tmp to record something?  Is there a way to change that?

Thank you.


-Original Message-
From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf
Of Marcelo Calado | TBS TAX Services
Sent: Friday, February 19, 2016 12:50 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Error by attaching .PDF + fetchmail: MDA returned
nonzero status 75

Hi There!
My RT 4.12 + Centos works fine and my fetchmail as well. But sometimes, just
for some PDF attachments I got an error  " HTTP request failed: 500 Internal
Server Error. Your webserver logs may have more information or there may be
a network problem " by WEB UI or " fetchmail: MDA returned nonzero status 75
" by fetchmail. It's happened no matter what the file size is.

I've checked  some points:
Package mod_perl-2.0.4-11.el6_5.x86_64 already installed and latest version

There are no error on my logs, except on my fetchmail log file when I tried
to get the e-mail trough MDA, but it's happened just for some PDF files. I
still have not identify  which type of file format it is.

I've following this:
http://requesttracker.wikia.com/wiki/TroubleShooting#Syslog_error_.27MDA_ret
urned_nonzero_status_75.27_when_using_fetchmail.2C_procmail_or_similar

I've following this link: http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49

In some forums, someone has indicated this:
/etc/request-tracker3.6/apache2-modperl2.conf
At the bottom it says:
# Limit mail gateway access to localhost by default  Order Allow,Deny Allow from 127.0.0.1 

But I do not have  this file! 


My httpd.conf:


ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLCipherSuite
EECDH+AESGCM:EECDH+AES256:EECDH+AES128:EECDH+3DES:EDH+AES:RSA+AESGCM:RSA
EECDH++AES
:RSA+3DES:!ECDSA:!NULL:!MD5:!DSS
SSLCertificateFile /etc/pki/tls/certs/ca.crt #SSLCertificateFile
/etc/httpd/ssl/apache.crt SSLCertificateKeyFile /etc/pki/tls/private/ca.key
#SSLCertificateKeyFile /etc/httpd/ssl/apache.key #SSLCertificateChainFile
/etc/pki/tls/certs/server-chain.crt
#SSLVerifyClient require
SSLOptions +StdEnvVars


SSLOptions +StdEnvVars

SetEnvIf User-Agent ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0 CustomLog logs/ssl_request_log \
  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

#   Request Tracker
ServerName myserver.com:443
AddDefaultCharset UTF-8
DocumentRoot /opt/rt4/share/html
Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/ 
Order allow,deny
Allow from all


SSLOptions +StdEnvVars

  


On my /etc/httpd/conf.d/ssl.conf:

SetEnvIf User-Agent ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0 SSLProtocol ALL -SSLv2 -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP


What could we be missing? Thanks so much in advance for helping us to
resolve the setup.

Marcelo Calado.



-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016


[rt-users] Error by attaching .PDF + fetchmail: MDA returned nonzero status 75

2016-02-19 Thread Marcelo Calado | TBS TAX Services
Hi There!
My RT 4.12 + Centos works fine and my fetchmail as well. But sometimes, just
for some PDF attachments I got an error  " HTTP request failed: 500 Internal
Server Error. Your webserver logs may have more information or there may be
a network problem " by WEB UI or " fetchmail: MDA returned nonzero status 75
" by fetchmail. It's happened no matter what the file size is.

I've checked  some points:
Package mod_perl-2.0.4-11.el6_5.x86_64 already installed and latest version

There are no error on my logs, except on my fetchmail log file when I tried
to get the e-mail trough MDA, but it's happened just for some PDF files. I
still have not identify  which type of file format it is.

I've following this:
http://requesttracker.wikia.com/wiki/TroubleShooting#Syslog_error_.27MDA_ret
urned_nonzero_status_75.27_when_using_fetchmail.2C_procmail_or_similar

I've following this link: http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49

In some forums, someone has indicated this:
/etc/request-tracker3.6/apache2-modperl2.conf
At the bottom it says:
# Limit mail gateway access to localhost by default

Order Allow,Deny
Allow from 127.0.0.1


But I do not have  this file! 


My httpd.conf:


ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLCipherSuite
EECDH+AESGCM:EECDH+AES256:EECDH+AES128:EECDH+3DES:EDH+AES:RSA+AESGCM:RSA+AES
:RSA+3DES:!ECDSA:!NULL:!MD5:!DSS
SSLCertificateFile /etc/pki/tls/certs/ca.crt #SSLCertificateFile
/etc/httpd/ssl/apache.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key #SSLCertificateKeyFile
/etc/httpd/ssl/apache.key
#SSLCertificateChainFile /etc/pki/tls/certs/server-chain.crt
#SSLVerifyClient require
SSLOptions +StdEnvVars


SSLOptions +StdEnvVars

SetEnvIf User-Agent ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
  "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

#   Request Tracker
ServerName myserver.com:443
AddDefaultCharset UTF-8
DocumentRoot /opt/rt4/share/html
Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/ 
Order allow,deny
Allow from all


SSLOptions +StdEnvVars

  


On my /etc/httpd/conf.d/ssl.conf:

SetEnvIf User-Agent ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0
SSLProtocol ALL -SSLv2 -SSLv3
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP


What could we be missing? Thanks so much in advance for helping us to
resolve the setup.

Marcelo Calado.


-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016

[rt-users] Identify Requestor on Mysql Database

2016-02-17 Thread Marcelo Calado | TBS TAX Services

Hi There!

How can I identify the requestor of the ticket on my mysql database?  On
Tickets table, there is not a field like "requestor"!

Any suggestion is appreciated..

Marcelo Calado





Field   | Type | Null | Key | Default  | Extra
|
+-+--+--+-+--+--
--+
| id  | int(11)  | NO   | PRI | NULL |
auto_increment |
| EffectiveId | int(11)  | NO   | MUL | 0|
|
| IsMerged| smallint(6)  | YES  | | NULL |
|
| Queue   | int(11)  | NO   | MUL | 0|
|
| Type| varchar(16)  | YES  | | NULL |
|
| IssueStatement  | int(11)  | NO   | | 0|
|
| Resolution  | int(11)  | NO   | | 0|
|
| Owner   | int(11)  | NO   | MUL | 0|
|
| Subject | varchar(200) | YES  | | [no subject] |
|
| InitialPriority | int(11)  | NO   | | 0|
|
| FinalPriority   | int(11)  | NO   | | 0|
|
| Priority| int(11)  | NO   | | 0|
|
| TimeEstimated   | int(11)  | NO   | | 0|
|
| TimeWorked  | int(11)  | NO   | | 0|
|
| Status  | varchar(64)  | YES  | | NULL |
|
| TimeLeft| int(11)  | NO   | | 0|
|
| Told| datetime | YES  | | NULL |
|
| Starts  | datetime | YES  | | NULL |
|
| Started | datetime | YES  | | NULL |
|
| Due | datetime | YES  | | NULL |
|
| Resolved| datetime | YES  | | NULL |
|
| LastUpdatedBy   | int(11)  | NO   | | 0|
|
| LastUpdated | datetime | YES  | | NULL |
|
| Creator | int(11)  | NO   | | 0|
|
| Created | datetime | YES  | | NULL |
|
| Disabled| smallint(6)  | NO

-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany - March 14 & 15, 2016
* Washington DC - May 23 & 24, 2016


[rt-users] Send Mail to RT from PHP Form

2016-02-03 Thread Marcelo Calado | TBS TAX Services
Hi There,

I've created on my web site a form to get some information from my customers
and send this by mail. I've received the email's and the ticket get created
in the right queue except that the custom field value I pass.

If I send by Outlook as a plan text mail, its works well and the custom
field values get setamazing! I have over to 120 fields on this process
as well. 


My Header and Body:

$headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . "
boundary=\"{$mime_boundary}\"";

// multipart boundary 
$message .= "This is a multi-part message in MIME format.\n\n" .
"--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"ascii\"\n" .
"Content-Transfer-Encoding: 8bit\n\n" . $message . "\n\n";
$message .= "--{$mime_boundary}\n";


Anyone thoughts are appreciated

Marcelo Calado.

My template:
Year|Body|Year-> (.+)$||q|
Amended Individual Income|Body|Amended Individual Income-> (.+)$||q|
Amended By TBS|Body|Amended By TBS-> (.+)$||q|
ID Number|Body|ID Number-> (.+)$||q|
And other +100 fields

My Body:
Year-> 2015
Amended Individual Income-> Yes 
Amended By TBS-> Yes 
ID Number-> 857-248 

My Header from Outlook:
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Received-SPF: pass (google.com: domain of myu...@mysite.com designates
173.201.192.238 as permitted sender) client-ip=199.201.192.238;
Content-Language: en-us
content-type: text/plain; charset="utf-8"
X-Received: by 10.98.68.193 with SMTP id m62mr5183043pfi.130.1454529394768;
Wed, 03 Feb 2016 11:56:34 -0800 (PST)
Message-ID: <068d01d15ebc$fbd72aa0$f3857fe0$@tbstaxservices.com>
Received: by 10.27.153.139 with SMTP id b133csp59489wle; Wed, 3 Feb 2016
11:56:34 -0800 (PST)
Received: from p3plsmtpa07-09.prod.phx3.secureserver.net
(p3plsmtpa07-09.prod.phx3.myserver.net. [173.201.192.238]) by mx.google.com
with ESMTPS id hs5si11001698pac.243.2016.02.03.11.56.33 for
 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 03
Feb 2016 11:56:34 -0800 (PST)
Received: from TBSPC3 ([96.81.77.182]) by myserver.net with  id
DvwZ1s0043vzp0G01vwZnW; Wed, 03 Feb 2016 12:56:33 -0700
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
mym...@misite.com designates 173.201.192.238 as permitted sender)
smtp.mailfrom=mym...@mysite.com
Subject: 88978978978978978
Return-Path: 
Thread-Index: AdFevPmEs61bTMpRRCegCvqUjvtg5g==
Date: Wed, 3 Feb 2016 14:56:33 -0500
Content-Transfer-Encoding: 7bit
From: "Marcelo Calado marc...@marcelo.com>
X-RT-Original-Encoding: ascii
Content-Length: 95


My Header from PHP Form:
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: ascii
Content-Length: 1754



-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany  March 14 & 15, 2016


[rt-users] RT created new Requestor instead of the Requestor that I created by REST

2016-01-26 Thread Marcelo Calado | TBS TAX Services

Hi There,
I've created new RT users by REST API using this code! Sometimes, I try to
open a new ticket for user and the RT created the new requestor instead of
use the requestor that I created by REST API. 

When its happen, the new user/requestor was created with name and email ,
but the another fields is blank.

Have you seem this before? Any idea??? I've created by REST around 2.000 new
users! 


$servername="https://myserver.com/REST/1.0/user/new?user=myuser&`pass=passwo
rd"
$content = @'
id: user/new
Name: TestofCreated
EmailAddress: testofcrea...@gmail.com
RealName: Test of Created
Organization: Calado SMB
Address1: 44,East Dr 
City: Brederodes
State: AA
Zip: 01032
Country: BR
MobilePhone: 857-999-
'@
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certificateProblem) {
return true;
}
}
"@
[System.Net.ServicePointManager]::CertificatePolicy = New-Object
TrustAllCertsPolicy

$RT = Invoke-WebRequest -Uri $servername -Body @{content=$content} -Method
Post
$RT.contentrt

Thank you!

-
RT 4.4 and RTIR Training Sessions 
(http://bestpractical.com/services/training.html)
* Hamburg Germany — March 14 & 15, 2016

[rt-users] REST to Create Ticket and Users from Customer List

2016-01-25 Thread Marcelo Calado | TBS TAX Services

Greetings,
I can populate my Users from my customer list through the REST Interface.

I have some custom fields like IDNumber and others...

I've tried like that:

CF.{IDNumber} = 999888
and
CF- IDNumber  = 999888
And
CF-'IDNumber' = 999888

The user was created! But were not filled. I have the same problem to create
ticket by REST.

Thanks for All.
Marcelo Calado.


$content = @'
id: ticket/new
Requestor: testofcreat...@gmail.com
Subject: Profile - Import from Customer List
Owner: mcalado
Text: Generate Profile
Queue: General
CF.{IDNumber}=999-888-33-22

'@ 


PS C:\tmp> .\b.ps1
RT/4.2.12 200 Ok

# User 3613 created. 



Re: [rt-users] How to clone the ticket

2016-01-08 Thread Marcelo Calado | TBS TAX Services
 

 

Hi!

Thank you!

Perhaps I made a mistake!

The steps are: click on “new ticket in” , “details”, fill up “Children” or 
“Refers to” and the last one, click on “create”?

 

I tried, but nothing happened. Does need to allow something or set up something 
before?

 

Thank you.

 



 

From: migetismad [mailto:migetis...@hotmail.com] 
Sent: Friday, January 08, 2016 1:41 PM
To: Marcelo Calado | TBS TAX Services 
Subject: RE: [rt-users] How to clone the ticket

 

If you do it from display there is a button next to children in links. It says 
create. That will do it!

 

 

Sent from my T-Mobile 4G LTE Device



 Original message 
From: Marcelo Calado | TBS TAX Services mailto:mcal...@tbstaxservices.com> > 
Date:01/08/2016 6:23 PM (GMT+00:00) 
To: 'Ashley Etherington' mailto:migetis...@hotmail.com> > 
Cc: 
Subject: RE: [rt-users] How to clone the ticket 

Hi Asheley, 

Thanks for all!

I clicked on New Ticket ; on Details and fill up the Children, but dos no work!

 

Will I made a mistake?

 

Thank you.

 

 

 



 

From: Ashley Etherington [mailto:migetis...@hotmail.com] 
Sent: Friday, January 08, 2016 12:11 PM
To: Marcelo Calado | TBS TAX Services mailto:mcal...@tbstaxservices.com> >
Subject: RE: [rt-users] How to clone the ticket

 

You can create a child of the ticket using the links section,  This will copy 
across all custom field data

  _  

From: mcal...@tbstaxservices.com <mailto:mcal...@tbstaxservices.com> 
To: rt-users@lists.bestpractical.com <mailto:rt-users@lists.bestpractical.com> 
Date: Fri, 8 Jan 2016 11:56:18 -0500
Subject: [rt-users] How to clone the ticket

Hi There,

Is there a way to create a new “Clone Ticket” of the current ticket? And copy 
the custom field values from the current ticket?

Thank you. 



[rt-users] How to clone the ticket

2016-01-08 Thread Marcelo Calado | TBS TAX Services

Hi There,

Is there a way to create a new "Clone Ticket" of the current ticket? And
copy the custom field values from the current ticket?

Thank you. 


[rt-users] Up-Load a list of Customers into RT as a Requestors

2016-01-08 Thread Marcelo Calado | TBS TAX Services
Hi There!

 

I hope this helps someone.

 

In order to create new users(requestors) from my customer list, I decided
use the PowerShell Script. 

 

I've following the examples and built in accordance with the need of our
customers.

 

http://requesttracker.wikia.com/wiki/REST

 

 

$servername="https://myserver.com/REST/1.0/user/new?user=myuser&`pass=mypass
word"
$content = @'
id: user/new
Name: TestofCreated
EmailAddress: testofcrea...@gmail.com
RealName: Test of Created
Organization: Test SMB
Address1: 44,Test Street 
City: New York
State: MA
Zip: 08032
Country: USA
MobilePhone: 508-999-
'@
add-type @"
using System.Net;
using System.Security.Cryptography.X509Certificates;
public class TrustAllCertsPolicy : ICertificatePolicy {
public bool CheckValidationResult(
ServicePoint srvPoint, X509Certificate certificate,
WebRequest request, int certificateProblem) {
return true;
}
}
"@
[System.Net.ServicePointManager]::CertificatePolicy = New-Object
TrustAllCertsPolicy

$RT = Invoke-WebRequest -Uri $servername -Body @{content=$content} -Method
Post
$RT.content

 

Marcelo Calado.



[rt-users] Scrip to Assign Ticket Field Value from User field

2015-12-29 Thread Marcelo Calado | TBS TAX Services


Hi There!

First off I am NOT a programmer and a newbie to perl:)

I'd like to create a Scrip that looks at the requestor's (of course...
presuming, that was created before), if it matches, the scrip will assign
some ticket field values from User field values.

This scrip will fill up fields as a Users.Address, Users.City,
Users.MobilePhone, eg from Users (requestor) to ticket fields
(TicketCustomField.Address, TicketCustomField.City, e.g.).

I've looked at some of the sample scrips available on the website 

Could somebody give me some tips, or point me in the right direction? 

Thanks
Marcelo Calado.





[rt-users] INET6 - bug

2015-12-29 Thread Marcelo Calado | TBS TAX Services
Hi There,

I've been having this error after the Fetchmail has flushed my mails: 
Subroutine IO::Socket::INET6::sockaddr_in6 redefined at
/usr/share/perl5/Exporter.pm line 67.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21.

I googled around a bit and came across many solutions that classified this
as a bug and which was fixed in version 2.69. 

Does anyone have the official fix for this? I've seen some blog posts but
would like to know the right way to go about fixing this.

RT 4.2
Centos 6.7

Thanks!

Marcelo Calado.





Re: [rt-users] Extract Custom Fields -

2015-12-23 Thread Marcelo Calado | TBS TAX Services
Hi Tony!

Thank you!

Following  your exemple, I got the same error! 

But…. I set up my mail client for plain text and my body for:

 

CustomField.{EIN}:45-1234567
CustomField.{Address}: 785, Hi Street 
CustomField.{Cell Phone}:781-999-8111 
CustomField.{City}:Stoughton 
CustomField.{First Name}:Marcelo 
CustomField.{Last Name}:Calado

 

 

AndWorks Fine….:)

What I need to do to extract from mail and assign my tickets fields?

 

Thank you So Much! 

 

 

 

From: Tony G Palomino [mailto:palom...@reed.edu] 
Sent: Tuesday, December 22, 2015 5:01 PM
To: Marcelo Calado | TBS TAX Services 
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Extract Custom Fields -

 

In our instance we extract information from email headers on ticket create.  
Our template looks something like:

 

RTcustomfieldname1|X-header-name-1|.*

RTcustomfieldname2|X-header-name-2|.*

RTcustomfieldname3|X-header-name-3|.*

 

I can see what you're trying to do with your template, but unfortunately don't 
have enough experience to know how to help further.

 

 

On Tue, Dec 22, 2015 at 1:16 PM, Marcelo Calado | TBS TAX Services 
mailto:mcal...@tbstaxservices.com> > wrote:

 

Hi There!

I am having trouble with RT-Extension Extract Custom Field.  

 

Anyone ever done this before and can help?  A quick help will be appreciated as 
we are missing critical requests

 

 

Thank you.

 

My template:

 

EIN|Body|EIN:\s*(\w+)

Address|Body|Address:\s*(\w+)

Cell Phone|Body|Cell Phone:\s*(\w+)

City|Body|City:\s*(\w+)

First Name|Body|First Name:\s*(\w+)

Last Name|Body|Last Name:\s*(\w+)

 

My body:

Ein:20-999-745
Address: 100, High Street
Cell Phone:3809
City:Stoughton
First Name:Marcelo
Last Name:Calado

 

Into my logs:

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Ein,20) added: 
1324

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Ein,20) added: 
1324

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Address,100) 
added: 1325

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Address,100) 
added: 1325

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Cell Phone,3809) 
added: 1326

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Cell Phone,3809) 
added: 1326

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (City,Stoughton) 
added: 1327

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (City,Stoughton) 
added: 1327

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (First 
Name,Marcelo) added: 1328

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (First 
Name,Marcelo) added: 1328

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Last Name,Calado) 
added: 1329

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Last Name,Calado) 
added: 1329

Dec 22 16:08:35 751081-tbsfryou RT: [27756] Ticket 347 created in queue 
'TaxOnline' by mcalado

Dec 22 16:08:35 751081-tbsfryou RT: [27756] Failed command 'address: 100, High 
Street'#012Error message: Command 'address' is unknown#012#012Failed command 
'ein: 20-999-745'#012Error message: Command 'ein' is unknown

Dec 22 16:08:35 751081-tbsfryou RT: [27756] Extended mailgate error: Failed 
command 'address: 100, High Street'#012Error message: Command 'address' is 
unknown#012#012Failed command 'ein: 20-999-745'#012Error message: Command 'ein' 
is unknown

 

 

 





 

-- 

tony.palom...@reed.edu <mailto:tony.palom...@reed.edu> 

Director, Computer User Services

Reed College

503-788-6622



[rt-users] Extract Custom Fields -

2015-12-22 Thread Marcelo Calado | TBS TAX Services
 

Hi There!

I am having trouble with RT-Extension Extract Custom Field.  

 

Anyone ever done this before and can help?  A quick help will be appreciated
as we are missing critical requests

 

 

Thank you.

 

My template:

 

EIN|Body|EIN:\s*(\w+)

Address|Body|Address:\s*(\w+)

Cell Phone|Body|Cell Phone:\s*(\w+)

City|Body|City:\s*(\w+)

First Name|Body|First Name:\s*(\w+)

Last Name|Body|Last Name:\s*(\w+)

 

My body:

Ein:20-999-745
Address: 100, High Street
Cell Phone:3809
City:Stoughton
First Name:Marcelo
Last Name:Calado

 

Into my logs:

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Ein,20) added:
1324

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Ein,20) added:
1324

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Address,100)
added: 1325

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Address,100)
added: 1325

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Cell
Phone,3809) added: 1326

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Cell
Phone,3809) added: 1326

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue
(City,Stoughton) added: 1327

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue
(City,Stoughton) added: 1327

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (First
Name,Marcelo) added: 1328

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (First
Name,Marcelo) added: 1328

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Last
Name,Calado) added: 1329

Dec 22 16:08:35 751081-tbsfryou RT: [27756] CustomFieldValue (Last
Name,Calado) added: 1329

Dec 22 16:08:35 751081-tbsfryou RT: [27756] Ticket 347 created in queue
'TaxOnline' by mcalado

Dec 22 16:08:35 751081-tbsfryou RT: [27756] Failed command 'address: 100,
High Street'#012Error message: Command 'address' is unknown#012#012Failed
command 'ein: 20-999-745'#012Error message: Command 'ein' is unknown

Dec 22 16:08:35 751081-tbsfryou RT: [27756] Extended mailgate error: Failed
command 'address: 100, High Street'#012Error message: Command 'address' is
unknown#012#012Failed command 'ein: 20-999-745'#012Error message: Command
'ein' is unknown

 

 

 



Re: [rt-users] High loads on Apache (probably) due to Perl errors in the logfile

2015-12-17 Thread Marcelo Calado | TBS TAX Services
 

Hi there!

 

I have been having the same error after I installed the RT-Extensions
(ActivityReports and CommandByMail). When I disable this extensions on
RT_SiteConfig.pm, this erros has stoped.

 

I'm still looking for to solve this issue. 

 

ActivityReports/html/Callbacks/ActivityReports/Elements/Tabs/Privileged line
63.

Dec 17 10:15:04 751081-tbsfryou RT: [11610] Use of uninitialized value in
concatenation (.) or string at
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Fil
ter/TakeAction.pm line 279.

Dec 17 10:16:06 751081-tbsfryou RT: [11609] Use of uninitialized value in
concatenation (.) or string at
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Fil
ter/TakeAction.pm line 279.

 

 

Marcelo Calado.

 

From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf
Of raymond.teunis...@kpn.com
Sent: Thursday, December 17, 2015 11:31 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] High loads on Apache (probably) due to Perl errors in
the logfile

 

Hi,

 

I am running RT 4.2.12 on a RHEL system. RT was installed a couple of weeks
ago, and since a couple of days i noticed the loads on Apache were very
high. When i check the errorlogs of apache, it shows me a lot of Perl
errors. I pasted some snippets below. I searched in the wiki and on the
internet, but there isn't anything helpful i have been able to find. The
fact that i can't read Perl isn't really helping as well ;) Can somebody
give me a clue where to look for in this case? It tells me some values
haven't been initialized, but I can't seem to find out what those values are
for, and why they aren't being initialized. 

 

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value
$tag in concatenation (.) or string at
/usr/local/share/perl5/HTML/Formatter.pm line 150.
(/usr/local/share/perl5/HTML/Formatter.pm:150)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value
$tag in concatenation (.) or string at
/usr/local/share/perl5/HTML/Formatter.pm line 150.
(/usr/local/share/perl5/HTML/Formatter.pm:150)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value
$tag in concatenation (.) or string at
/usr/local/share/perl5/HTML/Formatter.pm line 150.
(/usr/local/share/perl5/HTML/Formatter.pm:150)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value
$tag in concatenation (.) or string at
/usr/local/share/perl5/HTML/Formatter.pm line 150.
(/usr/local/share/perl5/HTML/Formatter.pm:150)

 

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_
in concatenation (.) or string at
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_
in concatenation (.) or string at
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_
in concatenation (.) or string at
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)

[12010] [Thu Dec 17 15:16:41 2015] [warning]: Use of uninitialized value $_
in concatenation (.) or string at
/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm line 214.
(/usr/local/share/perl5/HTML/FormatText/WithLinks/AndTables.pm:214)

 

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value
$ptag in string eq at /usr/local/share/perl5/HTML/Element.pm line 711.
(/usr/local/share/perl5/HTML/Element.pm:711)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value
$ptag in string eq at /usr/local/share/perl5/HTML/Element.pm line 711.
(/usr/local/share/perl5/HTML/Element.pm:711)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value
$ptag in hash element at /usr/local/share/perl5/HTML/Element.pm line 711.
(/usr/local/share/perl5/HTML/Element.pm:711)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value
$ptag in string eq at /usr/local/share/perl5/HTML/Element.pm line 711.
(/usr/local/share/perl5/HTML/Element.pm:711)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value
$ptag in string eq at /usr/local/share/perl5/HTML/Element.pm line 711.
(/usr/local/share/perl5/HTML/Element.pm:711)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value
$ptag in hash element at /usr/local/share/perl5/HTML/Element.pm line 711.
(/usr/local/share/perl5/HTML/Element.pm:711)

 

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value in
string eq at /usr/local/share/perl5/HTML/Element.pm line 2218.
(/usr/local/share/perl5/HTML/Element.pm:2218)

[12010] [Thu Dec 17 15:16:42 2015] [warning]: Use of uninitialized value in
string eq at /usr/local/share/perl5/HT

Re: [rt-users] Can't locate RT/Calendar.pm - Compilation Error

2015-12-16 Thread Marcelo Calado | TBS TAX Services
Hi there!

The problem was solved by creating manually  "mkdir
/opt/rt4/local/plugins/RTx-Calendar/".

 

Run again!

perl Makefile.PL

make

make install

And..voalaaa works fine..:)

 

From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf
Of Marcelo Calado | TBS TAX Services
Sent: Monday, December 07, 2015 9:40 AM
To: 'rt-users' 
Subject: [rt-users] Can't locate RT/Calendar.pm - Compilation Error

 

Hi,

 

I installed MyCalendar Extension and after I selected on my dashboard, RT
show me this error on my dashboard "An internal RT error has occurred. Your
administrator can find more details in RT's log files."

 

(RT 4.2.12 ; Centos 6.7.)

 

Looking into my logs:

 

[25525] [Fri Dec  4 16:56:28 2015] [error]: Error during compilation of
/opt/rt4/share/html/Elements/MyCalendar:

Can't locate RT/Calendar.pm in @INC (@INC contains:
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/share/html/Elements/MyCalendar line 41.

 

Stack:

  [/opt/rt4/share/html/Elements/MyCalendar:41]

  [RT/Calendar.pm:41]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

  [/opt/rt4/share/html/Elements/MyRT:96]

  [/opt/rt4/share/html/index.html:78]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]

  [/opt/rt4/share/html/autohandler:53]

BEGIN failed--compilation aborted at /opt/rt4/share/html/Elements/MyCalendar
line 41.

 

Stack:

  [/opt/rt4/share/html/Elements/MyCalendar:41]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

  [/opt/rt4/share/html/Elements/MyRT:96]

  [/opt/rt4/share/html/index.html:78]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]

  [/opt/rt4/share/html/autohandler:53]

 

 

Stack:

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:450]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

  [/opt/rt4/share/html/Elements/MyRT:96]

  [/opt/rt4/share/html/index.html:78]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]

  [/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

 

A quick help will be appreciated as we are missing critical requests.

 

Thanks.



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


[rt-users] RT-Extension-ActivityReports - DashBoard Error for Report Type

2015-12-09 Thread Marcelo Calado | TBS TAX Services
Hello Everyone!

 

I installed and set up RT-Extension-ActivityReports (Centos 6.7). I can see
Activity Summary Report Type on MyDashBoard.

 

But...When I click on "Report"  using this settings:

Query: "" (blank)

Report type: Activity Summary

Start date: 2015-11-01

End date: 2015-11-30

Limit to user: myuser 

 

I see the bar graph, but this happens:

Dec  9 15:21:22 751081-tbsfryou RT: [12525] Use of uninitialized value $_ in
pattern match (m//) at
/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/El
ements/ActivitySummary line 38.

Dec  9 15:21:22 751081-tbsfryou RT: [12525] Use of uninitialized value
$printable_args{"Query"} in concatenation (.) or string at
/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/El
ements/ScreenFooter line 7.

 

When I change my Report Type for "Resolution Comments" or "Resolution
Statistics", the RT show me this error on Web Browser "An internal RT error
has occurred. Your administrator can find more details in RT's log files."

And into my logs:

 

Dec  9 15:28:27 751081-tbsfryou RT: [12525] Error during compilation of
/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/El
ements/ResolutionStatistics:#012Can't locate Time/Duration.pm in @INC (@INC
contains: /opt/rt4/sbin/../local/lib
/opt/rt4/local/plugins/RT-Extension-ActivityReports/lib
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib
/opt/rt4/local/plugins/RTx-Calendar/lib /opt/rt4/sbin/../lib
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/El
ements/ResolutionStatistics line 76.#012#012Stack:#012
[/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/E
lements/ResolutionStatistics:76]#012  [Time/Duration.pm:76]#012
[/usr/local/share/perl5/HTML/Mason/Interp.pm:817]#012
[/usr/local/share/perl5/HTML/Mason/Interp.pm:445]#012
[/usr/local/share/perl5/HTML/Mason/Request.pm:1127]#012
[/usr/local/share/perl5/HTML/Mason/Request.pm:1060]#012
[/usr/local/share/perl5/HTML/Mason/Request.pm:1239]#012
[/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Search/Elements/Ac
tivityReport:8]#012
[/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/i
ndex.html:8]#012
[/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/E
lements/Wrapper:10]#012
[/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/i
ndex.html:11]#012  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]#012
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]#012
[/opt/rt4/share/html/autohandler:53]#012BEGIN failed--compilation aborted at
/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/El
ements/ResolutionStatistics line 76.#012#012Stack:#012
[/opt/rt4/local/plugins/RT-Extension-ActivityReports/html/Reports/Activity/E
lements/ResolutionStatistics:76]#012

 

 

Thanks in advance for any suggestions!

 

Marcelo Calado/



[rt-users] Can't locate RT/Calendar.pm - Compilation Error

2015-12-07 Thread Marcelo Calado | TBS TAX Services
Hi,

 

I installed MyCalendar Extension and after I selected on my dashboard, RT
show me this error on my dashboard "An internal RT error has occurred. Your
administrator can find more details in RT's log files."

 

(RT 4.2.12 ; Centos 6.7.)

 

Looking into my logs:

 

[25525] [Fri Dec  4 16:56:28 2015] [error]: Error during compilation of
/opt/rt4/share/html/Elements/MyCalendar:

Can't locate RT/Calendar.pm in @INC (@INC contains:
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/opt/rt4/share/html/Elements/MyCalendar line 41.

 

Stack:

  [/opt/rt4/share/html/Elements/MyCalendar:41]

  [RT/Calendar.pm:41]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

  [/opt/rt4/share/html/Elements/MyRT:96]

  [/opt/rt4/share/html/index.html:78]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]

  [/opt/rt4/share/html/autohandler:53]

BEGIN failed--compilation aborted at /opt/rt4/share/html/Elements/MyCalendar
line 41.

 

Stack:

  [/opt/rt4/share/html/Elements/MyCalendar:41]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:817]

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:445]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

  [/opt/rt4/share/html/Elements/MyRT:96]

  [/opt/rt4/share/html/index.html:78]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]

  [/opt/rt4/share/html/autohandler:53]

 

 

Stack:

  [/usr/local/share/perl5/HTML/Mason/Interp.pm:450]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1127]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1060]

  [/usr/local/share/perl5/HTML/Mason/Request.pm:1239]

  [/opt/rt4/share/html/Elements/MyRT:96]

  [/opt/rt4/share/html/index.html:78]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:681]

  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:369]

  [/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)

 

A quick help will be appreciated as we are missing critical requests.

 

Thanks.



[rt-users] 500 Internal Server Error & On Load Attachments

2015-12-03 Thread Marcelo Calado | TBS TAX Services
 

Hi all!

 

I hope someone could point me in a direction for figuring out this error:

 

500 Internal Server Error: The server encountered an internal error or
misconfiguration and was unable to complete your request.

Please contact the server administrator, mcal...@tbstaxservices.com and
inform them of the time the error occurred, and anything you might have done
that may have caused the error. More information about this error may be
available in the server error log.

 

This occurs when trying to add a doc/jpeg/xls/etc. to a ticket when the
loaded file is larger than 1Mb. 

 

I have already checked the:

PHP

[root@myserver]# cat /etc/php.ini | grep upload_max

upload_max_filesize = 8M

 

MYSQL

[root@myserver]#  cat /etc/my.cnf | grep max-allowed

max-allowed-packet  = 16M

 

RT

[root@myserver]# cat /opt/rt4/etc/RT_Config.pm | grep MaxAttachmentSize

Set($MaxAttachmentSize, 10_000_000);  # 10M

 

No error on logs: messages, access_log, error_log

 

When I choose a file up to 1M and click on “Ädd More Files” …. go ahead….but
if the loaded file is larger than 1mb…..if sum of (File1+ File2 + File3) =>
1Mb ….show an error!  

 

 

Any idea?

 

Thank you!

 

Marcelo Calado.



[rt-users] Fetchmail Error on Socket::INET6::sockaddr_in6 redefined

2015-12-03 Thread Marcelo Calado | TBS TAX Services
 

Hello Everyone!

 

I need hlp..J

 

I've just install RT 4.2.12 on Centos OS 6.7.

 

My .fetchamilrc file:

 

set postmaster "services"

set daemon 30

set invisible

set no bouncemail

set no syslog

set logfile /var/log/fetchmail.log

poll imap.myserver.net with proto IMAP service 993

user 'u...@mydomain.com' there with password 'password' is rt here

mda '/opt/rt4/bin/rt-mailgate --queue TaxOnline --action correspond --url
https://tbsintranet.com'

options no keep fetchall ssl sslcertck folder Inbox

 

 

This is the error:

 

fetchmail: reading message servi...@mydomain.com@imap.where.my server.net:2
of 2 (1207 header octets) (2065 body octets) (log message incomplete)

fetchmail: MDA returned nonzero status 75

fetchmail:  not flushed

fetchmail: terminated with signal 15

fetchmail: starting fetchmail 6.3.17 daemon

fetchmail: 2 messages for servi...@mydomain.com at imap.myserver.net (folder
Inbox).

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at
/usr/share/perl5/Exporter.pm line 67.

at /usr/share/perl5/IO/Socket/INET6.pm line 21.

fetchmail: reading message servi...@mydomain.com@imap.myserver.net:1 of 2
(1240 header octets) (5892 body octets) flushed

fetchmail: socket error while fetching from
servi...@mydmoain.com@imap.myserver.net

fetchmail: Query status=2 (SOCKET)

fetchmail: 1 message for servi...@mydomain.com at imap.myserver.net (folder
Inbox).

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at
/usr/share/perl5/Exporter.pm line 67.

at /usr/share/perl5/IO/Socket/INET6.pm line 21.

fetchmail: reading message servi...@mydomain.com@imap.myserver.net:1 of 1
(1207 header octets) (2065 body octets) flushed

 

Any idea

 

I used the same settings for fetchmail in my old server (Ubuntu 14.04) and
works fine! But After I installed on Cento 6.7, the mail was flushed, but
the RT does not create the ticket on my queue.

 

Thank you!

 

Marcelo Calado.  

 



[rt-users] FW: CommandByUSer error on exec make initdb

2015-12-03 Thread Marcelo Calado | TBS TAX Services
Hi,

I tried to install the Extension CommandByMail and when I tried to run make
initdb I get an error:

 

 

[root@tbsforyou RT-Extension-CommandByMail-1.00]# 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.12

*** Checking for Perl dependencies...

[Core Features]

- Test::More ...loaded. (1.001014)

- IPC::Open2 ...loaded. (1.03)

*** Module::AutoInstall configuration finished.

Open input
'/tmp/RT_Extensions/RT-Extension-CommandByMail-1.00/lib/RT/Extension/Command
ByMail/Test.pm' file for substitution

Open output
'/tmp/RT_Extensions/RT-Extension-CommandByMail-1.00/lib/RT/Extension/Command
ByMail/Test.pm' file for substitution

Checking if your kit is complete...

Looks good

Generating a Unix-style Makefile

Writing Makefile for RT::Extension::CommandByMail

Writing MYMETA.yml and MYMETA.json

[root@tbsforyou RT-Extension-CommandByMail-1.00]# 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 2 pod documents

[root@tbsforyou RT-Extension-CommandByMail-1.00]# make install

Manifying 2 pod documents

Installing
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandBy
Mail.pm

Installing
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandBy
Mail/Test.pm

Installing
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Fil
ter/TakeAction.pm

Installing
/opt/rt4/local/man/man3/RT::Interface::Email::Filter::TakeAction.3pm

Installing /opt/rt4/local/man/man3/RT::Extension::CommandByMail.3pm

Appending installation info to
/opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/perllocal.pod

[root@tbsforyou RT-Extension-CommandByMail-1.00]# make initdb

make: *** No rule to make target `initdb'.  Stop.

[root@tbsforyou RT-Extension-CommandByMail-1.00]# ls

blib  Changes  inc  lib  Makefile  Makefile.PL  MANIFEST  META.yml
MYMETA.json  MYMETA.yml  pm_to_blib  README  SIGNATURE  xt

[root@tbsforyou RT-Extension-CommandByMail-1.00]# make initdb

make: *** No rule to make target `initdb'.  Stop.

[root@tbsforyou RT-Extension-CommandByMail-1.00]#

 

Any Idea?

 

Thank you!

Marcelo Calado.

 



[rt-users] On Create Ticket, update Custom Filed for User

2015-12-02 Thread Marcelo Calado | TBS TAX Services
 

Hello Everyone!

 

 

I have some ticket Custom Fields for my Queue (e.g. MobilePhone).. Works
Fine! I installed the Extension to  scan my emails to set values of custom
fields... works fine !

 

To set my Ticket Custom Fields, ok!  But...  is there a way to set another
table like "Users. MobilePhone", maybe using a new template or new scrip?
I want to do it on create a ticket from mail.

 

Thank you!

 

Marcelo Calado.



Re: [rt-users] Action: Extract Custom Field Values - RT don't show me this option

2015-11-17 Thread Marcelo Calado | TBS TAX Services
Hi Shawn,

 

I didn't run! I've forgot about them!

 

Today I did a lot of test and its works fine!

 

To extract to ticket, ok! Nice..:)

 

Is there a way to extract field values from mail and record this on Users
custom fileds? 

 

I have customer information to record on User Custom Field!

 

I have on my Queue "Ticket Custom Fields" or "Transaction Custom Fields",
ok! 

 

I'd like to extract from mail to  Users (Organization, Address1, City,
Phoneand them)

 

Thanks

 

Marcelo Calado.  

 

 

From: Marcelo Calado | TBS TAX Services [mailto:mcal...@tbstaxservices.com] 
Sent: Monday, November 16, 2015 5:18 PM
To: 'rt-users' 
Subject: Action: Extract Custom Field Values - RT don't show me this option

 

Hello Everyone!

 

By following the instructions to install the "ExtractCustomFieldValues" 

(https://metacpan.org/pod/RT::Extension::ExtractCustomFieldValues) 

And that:

http://kb.mit.edu/confluence/display/istcontrib/Automatically+extract+ticket
+custom+field+values++from+email

 

I've installed the package on RT 4.09 ; 

 

Created a custom field "Mobile Phone" ; 

 

Created a template "Extract Custom Field Values", type "Simple" + content:
Mobile Phone|Body|Mobile Phone->(.+)$|q  on My Queue

 

At this point .works fine!

 

When I tried to create the Scrip, I can't see the Action "Extract Custom
Field Valeus" 

 

Description: ExtractCF 
Condition: On Create 
Action: (Extract Custom Field Values ) ?? I can't see..:L
Template: Global template: CustomFieldExtract 
Stage: TransactionCreate 

Any ideas? 

 

On RT_Config.pm:

 

Set(@Plugins, qw(RT::Extension::SummaryByUser RT::Extension::CommandByMail
RT::Extension::ExtractCustomFieldValues));

 

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

 

Looking into /var/log/syslog, I have nothing!

Tks,

 

Marcelo Calado.



[rt-users] Action: Extract Custom Field Values - RT don't show me this option

2015-11-16 Thread Marcelo Calado | TBS TAX Services
Hello Everyone!

 

By following the instructions to install the "ExtractCustomFieldValues" 

(https://metacpan.org/pod/RT::Extension::ExtractCustomFieldValues) 

And that:

http://kb.mit.edu/confluence/display/istcontrib/Automatically+extract+ticket
+custom+field+values++from+email

 

I've installed the package on RT 4.09 ; 

 

Created a custom field "Mobile Phone" ; 

 

Created a template "Extract Custom Field Values", type "Simple" + content:
Mobile Phone|Body|Mobile Phone->(.+)$|q  on My Queue

 

At this point .works fine!

 

When I tried to create the Scrip, I can't see the Action "Extract Custom
Field Valeus" 

 

Description: ExtractCF 
Condition: On Create 
Action: (Extract Custom Field Values ) ?? I can't see..:L
Template: Global template: CustomFieldExtract 
Stage: TransactionCreate 

Any ideas? 

 

On RT_Config.pm:

 

Set(@Plugins, qw(RT::Extension::SummaryByUser RT::Extension::CommandByMail
RT::Extension::ExtractCustomFieldValues));

 

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

 

Looking into /var/log/syslog, I have nothing!

Tks,

 

Marcelo Calado.



[rt-users] Up-Load a list of Customers into RT as a Requestors

2015-11-16 Thread Marcelo Calado | TBS TAX Services
Hi,

 

To facilitate the migration process for RT, I've been thinking more
seriously about my customer list.

 

Please share with me your opinion! 

 

May I import our lists of existing customers into RT as a
Watcher's/Requestor's?

 

Someone did?

 

May I use INSERT INTO STATEMENT of MySQl to insert new Users? Is there
another way?

 

 

Tks,

Marcelo Calado.



Re: [rt-users] Owner Query - Custom

2015-11-13 Thread Marcelo Calado | TBS TAX Services

Thanks Matt!

I've been working on it, But I have no idea how to set up this!

I would like to use  the something like "WHERE" clause to filter my results 
from Users (/html/helpers/Autocomplete/Owner) to show me only the Users who can 
be Owner.  

I'd like to return only Users checked   "Let this user access RT" and  "Let 
this user be granted rights (Privileged)" on Create/Modify User page. 

I've tried changing /share/html/Ticket/Create.html   - 
http://www.gossamer-threads.com/lists/rt/devel/44771?search_string=Owner;#44771 
, but no lock!

I also tried changing line 72 in share/html/Ticket/Create.html from: 
"..., Default => $ARGS{Owner}||$RT::Nobody->Id, ..." 
to each of these: 
"..., Default => $ARGS{Owner}||12, 13,14 ..."  by Id.did not function as 
expected...:(

How to add a new arguments when the function was called? 

At this point I can add my condition? 

(/html/helpers/Autocomplete/Owner)

<%ARGS>
$return => 'Name'
$limit => undef
$term => undef
$max => 10



Thanks,

Marcelo Calado.

-Original Message-----
From: Matt Zagrabelny [mailto:mzagr...@d.umn.edu] 
Sent: Thursday, November 12, 2015 10:09 AM
To: Marcelo Calado | TBS TAX Services 
Cc: rt-users 
Subject: Re: [rt-users] Owner Query - Custom

On Wed, Nov 11, 2015 at 10:21 AM, Marcelo Calado | TBS TAX Services 
 wrote:
> Hi,
>
> I want to change (if possible) settings, under Permissions , modify the 
> permissions that are allowed or denied for only the RT User's   to be Owner's 
> when I create a new ticket or modify?
>
> The Watcher's can't be Owner!
>
> Is it possible?

You can hack on:

share/html/Helpers/Autocomplete/Owners

I see there is only one callback in there. You could add another callback to 
the mason component and then have your code utilize that callback. BPS is 
usually pretty accepting to new callbacks - send a patch their way to 
(hopefully) get it included in upstream.

-m



[rt-users] Owner Query - Custom

2015-11-11 Thread Marcelo Calado | TBS TAX Services
Hi,

I want to change (if possible) settings, under Permissions , modify the 
permissions that are allowed or denied for only the RT User's   to be Owner's 
when I create a new ticket or modify?

The Watcher's can't be Owner!

Is it possible?

Thank you!

Marcelo Calado.



-Original Message-
From: Matt Zagrabelny [mailto:mzagr...@d.umn.edu] 
Sent: Tuesday, November 10, 2015 4:38 PM
To: Marcelo Calado | TBS TAX Services 
Cc: rt-users 
Subject: Re: [rt-users] Owner Query - Custom

Hi Marcelo,

On Tue, Nov 10, 2015 at 8:42 AM, Marcelo Calado | TBS TAX Services 
 wrote:
> Hello!
>
>
>
> When I trying to create a ticket on RT 4.09, I’d like to select just 
> the RT User’s of Owner field on the basics table in the right side.
>
>
>
> I’d like to select only the RT User’s on my Owner Query! Is it 
> Possible? How Can I do this? I can’t see the Watcher’s!

I don't quite understand your question. Do you think you could rephrase it or 
write it out differently?

Cheers,

-m



[rt-users] Owner Query - Custom

2015-11-10 Thread Marcelo Calado | TBS TAX Services
Hello!

 

When I trying to create a ticket on RT 4.09, I'd like to select just the RT
User's of Owner field on the basics table in the right side.

 

I'd like to select only the RT User's on my Owner Query! Is it Possible? How
Can I do this? I can't see the Watcher's!

 



Owner:





 Nobody in particular

 RT User 1

 Watcher 1

"

"

 

 

Thanks,

 

Marcelo Calado.