Re: [rt-users] modified from: address in replies

2010-08-26 Thread polloxx
You mean the Reply Address? Only the reply-to: address is changed on
our server, not the from: address.


On Wed, Aug 25, 2010 at 6:15 PM, Kevin Falcone
falc...@bestpractical.com wrote:
 On Wed, Aug 25, 2010 at 05:45:08PM +0200, polloxx wrote:
 OK: we have an request address for all queues, let's say
 h...@ourdomain.com, but for one particular queue we want to set a
 different from: address when our helpdesk dept. replies to the
 customer, eg: supp...@ourdomain.com.
 How can we establish this?

 Go to the Queue Admin page for that queue, check the correspond
 address.

 See my previous reply -

 On Wed, Aug 25, 2010 at 4:55 PM, Kevin Falcone
   I think you just want to change the Correspond Address on the queue
   admin page.  No need for template hacking.

 -kevin


 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!


Re: [rt-users] RT installation problem, perl modules dependency failed

2010-08-26 Thread Thorvald Hallvardsson
Hi Kevin,

Pefrect,

Thank you for your help. Really appreciated!

Regards,
TH

On 25 August 2010 15:37, Kevin Falcone falc...@bestpractical.com wrote:

 It appears that you're running into two compat issues:
 The bug in Text-vFile-asData has already been reported here:
 https://rt.cpan.org/Public/Bug/Display.html?id=60696

 and the Email::Address problem is that the latest release accidentally
 only works on 5.10 and greater.

 Using the slightly older version of both of these modules should be
 fine, you should be able to grab them from http://search.cpan.org
 easily

 -kevin

 On Wed, Aug 25, 2010 at 02:01:08PM +0100, Thorvald Hallvardsson wrote:
 Hi,
 I have got a problem with 2 perl modules during the installation.
 When I do make testdeps it drops with:
 Can't locate Text/vFile/asData.pm in @INC (@INC contains:
 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
 /usr/lib/perl5/site_perl/5.8.8
 /usr/lib/perl5/site_perl
 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
 /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
 /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8
 .) at
 /usr/lib/perl5/site_perl/5.8.8/Data/ICal.pm line 8.
 BEGIN failed--compilation aborted at
 /usr/lib/perl5/site_perl/5.8.8/Data/ICal.pm line 8.
 When I'm trying to compile this module manually (downloaded from CPAN)
 it says:
 /usr/bin/perl -MExtUtils::MY -e 'MY-fixin(shift)' --
 blib/script/rota_ical.cgi
 make: *** No rule to make target `bin/SystemsSupportRota', needed by
 `blib/script/SystemsSupportRota'. Stop.
 In the source code of blib/script/rota_ical.cgi I can see:
 my $file = -e 'SystemsSupportRota' ? 'SystemsSupportRota' :
 '[1]
 http://intranet.fotango.private/index.php?title=Systems_Support_Rotaaction=raw
 ';
 What means if file doesn't exist read it from the internet. However
 this address is not valid
 as you can see. This is some kind of joke. Does anyone have this file
 and could send it to me
 ?
 The other error I'm getting is:
 Email::Address ...MISSING
 Sequence (?|...) not recognized in regex; marked by -- HERE in m/(?|
 -- HERE
 
  
 ((?-xism:(?-xism:(?-xism:(?-xism:\s*\((?:\s*(?-xism:(?-xism:(?[^()\\]+))|(?-xism:\\(?-xism:[^\x0A\x0D]))|(?-xism:\s*\((?:\s*(?-xism:(?-xism:(?[^()\\]+))|(?-xism:\\(?-xism:[^\x0A\x0D]))|))*\s*\)\s*)))*\s*\)\s*)|\s+)*(?-xism:[^\x00-\x1F\x7F()\[\]:;@\\,.\s]+(?:\.[^\x00-\x1F\x7F()\[\]:;@\\,.\s]+)*)(?-xism:(?-xism:\s*\((?:\s*(?-xism:(?-xism:(?[^()\\]+))|(?-xism:\\(?-xism:[^\x0A\x0D]))|(?-xism:\s*\((?:\s*(?-xism:(?-xism:(?[^
 at /usr/lib/perl5/site_perl/5.8.8/Email/Address.pm line 139.
 Install module Email::Address
 Going to read /.cpan/Metadata
 Database was generated on Wed, 25 Aug 2010 09:57:51 GMT
 Email::Address is up to date.
 Any help will be appreciated.
 Thank you.
 Regards,
 TH
 
  References
 
 Visible links
 1.
 http://intranet.fotango.private/index.php?title=Systems_Support_Rotaaction=raw

 
  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!


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] mail body: HTML with embedded CSS

2010-08-26 Thread Guadagnino Cristiano
Hi all,
I'd like to change a few standard templates to HTML.

I've been following the instructions found in 
http://wiki.bestpractical.com/view/SendHTMLEmail and added the Content-Type: 
text/html special header.

Unfortunately RT issues an error while parsing the CSS part in the HTML source:

[Thu Aug 26 08:18:34 2010] [error]: Template parsing error: syntax error at temp
late line 16, near color:#000;
background: (/opt/rt3/bin/../lib/RT/Template_Overlay.pm:420)

Am I missing something? Or there is no way to tell RT to accept CSS syntax? I 
cannot use an external style sheet because when the message gets emailed it 
won't find the stylesheet on the receivers' PC.

Any suggestions?

Thank you in advance.

Bye
Cris


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] 32 levels deep in component stack (infinite recursive call?)

2010-08-26 Thread Thorvald Hallvardsson
Hi guys,

Another problem. When I'm trying to access CONFIGURATION - GLOBAL - USER
RIGHTS || GROUP RIGHTS || RT AT A GLANCE I'm getting an error:

32 levels deep in component stack (infinite recursive call?)

Output from dev mode can be found here:
http://paste-it.net/public/x7307cf/

I was trying to find the solution in google but all related problems dropped
some sort of proper errors (like module cannot be found). In my case there
are no proper error or I missed it.

It's the brand new installation from yesterday so I presume I have got all
perl modules most up to date (besides Email::Address).

Thank you for your help in advance.

Regards,
TH

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] Incremental page load stopped with 3.8.8

2010-08-26 Thread Justin Hayes
When we were running 3.8.4 my pages used to render content incrementally, which 
was great as I could read initial content, metadata etc while the page was 
loading the rest.

Since 3.8.8 that's stopped, and I have to wait for the whole page to load 
before my browser renders.

Is that a deliberate change? Anyone know if there's a way to set it back to 
incremental?

Thanks!

Justin


Justin Hayes
Support Manager 
T:  +44 208 742 1600
+44 208 987 0715
M:  +44 779 337 2866
E:  justin.ha...@openbet.com
W:  www.openbet.com 
OpenBet 
Chiswick Park Building 9
566 Chiswick High Rd
London  
W4 5XT  
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@openbet.com and delete it from your system as well as any copies. 
The content of e-mails as well as traffic data may be monitored by OpenBet for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary. OpenBet Technologies Limited. Registered 
Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A 
company registered in England and Wales. Registered no. 6712030. VAT no. 
GB927523623


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] Modify graph's color

2010-08-26 Thread Anthony BRODARD
Hi everybody!

I'm actually searching how modify appareance or just color of my graph' in
RT 3.8.7

I've just installed the package libgd-graph-perl and reload apache server,
but graph are not eye-attractive.

I found this: http://wiki.bestpractical.com/view/rt-google-charts but I
don't understand how to implement it.

Is somebody success to install it? Or just help me to change the chart's
default color?

Regards,
Anthony

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] RT Mobile Redirection

2010-08-26 Thread Jason Ledford
This unfortunately does not work.  If I symlink the /m/ folder it gives me:
| _elements/wrapper, title = loc(RT for [_1],RT-Config-Get('rtname')) 
 _elements/menu   _elements/full_site_link 

So that won't work.  Here is my apache config for this vhost if it helps anyone 
let me know what I am missing:
VirtualHost *:80
ServerName servername.domain.com
ServerAdmin m...@domain.com

# config for your main content
DocumentRoot /var/www
Directory /var/www
# here and in other places goes config
# of your main host
/Directory
# as RT is out of document root then we want alias
# and should define directory access

Alias /rt/ /opt/rt3/share/html/
Directory /opt/rt3/share/html/
Order allow,deny
Allow from all
/Directory

PerlRequire /opt/rt3/bin/webmux.pl
Location /rt/
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
/Location
/VirtualHost


Thanks for any help.

-Original Message-
From: Bob Miller [mailto:b...@computerisms.ca] 
Sent: Wednesday, August 25, 2010 3:44 PM
To: Jason Ledford
Subject: Re: [rt-users] RT Mobile Redirection

During my last migration, the links to some tickets were going to a
different URL than I wanted.  My solution was to put a symlink in at the
link's url pointing to the real html directory.  So, it is probably not
an elegant suggestion, but perhaps something like: 

ln -s /path.to.rt/html /var/www/m 

would make it work...

On Wed, 2010-08-25 at 12:05 -0400, Jason Ledford wrote:
 I am having a problem with the new mobile interface, version .95.  It
 works perfectly on about 5% of my blackberries.  The problem is the
 users get the login screen, enter the user name and password, and then
 get a file not found error saying it’s looking for /m/.  The apache
 logs suggest its trying to redirect those users to /var/www/m and it
 says file does not exist.  I did find out that it works 100% of the
 time if I use the short domain name, servername.  I experience the
 problem when I use the fqdn servername.domain.com.  I am sure it’s
 something I have mis-configured but can’t quite pinpoint.
  
 The url I use to hit my server is http://servername.domain.com/rt/ and
 here is the relevant parts from my config:
  
 Set( $rtname, 'cdc124asv.tbcnet.biltmore.com');
 Set($WebPath , /rt);
 Set($WebBaseURL , http://cdc124asv.tbcnet.biltmore.com;);
 Set(@Plugins, qw(RT::Extension::MobileUI RTx::Calendar
 RT::Extension::PriorityAsString
 RT::Extension::ExtractCustomFieldValues RT::Extension::LDAPImport RT:
 $rt RT::Authen::ExternalAuth));
  
 Any help is appreciated as I would prefer to use the fqdn when
 possible.
  
 RT Training in Washington DC, USA on Oct 25  26 2010
 Last one this year -- Learn how to get the most out of RT!

Bob Miller
334-7117/660-5315
http://computerisms.ca
b...@computerisms.ca
Network, Internet, Server,
and Open Source Solutions


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] Requiring CF to be defined on resolve

2010-08-26 Thread Francis L Fabrizio
 exposing check_failure in a callback is a good idea. Can you provide a
 patch for this so it will go in RT core?

This simple patch was sufficient for me:


--- /usr/local/rt/local/html/Ticket/Update.html 2010-08-26 08:25:06.0 
-0500
+++ /usr/local/rt/share/html/Ticket/Update.html 2010-08-24 08:33:38.0 
-0500
@@ -168,7 +168,7 @@

 my @results;

-$m-callback( Ticket = $TicketObj, ARGSRef = \%ARGS, checks_failure = 
\$checks_failure, results = \...@results, CallbackName = 'Initial' );
+$m-callback( Ticket = $TicketObj, ARGSRef = \%ARGS, results = 
\...@results, CallbackName = 'Initial' );

 unless($DefaultStatus){
 $DefaultStatus=($ARGS{'Status'} ||$TicketObj-Status());


It might make sense to also expose checks_failure in other callbacks in 
Update.html, but hooking in at Initial seems pretty flexible on its own.

-Fran

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] Requiring CF to be defined on resolve

2010-08-26 Thread Francis L Fabrizio
Sorry, I created that patch pre-coffee this morning, and the patch was going 
backwards.  Here's the real patch:

--- /usr/local/rt/share/html/Ticket/Update.html 2010-08-24 08:33:38.0 
-0500
+++ /usr/local/rt/local/html/Ticket/Update.html 2010-08-26 08:25:06.0 
-0500
@@ -168,7 +168,7 @@

 my @results;

-$m-callback( Ticket = $TicketObj, ARGSRef = \%ARGS, results = 
\...@results, CallbackName = 'Initial' );
+$m-callback( Ticket = $TicketObj, ARGSRef = \%ARGS, checks_failure = 
\$checks_failure, results = \...@results, CallbackName = 'Initial' );

 unless($DefaultStatus){
 $DefaultStatus=($ARGS{'Status'} ||$TicketObj-Status());




 -Original Message-
 From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-
 boun...@lists.bestpractical.com] On Behalf Of Francis L Fabrizio
 Sent: Thursday, August 26, 2010 8:37 AM
 To: Emmanuel Lacour; rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Requiring CF to be defined on resolve
 
  exposing check_failure in a callback is a good idea. Can you provide
 a
  patch for this so it will go in RT core?
 
 This simple patch was sufficient for me:
 
 
 --- /usr/local/rt/local/html/Ticket/Update.html 2010-08-26
 08:25:06.0 -0500
 +++ /usr/local/rt/share/html/Ticket/Update.html 2010-08-24
 08:33:38.0 -0500
 @@ -168,7 +168,7 @@
 
  my @results;
 
 -$m-callback( Ticket = $TicketObj, ARGSRef = \%ARGS, checks_failure
 = \$checks_failure, results = \...@results, CallbackName = 'Initial' );
 +$m-callback( Ticket = $TicketObj, ARGSRef = \%ARGS, results =
 \...@results, CallbackName = 'Initial' );
 
  unless($DefaultStatus){
  $DefaultStatus=($ARGS{'Status'} ||$TicketObj-Status());
 
 
 It might make sense to also expose checks_failure in other callbacks in
 Update.html, but hooking in at Initial seems pretty flexible on its
 own.
 
 -Fran
 
 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!


Re: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8

2010-08-26 Thread Benno Overeinder
I haven't the original email thread to reply to, but this might be
valuable to the email list.

The change Ruslan proposed works for me.  I had the same problem here,
but after the change in webmux.pl, apache started again.

Thanks,

-- Benno

r...@bestpractical.com wrote:

Hello,

Try to change RT::InitClasses( Heavy = 1 ) to RT::InitClasses( Heavy
= 0 ) in webmux.pl instead of using the patch (revert it) and report
back if it helps.

On Tue, May 11, 2010 at 4:58 PM, Raghu Siddarth raghusiddarth at
gmail.com wrote:
 I got the same issue here. Upgrade script went through without any errors,
 cleared mason and restarted apache, but it failed to start with the
 following error :

 [error] Require of RT::Action:: failed.

 Can't locate RT/Action/.pm in @INC (@INC contains:
/opt/rt3/bin/../local/lib
 /opt/rt3/local/plugins/RT-Extension-PriorityAsString/lib
/opt/rt3/bin/../lib
 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
 /usr/local/lib/site_perl . /etc/apache2) at (eval 1318) line
 3.\n\nCompilation failed in require at (eval 2) line 1.

 [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server
 ritsnet-rt.mine.nu:0, exiting...


 Thanks Razvan for the quick fix below. It worked for me. I'm trying to
 understand why are only a few users getting affected.

  -- Raghu Siddarth

 On Mon, May 10, 2010 at 5:03 PM, Razvan Cosma razvan.cosma at gmail.com
 wrote:

 Can't figure out the problem source, and I am in a hurry, so for now:
 if(eval require $type) {
 $self-{'Action'}  = $type-new ( Argument = $self-Argument,
   CurrentUser = $self-CurrentUser,
   ScripActionObj = $self,
   ScripObj = $args{'ScripObj'},
   TemplateObj = $self-TemplateObj,
   TicketObj = $args{'TicketObj'},
   TransactionObj =
 $args{'TransactionObj'},
 );
 } else {
   warn Require of $type failed@\n;
 }
 Then application seems to work fine otherwise.

 On Mon, May 10, 2010 at 2:22 PM, Razvan Cosma razvan.cosma at gmail.com
 wrote:

 OK, tried another trick now: created a RT/Action/.pm file that only does
 print caller(); and it seems it's called from RT::ScripAction which
leads to
 the file ScripAction_Overlay.pm and at line 173
 eval require $type || die Require of $type failed@\n;
 still digging..


 On Mon, May 10, 2010 at 2:17 PM, Richard Pijnenburg Richard at
widexs.nl
 wrote:

 I have the same issue.

 Cleaned the mason cache and restarted apache, but same result.



 Met vriendelijke groet / With kind regards,

 Richard Pijnenburg
 Changes and Incident Coordinator

 WideXS  http://www.widexs.nl
 Tel +31 (0)20 7570780  Fax +31 (0)20 6116302
 Zekeringstraat 43,1014 BV Amsterdam, NL



 From: rt-users-bounces at lists.bestpractical.com
 [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
Steve
 Anderson
 Sent: Monday, May 10, 2010 12:43 PM
 To: Razvan Cosma; rt-users at lists.bestpractical.com
 Subject: Re: [rt-users] RT::Action not found after upgrade 3.8.2 -
 3.8.8



 Did you do the step of wiping out the Mason cache?



 From: rt-users-bounces at lists.bestpractical.com
 [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of
Razvan Cosma
 Sent: 10 May 2010 11:35 AM
 To: rt-users at lists.bestpractical.com
 Subject: [rt-users] RT::Action not found after upgrade 3.8.2 - 3.8.8



  Hi all,
 Just did a ./configure  make upgrade, and while there were no errors
 and all dependencies seem to be in place, httpd won't start
anymore (running
 on centos with mod_perl), complaining about
 [error] Require of RT::Action:: failed.\nCan't locate RT/Action/.pm in
 @INC
 This looks like a typo in some file or scrip, but I have done a
grep in
 the webroot, and deleted all my scrips from mysql - it wasn't there
 There's no file name in the error, only
 at (eval 2442) line 3.\n\nCompilation failed in require at (eval 2)
 line 1.\n
 Any hints on where this eval happens?
 Thank you very much



 

 This email has been scanned by Netintelligence
 http://www.netintelligence.com/email

 



 

 BiP Solutions Limited is a company registered in Scotland with Company
 Number SC086146 and VAT number 383030966 and having its registered
 office at Medius, 60 Pacific Quay, Glasgow, G51 1DZ.




 This e-mail (and any attachment) is intended only for the attention of
 the addressee(s). Its unauthorised use, disclosure, storage or copying
 is not permitted. If you are not the intended recipient, please
destroy
 all copies and inform the sender by 

Re: [rt-users] Requiring CF to be defined on resolve

2010-08-26 Thread Emmanuel Lacour
On Thu, Aug 26, 2010 at 08:37:21AM -0500, Francis L Fabrizio wrote:
  exposing check_failure in a callback is a good idea. Can you provide a
  patch for this so it will go in RT core?
 
 This simple patch was sufficient for me:
 

thanks, applied on 3.8-trunk, will be in next release.


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] CLI create with Custom Fields again

2010-08-26 Thread Ingo . Itter
Hello,

i searched the whole Mailinglist for a correct syntax to ceate a new 
ticket via CLI with an custom Field.
I try to create an Ticket with the CustomField named Server and the 
value FILESRV01


Have anyone please an example for me ?


Thanks and Greetings from Germany

Ingo von Itter
Ratingen/Gemany

PS: Have anyone a link or documentation about RT in German ?
War ja nur ne Frage 




___
Geschäftsführer: Rolf Herzog, Thomas Benk
AGES Maut System GmbH  Co. KG
AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868
AGES International GmbH  Co. KG
AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831
AGES ETS GmbH
AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134
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] GnuPG Interface Mouse and Moose - Missing dependencies

2010-08-26 Thread MariaE

I forgot indicate the versions that I have installed:

Mouse-0.64
Any-Moose-0.13
GnuPG-Interface-0.42
perl-5.8.8-32

Thanks,


MariaE wrote:
 
 Hi Mark,
 
 I also upgraded my perl and I have the exactly the same problem, maybe you
 resolved the problem?
 
 Thanks,
 Maria Elena
 
 
 Mark Street wrote:
 
 Hi, 
 
 I broke rt 3.8.8 after updating my Centos 5 box with yum...it upgraded
 perl. I knew it was going to be a problem right after I did it 
 
 I ran make testdeps in my rt3 source directory and used CPAN to update
 all of the missing modules... all but 1, the GnuPG::Interface module is
 not behaving. 
 
 SOME DEPENDENCIES WERE MISSING. 
 GPG missing dependencies: 
 GnuPG::Interface ...MISSING 
 Undefined subroutine Mouse::Util::get_metaclass_by_name called at
 /usr/lib/perl5/site_perl/5.8.8/Any/Moose.pm line 103. 
 make: *** [testdeps] Error 1 
 
 I installed GnuPG 0.4.2 through cpan and manually installed it so I know
 it is installed. I did the same thing for Mouse and Any::Moose. 
 
 I have seen 1 other similar instance of this on a search of gossamer
 threads forums from June 21st... so I am not alone. 
 
 Any ideas on how to remedy this one? 
 
 -- 
 Mark Street, D.C., RHCE 
 Chief Technology Officer 
 Alliance Medical Center 
 (707) 433-5494 
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com
 
 
 

-- 
View this message in context: 
http://old.nabble.com/GnuPG-Interface-Mouse-and-Moose---Missing-dependencies-tp28993895p29543938.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.


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] Setup Email gateway

2010-08-26 Thread Ashrafuddin Mohammed


  
  
I'm trying to setup email gateway but unable to do it.
There are three different procedures from RT Wiki site.
I tried all three but couldn't get any of them working.

I edited master.cf to include two lines 
#rt rt-pipe unix n- n - pipe
rt-comment -pipe unix n - --pipe 

Also i created a new file in /etc/postfix/transport
and included lines: 

Can anyone help me with a link through which i can follow a right
tutorial to fix my email gateway real quick.

This is what i got while trying to reload postfix.

postfix/postfix-script: fatal: the Postfix mail system is not
running


Thanks
-- 
  

  


  Ashrafuddin
Mohammed
  System
Administrator
  
  Midcontinent
Financial Center, Inc.
  toll free: 866-590-4562 x345
  local 573-443-6002 x345
  fax 888-249-3529
  email a...@americanmutualloans.com


  
  CONFIDENTIALITY
NOTICE: This e-mail and any attachments may contain
confidential information that is legally privileged. The
information is solely for the use of the intended
recipient(s). Any disclosure, copying, distribution, or
other use of this information is strictly prohibited. If you
have received this e-mail in error, please notify the sender
by return e-mail and delete this message.

  

  


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] Brief steps to set email gateway and synchronize LDAP

2010-08-26 Thread Ashrafuddin Mohammed
 Can anybody point few basic steps to be taken care of while setting up 
Email Gateway for RT and also to synchronize LDAP users to login into RT 
with their own credentials without need of settinup their own account 
throughRT.


I have looked through RT_SiteConfig.pm file. everything looks good. 
Except which sendemailpipe is uncommented to be used.

Is there anything else i need to reconfigure.

Thanks for your help

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] mail body: HTML with embedded CSS

2010-08-26 Thread Jesse Vincent

Text::Template is the perl module RT uses for templates.

It uses { and } for template delimiters. 

http://search.cpan.org/~mjd/Text-Template-1.45/lib/Text/Template.pm

should show you how to escape your templates - specifically:

http://search.cpan.org/~mjd/Text-Template-1.45/lib/Text/Template.pm#JavaScript



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] Where to change the Error box on Login page

2010-08-26 Thread Max McGrath
Just asking again if anyone can point me in the right direction to changing
the pink/red error box that pops up upon a failed login on the Login page.

I'd like to change it from Your username or password is incorrect to
something else with more instructions.

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


On Tue, Aug 24, 2010 at 2:43 PM, Max McGrath mmcgr...@carthage.edu wrote:

 Hi all -

 Running RT 3.8.8 on Ubuntu.

 Trying to figure out where to change the red/pink error box that pops up on
 the Login page upon a failed login.

 I've looked at the Login page code and from what I see it looks like it's
 coming from Widgets/TitleBox -- but I am unable to find it there.

 Can anybody lend a hand?
 --
 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] 32 levels deep in component stack (infinite recursive call?)

2010-08-26 Thread Jesse Vincent



On Thu 26.Aug'10 at 11:27:23 +0100, Thorvald Hallvardsson wrote:
 Hi guys,
 
 Another problem. When I'm trying to access CONFIGURATION - GLOBAL - USER 
 RIGHTS || GROUP RIGHTS || RT AT A GLANCE I'm getting an error:
 
 32 levels deep in component stack (infinite recursive call?)
 
 Output from dev mode can be found here:
 http://paste-it.net/public/x7307cf/
 
 I was trying to find the solution in google but all related problems dropped 
 some sort of proper errors (like module cannot be found). In my case there 
 are no
 proper error or I missed it.
 
 It's the brand new installation from yesterday so I presume I have got all 
 perl modules most up to date (besides Email::Address).

Hi Thorvald,

Can you send the output of the System Information page under
Configuration - Tools?

Thanks,
Jesse

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] CLI create with Custom Fields again

2010-08-26 Thread Torsten Brumm
Hi Ingo,
not 100% sure at the moment, but i think, you can use it in the same way
like you do it with the offline edit. can sent you tomorrow an example

Torsten (Greetings from Hamburg)

2010/8/26 ingo.it...@ages.de


 Hello,

 i searched the whole Mailinglist for a correct syntax to ceate a new ticket
 via CLI with an custom Field.
 I try to create an Ticket with the CustomField named Server and the value
 FILESRV01


 Have anyone please an example for me ?


 Thanks and Greetings from Germany

 Ingo von Itter
 Ratingen/Gemany

 PS: Have anyone a link or documentation about RT in German ?
 War ja nur ne Frage 



 ___
 Geschäftsführer: Rolf Herzog, Thomas Benk
 AGES Maut System GmbH  Co. KG
 AG Düsseldorf HRA 14045, USt-IdNr.: DE 202525868
 AGES International GmbH  Co. KG
 AG Düsseldorf HRA 16636, USt-IdNr.: DE 813749831
 AGES ETS GmbH
 AG Düsseldorf HRB 55580, USt-IdNr.: DE 814789134

 RT Training in Washington DC, USA on Oct 25  26 2010
 Last one this year -- Learn how to get the most out of RT!




-- 
MFG

Torsten Brumm

http://www.brumm.me
http://www.elektrofeld.de

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] [Rt-announce] RT for Mobile Devices 0.9

2010-08-26 Thread Jesse Vincent
Thanks. I've pushed out 0.96 with WebOS listed.


On Wed, Aug 25, 2010 at 04:55:59PM -0400, Jason A. Smith wrote:
 On 08/05/2010 05:08 PM, Jesse Vincent wrote:
 
 We've tested this new UI on the iPhone, Android 2.x, BlackberryOS 4.5
 and 5.0, Kindle 2.5 and in a number of desktop browsers. We've only
 tested this on a recent RT 3.8, but it _should_ work on older versions
 of RT. Reports of failures on 3.6.x or 3.8.x would be much appreciated.
 
 Hi Jesse,
 
 I just had a coworker try the mobile UI on his new Palm WebOS phone
 and it didn't detect his phone automatically.  Adding 'WebOS' to the
 HTTP_USER_AGENT env var regex fixed it for him.  We have version
 0.95 installed here.
 
 ~Jason
 



 
 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!


Re: [rt-users] Extensions

2010-08-26 Thread Sysadmin

Thanks guys, I got it. They all work fine now.

David

On 8/25/2010 12:55 PM, Michael Finn wrote:

Set(@Plugins,(qw(RT::FM)));
Set(@Plugins,(qw(RTx::EmailCompletion)));
Set(@Plugins,(qw(RT::Extension::ToggleSuperUser)));
Set(@Plugins,(qw(RT::Extension::QueueDeactivatedScrips)));
How should I list this? And do I reinstall then after I correct this, or just correct the 
Set(@Plugins, ...) line and restart Apache?

 

Set(@Plugins,(qw(RT::FM RTx::EmailCompletion RT::Extension::ToggleSuperUser 
RT::Extension::QueueDeactivatedScrips)));

(above is one line)
No reinstall necessary; just bounce Apache.

'qw' takes a space-separated list and turns it into the quoted list format 
needed for the Set command.
(see http://perlmeme.org/howtos/perlfunc/qw_function.html for examples)

Mike

   


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] Searching Unprivileged Users

2010-08-26 Thread Sysadmin
Currently we have RT configured so that support staff are privileged 
users, and customers are unprivileged users which Are also part of the 
Customers group. I'm look for an easy way to search the unprivileged 
users, RT only shows privileged users, and groups only let you add or 
remove users, not edit the users in the group.RT adds the unprivileged 
user from the ticket creation. So it is very easy to accidentally create 
a bogus user in the system that is simply created as an unprivileged user.


Thanks,

David
System Admin
RNS

Running RT 3.8.7

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] Ticket History

2010-08-26 Thread Sysadmin
Is there a way to show just ticket history for a customer? Maybe a 
ticket tab for the user/customer that would display only tickets for 
that customer and show only the replys (not comments or other details 
for those tickets)  and not the complete user history? So a clean 
concise way of viewing the users past trouble tickets.


Thanks,

David
System Admin
RNS

Running RT 3.8.7

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] Linked fields

2010-08-26 Thread Sysadmin
I'm trying to add Custom Fields in the Requester area of the ticket. I 
got the first Custom Value, but cannot get the second custom value?


the first was:

span class=label|/lAccount #:/:/spanbr /
 b class=value% ($requestor-FirstCustomFieldValue('Room') ||
 loc(No Account # entered for this user)) %/bbr /

 and I tried:

# span class=label|/lIP:/:/spanbr /
# b class=value% ($requestor- SecondCustomFieldValue('IP Address') 
|| loc(No IP Address entered for this user)) %/bbr /



For the second, but that doesn't work. any Ideas?

Thanks,

David
System Admin
RNS

Running RT 3.8.7

On 8/16/2010 9:40 AM, Björn Schulz wrote:

Hi David,

I use user CFs and a customized ShowRequestor in
.../Ticket/Elements/ShowRequestor. Not a special service Ticket.

span class=label|/lPhone:/:/spanbr /
b class=value% ($requestor-WorkPhone || loc(No WorkPhone
entered about this user)) %/bbr /

or

span class=label|/lRoom:/:/spanbr /
b class=value% ($requestor-FirstCustomFieldValue('Room') ||
loc(No room entered about this user)) %/bbr /

Hope this helps

  Björn




Am 13.08.10 23:18, schrieb Sysadmin:

Is there a way to  linkcustom fields? So, I trying to link custom
field data, so that custom fields like Account #, Customer Equip, Phone
#, that exist in a service ticket and in the user information, will
populate each other, ie in creating a service ticket for a /new
custome/r, the linked custom field data input in the ticket will
populate the user information custom field data. And vice-versa if the
customer already exists, then the ticket, would pull data from the user
information data.

David
System Admin
RNS







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!


Re: [rt-users] Sorting e-mail into queues automatically using procmail

2010-08-26 Thread Nicôle Layne
Just letting everyone know that I got it to work.

Here are my config and script files in case this can help anyone.

/home/rt/.procmailrc

#Preliminaries
SHELL=/bin/sh   #Use the Bourne shell (check your path!)
MAILDIR=/var/mail/rt/
LOGFILE=/home/rt/proc.log
LOG=--- Logging ${LOGFILE} for ${LOGNAME}, 
VERBOSE=yes
MAILDOMAIN=rt.mydomain.com
#Made no changes to the default rt-mailgate file
RT_MAILGATE=/opt/rt3/bin/rt-mailgate
RT_URL=http://rt.mydomain.com/;
LOGABSTRACT=all
# the following line extracts the recipient from Received-headers.
# Simply using the To: does not work, as tickets are often created
# by sending a CC/BCC to RT
TO=`formail -c -xReceived: |grep $MAILDOMAIN |sed -e 's/.*for 
**\(.*\)* *;.*$/\1/'`
QUEUE=`echo $TO| $HOME/get_queue.pl`
ACTION=`echo $TO| $HOME/get_action.pl`
:0 h b w 
|/usr/bin/perl $RT_MAILGATE --queue $QUEUE --action $ACTION --url 
$RT_URL

/root/get_action.pl

#!/usr/bin/env perl

@arr = STDIN;
$action = correspond;
foreach (@arr) {
if (/\s*.*([...@]+)-comm...@.*/g) {
$action = comment;
} else { 
if (/\s*([...@]+)-comm...@.*/g) {
$action = comment;
} 
}
}
print $action;

/root/get_queue.pl

#!/usr/bin/env perl

@arr = STDIN;
$queue = 'general';
foreach (@arr) {
if (/\s*.*([...@]+)@.*/g) {
$queue = $1;
} else { 
if (/\s*([...@]+)@.*/g) {
$queue= $1;
} 
}
}
if ($queue =~ /(.*)-comment/)
{
$queue = $1;
}
print $queue;

/opt/rt3/etc

Set($rtname , RT.mydomain.com);
Set($Organization , rt.mydomain.com);
Set($Timezone , 'US/Eastern');
Set($DatabaseType , 'mysql');
Set($DatabaseHost   , 'localhost');
Set($DatabaseRTHost , 'localhost');
Set($DatabasePort , '');
Set($DatabaseUser , 'rt');
Set($DatabasePassword , 'whateveryoulike');
Set($OwnerEmail , 'root');
Set($RTAddressRegexp , '^...@rt.mydomain.com$');
Set($ValidateUserEmailAddresses, 1);
Set($CorrespondAddress , 'no-re...@rt.mydomain.com');
Set($CommentAddress , 'no-re...@rt.mydomain.com');
Set( $WebDomain, 'rt.mydomain.com' );
Set($WebPath, );
Set($CanonicalizeRedirectURLs, 1);
Set($LogToSyslog , 'info');
Set($UnsafeEmailCommands,1);
Set($LogToSyslog, debug);
Set(@Plugins,qw(RT::FM));

1;


Kind regards,
Nicôle

-Original Message-
From: Nicôle Layne 
Sent: Thursday, August 26, 2010 11:19 AM
To: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Sorting e-mail into queues automatically using procmail

Update (still not working):

I believe main error to be this, although the mailgate file is there and 
contains the default content.

Can't open perl script /opt/rt3/bin/rt-mailgate
: No such file or directory
procmail: Error while writing to /usr/bin/perl
procmail: Program failure (2) of /usr/bin/perl
procmail: Assigning LASTFOLDER=/usr/bin/perl /opt/rt3/bin/rt-mailgate
 --queue general
 --action correspond
 --url http://rt.mydomain.com/

Thanks for your suggestion Stucki.

Here's what the file currently looks like, not seeing any funny characters or 
spaces from cmd line (all the # are from me testing different portions, will 
clean up once I get it working).

 more /home/rt/.procmailrc
::
/home/rt/.procmailrc
::
#Preliminaries
SHELL=/bin/sh   #Use the Bourne shell (check your path!)
#MAILDIR=${HOME}#First check what your mail directory is!
MAILDIR=/var/mail/rt/
#LOGFILE=${MAILDIR}/procmail.log
LOGFILE=/home/rt/procmail_log.log
LOG=--- Logging ${LOGFILE} for ${LOGNAME}, 
VERBOSE=yes
MAILDOMAIN=rt.mydomain.com
RT_MAILGATE=/opt/rt3/bin/rt-mailgate
#RT_MAILGATE=/usr/local/bin/rt-mailgate
RT_URL=http://rt.mydomain.com/;

LOGABSTRACT=all
#QUEUE=`echo $TO| $HOME/get_queue.pl`
#ACTION=`echo $TO| $HOME/get_action.pl`

#:0
#{
# the following line extracts the recipient from Received-headers.
# Simply using the To: does not work, as tickets are often created
# by sending a CC/BCC to RT
#TO=`formail -c -xReceived: |grep $MAILDOMAIN |sed -e 's/.*for 
**\(.*\)* *;.*$/\1/'`
TO=`formail -c -xReceived: |grep $MAILDOMAIN |sed -e 's/.*for 
**\(.*\)* *;.*$/\1/'`
QUEUE=`echo $TO| $HOME/get_queue.pl`
ACTION=`echo $TO| $HOME/get_action.pl`
:0 h b w 
|/usr/bin/perl $RT_MAILGATE --queue $QUEUE --action $ACTION --url 
$RT_URL
#}

I made some other changes since my original e-mail and here 

[rt-users] Email Issues with RT

2010-08-26 Thread Mark Olliver
Hi,

I have two issues with emailing with RT.

1, Firstly our server accepts mail as two domains, I am unsure on my matches
but basically anyth...@example.org should be switched in RT to be
anyth...@support-example.org. I have put the following but I am not sure it
is correct.
Set( $CanonicalizeEmailAddressMatch, '@example\.org$');
Set( $CanonicalizeEmailAddressReplace, '@support-example\.org');
This change is because we used to run our old support under the old domain
but now with RT use the new one however, people still email the old one as
well.

2, When tickets are created or replied to, everyone on the ticket gets a
copy by email. However, for some reason the server also tries to send a copy
no ' ' which sendmail helpfully seems to interpretates as -@
support-example.org obviously a dud address which then generates two errors,
one a standard mail daemon error as it tries to mail it and one RT error
which loops to the owner. I cant see where or why it is doing this, but it
is global as it happens on every queue.

Any help would be appreciated especially with the second issue as i am
getting swamped with error mails.

Thanks

Mark

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!