Re: [rt-users] RT logs in wrong timezone

2011-08-18 Thread Wagner Pereira

Ruslan,

Ok, I will figure out how to connect the local Syslog with the remote 
Syslog.


Thanks again.

--
### At PoP-SP/RNP, every day is an IPv6 day ###

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902


Em 17/08/2011 16:11, Ruslan Zakirov escreveu:

First of all test that
local syslog daemon actually connects to remote server and redirects
messages.


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26  27, 2011
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Melbourne VIC, Australia  November 28  29, 2011
*  Barcelona, Spain  November 28  29, 2011

Re: [rt-users] RT logs in wrong timezone

2011-08-17 Thread Wagner Pereira

Ok, Ruslan.

Now I edited my RT_SiteConfig.pm to that:


# LOGGING:

Set($LogToSyslog, 'debug');
Set(@LogToSyslogConf,
ident = 'RTTEST',
facility = 'local0',
socket = [{type = 'udp', host = 'localhost', port = 514 }],
);

Set($LogToSTDERR, 'warning'); # former LogToScreen


And in the Syslog-ng.conf I did:


# Send the messages to an other host
#
destination remote { udp(10.1.1.10 port(514)); };


Until now, my main Syslog server is logging nothing. How to debug that?

Regards,

--
### At PoP-SP/RNP, every day is an IPv6 day ###

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902


Em 16/08/2011 18:41, Ruslan Zakirov escreveu:

On Tue, Aug 16, 2011 at 11:10 PM, Wagner Pereirawpere...@pop-sp.rnp.br  wrote:

Ruslan,

I found the configuration...

destination remote_server { udp(10.0.0.2 port(514)); };

No idea where you found that. I was referring to RT_Config.pm.

http://requesttracker.wikia.com/wiki/LogsConfig#Logging_into_syslog


...and restarted the daemon successfully.

But what exactly remote_server means?


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26  27, 2011
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Melbourne VIC, Australia  November 28  29, 2011
*  Barcelona, Spain  November 28  29, 2011

Re: [rt-users] RT logs in wrong timezone

2011-08-16 Thread Wagner Pereira

Ruslan,

I found the configuration...

destination remote_server { udp(10.0.0.2 port(514)); };

...and restarted the daemon successfully.

But what exactly remote_server means?

--
### At PoP-SP/RNP, every day is an IPv6 day ###

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902


Em 15/08/2011 18:30, Ruslan Zakirov escreveu:



15.08.2011 22:51 пользователь Wagner Pereira wpere...@pop-sp.rnp.br 
mailto:wpere...@pop-sp.rnp.br написал:


 Hi, Ruslan. I appreciate your answer.

 Two points:

 1. My syslog is running in other server. How to make my RT send logs 
to it?


SyslogConf option may help. Read description.

 2. Once I've changed from file to syslog, will the timezone issue be 
solved?


Syslog tracks timestampts on its own.


 Regards,

 --
 ### At PoP-SP/RNP, every day is an IPv6 day ###

 Wagner Pereira
 PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
 CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
 http://www.pop-sp.rnp.br
 Fixo. +55 11 3091-8901
 Móvel. +55 11 9923-9554
 fone@RNP: 10158902


 Em 15/08/2011 12:44, Ruslan Zakirov escreveu:

 It's by design. Don't use LogToFile in production. Use syslog and
 logging to screen (STDERR).

 On Mon, Aug 15, 2011 at 7:11 PM, Wagner 
Pereirawpere...@pop-sp.rnp.br mailto:wpere...@pop-sp.rnp.br  wrote:


 Hello, friends.

 I noticed that my rt.log has been populated in the wrong timezone 
(GMT). My

 timezone is BRT -03:00.

 I found a discussion in which someone said to edit the RT.pm file 
and change

 the gmtime.

 Then I found what follows. Can I change that? If yes, how can I?

 
 sub InitLogging {
 ...
my ($package, $filename, $line) = caller($frame);
$p{message} =~ s/(?:\r*\n)+$//;
my $str = [.gmtime(time).] [.$p{level}.]: $p{message}
 ($filename:$line)\n;
 ...
 

 Regards,

 --
 ### At PoP-SP/RNP, every day is an IPv6 day ###

 Wagner Pereira
 PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
 CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
 http://www.pop-sp.rnp.br
 Fixo. +55 11 3091-8901
 Móvel. +55 11 9923-9554
 fone@RNP: 10158902

 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Chicago, IL, USA  September 26  27, 2011
 *  San Francisco, CA, USA  October 18  19, 2011
 *  Washington DC, USA  October 31  November 1, 2011
 *  Melbourne VIC, Australia  November 28  29, 2011
 *  Barcelona, Spain  November 28  29, 2011



 
 RT Training Sessions (http://bestpractical.com/services/training.html)
 *  Chicago, IL, USA  September 26  27, 2011
 *  San Francisco, CA, USA  October 18  19, 2011
 *  Washington DC, USA  October 31  November 1, 2011
 *  Melbourne VIC, Australia  November 28  29, 2011
 *  Barcelona, Spain  November 28  29, 2011


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA — September 26  27, 2011
*  San Francisco, CA, USA — October 18  19, 2011
*  Washington DC, USA — October 31  November 1, 2011
*  Melbourne VIC, Australia — November 28  29, 2011
*  Barcelona, Spain — November 28  29, 2011

[rt-users] RT logs in wrong timezone

2011-08-15 Thread Wagner Pereira

Hello, friends.

I noticed that my rt.log has been populated in the wrong timezone (GMT). 
My timezone is BRT -03:00.


I found a discussion in which someone said to edit the RT.pm file and 
change the gmtime.


Then I found what follows. Can I change that? If yes, how can I?


sub InitLogging {
...
my ($package, $filename, $line) = caller($frame);
$p{message} =~ s/(?:\r*\n)+$//;
my $str = [.gmtime(time).] [.$p{level}.]: $p{message} 
($filename:$line)\n;

...


Regards,

--
### At PoP-SP/RNP, every day is an IPv6 day ###

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26  27, 2011
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Melbourne VIC, Australia  November 28  29, 2011
*  Barcelona, Spain  November 28  29, 2011


Re: [rt-users] RT logs in wrong timezone

2011-08-15 Thread Wagner Pereira

Hi, Ruslan. I appreciate your answer.

Two points:

1. My syslog is running in other server. How to make my RT send logs to it?
2. Once I've changed from file to syslog, will the timezone issue be solved?

Regards,

--
### At PoP-SP/RNP, every day is an IPv6 day ###

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902


Em 15/08/2011 12:44, Ruslan Zakirov escreveu:

It's by design. Don't use LogToFile in production. Use syslog and
logging to screen (STDERR).

On Mon, Aug 15, 2011 at 7:11 PM, Wagner Pereirawpere...@pop-sp.rnp.br  wrote:

Hello, friends.

I noticed that my rt.log has been populated in the wrong timezone (GMT). My
timezone is BRT -03:00.

I found a discussion in which someone said to edit the RT.pm file and change
the gmtime.

Then I found what follows. Can I change that? If yes, how can I?


sub InitLogging {
...
my ($package, $filename, $line) = caller($frame);
$p{message} =~ s/(?:\r*\n)+$//;
my $str = [.gmtime(time).] [.$p{level}.]: $p{message}
($filename:$line)\n;
...


Regards,

--
### At PoP-SP/RNP, every day is an IPv6 day ###

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Fixo. +55 11 3091-8901
Móvel. +55 11 9923-9554
fone@RNP: 10158902


RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26  27, 2011
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Melbourne VIC, Australia  November 28  29, 2011
*  Barcelona, Spain  November 28  29, 2011






RT Training Sessions (http://bestpractical.com/services/training.html)
*  Chicago, IL, USA  September 26  27, 2011
*  San Francisco, CA, USA  October 18  19, 2011
*  Washington DC, USA  October 31  November 1, 2011
*  Melbourne VIC, Australia  November 28  29, 2011
*  Barcelona, Spain  November 28  29, 2011

[rt-users] How to generate reports on RT?

2010-11-20 Thread Wagner Pereira

Hi, friends.

I have a Request Tracker working well since many months ago.

And now it is time to starting generate some reports from our more than 
300 tickets.


What should be my first step?

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
f...@rnp: 10158902



Re: [rt-users] How to generate reports on RT? [SOLVED]

2010-11-18 Thread Wagner Pereira

Hi, Robert.

I really appreciate your answer.

I'm using the version 3.6.7 and the scroll list is available!

Now I'm able to start creating some reports.

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
f...@rnp: 10158902


Em 18/11/2010 07:52, Robert Grasso escreveu:

Hello,

I don't know what version you are running. I am running v3.8.7. Once a search 
has been performed, at the bottom-right corner of the
results page, on v3.8.7 you have scroll lists and a Generate reports button.

Regards

---
Robert GRASSO – System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.gra...@cedrat.com - http://www.cedrat.com


-Message d'origine-
De : rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] De la part
de Wagner Pereira
Envoyé : 16 novembre 2010 15:21
À : RT-Users@lists.bestpractical.com
Objet : [rt-users] How to generate reports on RT?

Hi, friends.

I have a Request Tracker working well since many months ago.

And now it is time to starting generate some reports from our
more than
300 tickets.

What should be my first step?

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
f...@rnp: 10158902



[rt-users] How to install RT-3.8.8 on Debian lenny

2010-11-17 Thread Wagner Pereira

Hi, friends.

Is there some guide for the RT-3.8.8 installation on Debian lenny?

I already downloaded the .tar.gz, but now what?

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
f...@rnp: 10158902



Re: [rt-users] How to install RT-3.8.8 on Debian lenny [SOLVED]

2010-11-17 Thread Wagner Pereira

Hi Dominic and the others,

I really thank your reply but, after Jesse said at  
http://blog.bestpractical.com/2010/09/rt-4-an-update.html,

I decided to wait for the RT 4, the Jesse's Xmas gift!

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901
f...@rnp: 10158902


Em 17/11/2010 11:52, Dominic Hargreaves escreveu:

On Wed, Nov 17, 2010 at 11:46:33AM -0200, Wagner Pereira wrote:

Hi, friends.

Is there some guide for the RT-3.8.8 installation on Debian lenny?

I already downloaded the .tar.gz, but now what?

Hi Wagner,

Rather than installing from source you might like to look at installing
using the Debian packages. request-tracker3.8 isn't available in lenny
proper, but it is in Debian backports:

http://backports.debian.org/
http://packages.debian.org/source/lenny-backports/backports/request-tracker3.8

Installing the package should guide through through initial configuration,
but make sure you look at /usr/share/doc/request-tracker3.8/README.Debian
and the other documents in that directory too.

Cheers,
Dominic.



Re: [rt-users] 1; in the RT_SiteConfig.pm file

2010-05-19 Thread Wagner Pereira
Thank Roderick and John very much to clarify this exit code 1; Perl's 
stuff to me.


My best wishes.

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


Em 18/5/2010 22:49, John Hascall escreveu:
   

Wagner Pereira wrote:
 

My 'easy' question is: what this 1; does at the final? What is its
utility? I don't remember if I had put it there or RT came with it by
default.
   
   

1;
   
   

All good Perl modules have this as the exit code/value at the end.
 

More specifically, if I may quote from Wikipedia...
   # A Perl module must end with a true value or else it is considered not to
   # have loaded.  By convention this value is usually 1 though it can be
   # any true value.  A module can end with false to indicate failure but
   # this is rarely used and it would instead die() (exit with an error).

John

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


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


[rt-users] 1; in the RT_SiteConfig.pm file

2010-05-18 Thread Wagner Pereira

Hi, folks.

Below is an excerpt (located at the end of my RT_SiteConfig.pm file):

My 'easy' question is: what this 1; does at the final? What is its 
utility? I don't remember if I had put it there or RT came with it by 
default.



# this has no effect for the SQLite case, the first Set() wins
# end   /etc/request-tracker3.6/RT_SiteConfig.d/51-dbconfig-common
# end   /etc/request-tracker3.6/RT_SiteConfig.d/50-debconf
1;


Thanks in advance.

Att,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


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


Re: [rt-users] RT Scrip doesn't work

2010-03-29 Thread Wagner Pereira

Hi, Kenn.

My scrip should send an e-mail to user when a ticket were created.

It's configured like this (using the default shipped with RT):

Description: Ticket open - AutoReply
Condition: OnCreate
Action: AutoReply to Requestors
Template: global model - AutoReply
Stage: TransactionCreate

Thanks.

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Kenneth Crocker escreveu:

Pereira,

Well, let's see the scrip. Can't comment on what i cant see. Is it a 
global scrip? Queue scrip? Was the transaction a /create/ or an /open/?


Kenn
LBNL

On Fri, Mar 26, 2010 at 11:39 AM, Wagner Pereira 
wpere...@pop-sp.rnp.br mailto:wpere...@pop-sp.rnp.br wrote:


Hi, all.

I have a RT scrip which should to send a template in every time
someone create a ticket (through e-mail, obviously).

Although, I have other scrip which sends a template when the
ticket is closed. That's working OK.

I made a comparison between both and I already read the RT manual,
it seems they are correctly configured.

So, why doesn't RT send an e-mail when the ticket is opened?

Hugs,

-- 


Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


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




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


[rt-users] RT Scrip doesn't work

2010-03-26 Thread Wagner Pereira

Hi, all.

I have a RT scrip which should to send a template in every time someone 
create a ticket (through e-mail, obviously).


Although, I have other scrip which sends a template when the ticket is 
closed. That's working OK.


I made a comparison between both and I already read the RT manual, it 
seems they are correctly configured.


So, why doesn't RT send an e-mail when the ticket is opened?

Hugs,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


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


[rt-users] 403 Forbidden

2010-03-24 Thread Wagner Pereira

Hi, folks.

I need some help with this:

My Request Tracker's rt.log file is logging the below:


403 Forbidden
This is /usr/bin/rt-mailgate exiting because of an undefined server 
error at /usr/bin/rt-mailgate line 150,  line 1.

procmail: [17961] Wed Mar 24 14:53:46 2010
procmail: Program failure (75) of rt-mailgate
procmail: Rescue of unfiltered data succeeded
procmail: [17961] Wed Mar 24 14:53:46 2010
procmail: No match on ! 
^From:.*@(pop-sp.rnp.br|rtracker.rt.pop-sp.rnp.br|usp.br)

procmail: Assigning PATH=/nonexistent/bin:/usr/local/bin:/usr/bin:/bin
procmail: Assigning 
LASTFOLDER=/home/rt/default/new/1269453226.17961_0.rtracker.rt
procmail: Notified comsat: 
nob...@0:/home/rt/default/new/1269453226.17961_0.rtracker.rt

From wpere...@pop-sp.rnp.br  Wed Mar 24 14:53:45 2010
Subject: teste 24/03/2010 14:53
 Folder: 
/home/rt/default/new/1269453226.17961_0.rtracker.rt   868



What does this suggest me?

Hugs,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


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


[rt-users] rt-mailgate error

2010-03-24 Thread Wagner Pereira

Hi, all.

If my rt.log is telling me the below, what this suggests me?

procmail: Executing 
rt-mailgate,--debug,--queue,general,--action,correspond,--url,https://rtracker.rt.pop-sp.rnp.br/rt;
Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0/NoAuth/mail-gateway at 
/usr/bin/rt-mailgate line 102,  line 1.

An Error Occurred

Hugs,

--

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


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


[rt-users] I can't create a ticket in RT

2010-02-08 Thread Wagner Pereira
Hi, folks.

I need some help with that: There is a Postfix MTA running in the same 
server of RT.

I configured procmail to deliver the messages to rt-mailgate, but after 
some tests I still can't create a ticket through e-mail messages.

This is my rt.log:

===
403 Forbidden
This is /usr/bin/rt-mailgate exiting because of an undefined server 
error at /usr/bin/rt-mailgate line 150,  line 1.
procmail: [8934] Mon Feb  8 11:09:13 2010
procmail: Program failure (75) of rt-mailgate
procmail: Rescue of unfiltered data succeeded
procmail: [8934] Mon Feb  8 11:09:13 2010
procmail: Match on ! 
^From:.*@(cais.rnp.br|pop-ba.rnp.br|outrocliente.dominio)
procmail: Match on ! (^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: 
Multiple recipients of 
|(((Resent-)?(From|Sender)|X-Envelope-From):|?From 
)([^]*[^(@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?|daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)|r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)|mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-z0-9][-_a-z0-9]*)?[%@
   
][^)]*(\(.*\).*)?)?$([^]|$)))
procmail: Executing  (formail -r -I Precedence: junk \
-AX-Loop: r...@pop-sp.rnp.br ; \
cat $DIR/resp) | $SENDMAIL -t -F PoP-SP/RNP -f postmas...@pop-sp.rnp.br 
procmail: Assigning LASTFOLDER= (formail -r -I Precedence: junk \
-AX-Loop: r...@pop-sp.rnp.br ; \
cat $DIR/resp) | $SENDMAIL -t -F PoP-SP/RNP -f postmas...@pop-sp.rnp.br 
procmail: Assigning PATH=/nonexistent/bin:/usr/local/bin:/usr/bin:/bin
cat: /home/rt/resp: No such file or directory
procmail: Assigning 
LASTFOLDER=/home/rt/default/new/1265634553.8934_0.rtracker.rt
procmail: Notified comsat: 
nob...@0:/home/rt/default/new/1265634553.8934_0.rtracker.rt
 From wpere...@pop-sp.rnp.br  Mon Feb  8 11:09:12 2010
Subject: teste 08-02-2010 11:08
Folder: 
/home/rt/default/new/1265634553.8934_0.rtracker.rt869
===

Ans this is my procmailrc file:

===
# Configuracao do Procmailrc
DIR=/home/rt
MAILDIR=$DIR/default
#DEFAULT=$DIR/default
DEFAULT=$MAILDIR/
LOGFILE=$DIR/rt.log
SHELL=/bin/bash
DEBUG=yes
VERBOSE=yes

FILA=$1
OPC=$2

# Caso 1 - clientes autorizados
:0fw
* ^From:.*@(pop-sp.rnp.br|rtracker.rt.pop-sp.rnp.br|usp.br)
| rt-mailgate --debug --queue ${FILA} --action ${OPC} --url 
https://rtracker.rt.pop-sp.rnp.br/rt

# Caso 2 - cliente nao autorizado
:0 h c
* !^From:.*@(cais.rnp.br|pop-ba.rnp.br|outrocliente.dominio)
* !^FROM_DAEMON
| (formail -r -I Precedence: junk \
-AX-Loop: r...@pop-sp.rnp.br ; \
cat $DIR/resp) | $SENDMAIL -t -F PoP-SP/RNP -f postmas...@pop-sp.rnp.br
===

Thank you all a lot.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] I can't create a ticket in RT

2010-02-08 Thread Wagner Pereira
Hi, Emmanuel. Thanks for answered me.

My authentication is HTTPS: https://rtracker.rt.pop-sp.rnp.br/rt/

if so, either allow localhost to connect without a password or create 
an account and set credentials in your rt-mailgate call.

How can I implement that?

P.S.: I observed a thing: every time I make a test, sending an e-mail 
message to r...@pop-sp.rnp.br, one file is generated in 
/home/rt/default/new, as follows:

rtracker:/home/rt/default# ls -la new
total 16
drwx-- 2 nobody mail 4096 Fev  8 11:09 .
drwxrwxrwx 5 root   root 4096 Jan 29 09:10 ..
-rw--- 1 nobody mail  869 Jan 29 09:10 1264763438.10146_0.rtracker.rt
-rw--- 1 nobody mail  869 Fev  8 11:09 1265634553.8934_0.rtracker.rt

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Emmanuel Lacour escreveu:
 On Mon, Feb 08, 2010 at 12:21:47PM -0200, Wagner Pereira wrote:
   
 Hi, folks.

 I need some help with that: There is a Postfix MTA running in the same 
 server of RT.

 I configured procmail to deliver the messages to rt-mailgate, but after 
 some tests I still can't create a ticket through e-mail messages.

 This is my rt.log:

 ===
 403 Forbidden
 

 your webserver refuse access to RT to rt-mailgate, rt-mailgate use a
 subpart of RT to POST the mail and it seems that you configured your
 apache server in a way that this subpart require authentication.

 are you using HTTP authentication?

 if so, either allow localhost to connect without a password or create an
 account and set credentials in your rt-mailgate call.

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

 2010 RT Training Sessions!
 San Francisco, CA, USA - Feb 22  23
 Dublin, Ireland - Mar 15  16
 Boston, MA, USA - April 5  6
 Washington DC, USA - Oct 25  26

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] I can't create a ticket in RT

2010-02-08 Thread Wagner Pereira
Emmanuel,

That's my VirtualHost file:

===
VirtualHost *:443
ServerName rtracker.rt.pop-sp.rnp.br
RedirectMatch ^/$ https://rtracker.rt.pop-sp.rnp.br/rt/
DocumentRoot /var/www
CustomLog /var/log/apache2/rt.log combined
ServerSignature Off
LogLevel warn
/VirtualHost
===

And according to man procmailrc:

:0fw  A  line  starting with ':' marks the beginning of a recipe.
f Consider the pipe as a filter.
w Wait  for  the  filter or program to finish and check its exitcode 
(normally ignored); if the filter is unsuccessful, then the text will not have 
been filtered.

===

Ok, that's what I did, following your suggestion:

cat test.txt | /usr/local/bin/rt-mailgate-3.6 --queue general --action 
correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

And here is the debug output:

===

Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
/usr/local/bin/rt-mailgate-3.6 line 102,  line 1.
An Error Occurred

403 Forbidden
This is /usr/local/bin/rt-mailgate-3.6 exiting because of an undefined 
server error at /usr/local/bin/rt-mailgate-3.6 line 150,  line 1.

===


-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Emmanuel Lacour escreveu:
 On Mon, Feb 08, 2010 at 12:40:00PM -0200, Wagner Pereira wrote:
   
 My authentication is HTTPS: https://rtracker.rt.pop-sp.rnp.br/rt/

 

 That's the way you access your RT server, not the way you authenticate
 to it. Can you give us your VirtualHost configuration?

   
 P.S.: I observed a thing: every time I make a test, sending an e-mail  
 message to r...@pop-sp.rnp.br, one file is generated in  
 /home/rt/default/new, as follows:

 rtracker:/home/rt/default# ls -la new
 total 16
 drwx-- 2 nobody mail 4096 Fev  8 11:09 .
 drwxrwxrwx 5 root   root 4096 Jan 29 09:10 ..
 -rw--- 1 nobody mail  869 Jan 29 09:10 1264763438.10146_0.rtracker.rt
 -rw--- 1 nobody mail  869 Fev  8 11:09 1265634553.8934_0.rtracker.rt

 

 I'm not a procmail master, so either :0fw keeps a copy in the user
 maildir or it deliver to the maildir if the pipe to command fails??

 AW, you can use those files to test your rt-mailgate command, just doing
 cat FILE | rt-mailgate 

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] I can't create a ticket in RT

2010-02-08 Thread Wagner Pereira
: 
https://200.133.192.79/rt/
[Mon Feb 08 18:39:29 2010] [error] [client 200.133.192.22]  RT can't 
run. at /usr/share/request-tracker3.6/lib/RT.pm line 300., referer: 
https://200.133.192.79/rt/
[Mon Feb 08 18:39:29 2010] [error] [client 200.133.192.22] Premature end 
of script headers: mason_handler.scgi, referer: https://200.133.192.79/rt/



-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Emmanuel Lacour escreveu:
 On Mon, Feb 08, 2010 at 01:34:51PM -0200, Wagner Pereira wrote:
   
 Emmanuel,

 That's my VirtualHost file:

 ===
 VirtualHost *:443
ServerName rtracker.rt.pop-sp.rnp.br
RedirectMatch ^/$ https://rtracker.rt.pop-sp.rnp.br/rt/
DocumentRoot /var/www
CustomLog /var/log/apache2/rt.log combined
ServerSignature Off
LogLevel warn
 /VirtualHost
 ===

 

 So you have somewhere else something that define that /rt runs RT, yes?

   
 cat test.txt | /usr/local/bin/rt-mailgate-3.6 --queue general --action  
 correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

 And here is the debug output:

 ===

 Connecting to  
 https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at  
 /usr/local/bin/rt-mailgate-3.6 line 102,  line 1.
 An Error Occurred

 403 Forbidden
 

 That's what I said, your webserver configuration seems broken in a way
 it disallow access to /rt//REST/1.0/NoAuth/mail-gateway. Explanation
 should be in your apache logs...

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] mail.log 403 Forbidden

2010-01-28 Thread Wagner Pereira
Matthew,

Yes, I am already able to access the RT via web interface: 
https://rtracker.rt.pop-sp.rnp.br/rt/

That's interesting: when I try to access 
https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0

I get:

RT/3.6.7 401 Credentials required

But, listen: this Best Practical REST's page seems very geek to me! 
Sincerely, I am not sure if I can do something of that.  : (

Thank you a lot.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Matthew Seaman escreveu:
 On 28/01/2010 12:14, Wagner Pereira wrote:
   
 Matthew,

 I tried to change the /usr/local/bin/rt-mailgate-3.6 line 102,
 eliminating the slash before REST, in line #102, but it is still the
 same thing. The same log.

 

 OK.  Can you access your RT instance via a web browser in the normal
 way?

 What happens if you try following the instructions at the top of
 http://wiki.bestpractical.com/view/REST ? ie.  Go to:

 https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0

   Cheers,

   Matthew

 PS. Can you keep the rt-users mailing list in the loop please?  It's to
 your advantage as there will be more people potentially able to help.

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] mail.log 403 Forbidden

2010-01-28 Thread Wagner Pereira
Dr. Matthew, from Black Earth Consulting  : )

Now I've made that:

You should go to https://rtracker.rt.pop-sp.rnp.br/rt/ and log in as 
usual, then edit the URL bar to go to 
https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0

And I obtained this:

RT/3.6.7 200 Ok
# Invalid object specification: ''
id:

What does this suggest me?


-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Matthew Seaman escreveu:
 On 28/01/2010 13:01, Wagner Pereira wrote:
   
 Matthew,

 Yes, I am already able to access the RT via web interface:
 https://rtracker.rt.pop-sp.rnp.br/rt/

 That's interesting: when I try to access
 https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0

 I get:

 RT/3.6.7 401 Credentials required
 

 Uh, yes.  You should go to https://rtracker.rt.pop-sp.rnp.br/rt/ and log
 in as usual, then edit the URL bar to go to
 https://rtracker.rt.pop-sp.rnp.br/rt/REST/1.0


   
 But, listen: this Best Practical REST's page seems very geek to me!
 Sincerely, I am not sure if I can do something of that.  : (
 

 Ah.  Is the REST interface what you actually want then?  It's designed
 for people to write programs that interact with RT, which does imply a
 certain degree of geek.

   Cheers,

   Matthew

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] 403 Forbidden

2010-01-27 Thread Wagner Pereira
Hi, fellows.

Any idea what that means? (Excerpt from my mail.log)

temporary failure. Command output: Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
/usr/bin/rt-mailgate-3.6 line 102,  line 1. An Error Occurred 
=  403 Forbidden This is /usr/bin/rt-mailgate-3.6 
exiting because of an undefined server error at /usr/bin/rt-mailgate-3.6 
line 150,  line 1.

Hugs,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] New error in mail.log

2010-01-27 Thread Wagner Pereira
Hey, folks.

Can someone help me out?

I've changed the /etc/aliases file, pointing to the right path, I guess, 
and now:

Jan 27 09:41:04 rtracker postfix/smtpd[3789]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 27 09:41:04 rtracker postfix/smtpd[3789]: 6BE8D24FD7: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 27 09:41:04 rtracker postfix/cleanup[3792]: 6BE8D24FD7: 
message-id=4b60262f.1060...@pop-sp.rnp.br
Jan 27 09:41:04 rtracker postfix/qmgr[2112]: 6BE8D24FD7: 
from=wpere...@pop-sp.rnp.br, size=762, nrcpt=1 (queue active)
Jan 27 09:41:04 rtracker postfix/local[3793]: 6BE8D24FD7: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=0.13, 
delays=0.06/0/0/0.06, dsn=5.3.0, status=bounced (Command died with 
status 2: 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway --queue 
general --action correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/ 
--debug. Command output: 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 1: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 2: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 3: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 4: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 5: 
syntax error near unexpected token `(' 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 5: 
`%# This software is Copyright (c) 1996-2008 Best Practical Solutions, 
LLC ' )
Jan 27 09:41:04 rtracker postfix/cleanup[3792]: 87D4724FDE: 
message-id=20100127114104.87d4724...@rtracker.rt.pop-sp.rnp.br
Jan 27 09:41:04 rtracker postfix/qmgr[2112]: 87D4724FDE: from=, 
size=4221, nrcpt=1 (queue active)
Jan 27 09:41:04 rtracker postfix/bounce[3804]: 6BE8D24FD7: sender 
non-delivery notification: 87D4724FDE
Jan 27 09:41:04 rtracker postfix/qmgr[2112]: 6BE8D24FD7: removed
Jan 27 09:41:04 rtracker postfix/smtp[3806]: 87D4724FDE: 
to=wpere...@pop-sp.rnp.br, 
relay=kliper.pop-sp.rnp.br[200.133.192.62]:25, delay=0.16, 
delays=0.01/0.05/0.01/0.09, dsn=2.0.0, status=sent (250 Ok. 
4B602650.4CCC)
Jan 27 09:41:04 rtracker postfix/qmgr[2112]: 87D4724FDE: removed
Jan 27 09:42:04 rtracker postfix/smtpd[3789]: disconnect from 
kliper.pop-sp.rnp.br[200.133.192.62]

Thanks a lot.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] Error in my mail.log

2010-01-27 Thread Wagner Pereira
Hello, guys.

Why my mail.log has logged it?

status=bounced (Command died with status 2: 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway --queue 
general --action correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/ 
--debug.
Command output:
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 1: fg: no 
job control
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 2: fg: no 
job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 3: fg: no 
job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 4: fg: no 
job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 5: syntax 
error near unexpected token `(' 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 5: `%# 
This software is Copyright (c) 1996-2008 Best Practical Solutions, 
LLC ' )

Any help would be appreciated.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] What the mail.log is trying to say me?

2010-01-27 Thread Wagner Pereira
Ok,

If I edit my /etc/aliases as follow:
rt: |/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway 
--queue general --action correspond --url 
https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

The mail.log says:

---
Jan 27 15:48:25 rtracker postfix/smtpd[4300]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 27 15:48:25 rtracker postfix/smtpd[4300]: A59F524FC1: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 27 15:48:25 rtracker postfix/cleanup[4304]: A59F524FC1: 
message-id=4b607c4a.2080...@pop-sp.rnp.br
Jan 27 15:48:25 rtracker postfix/qmgr[2112]: A59F524FC1: 
from=wpere...@pop-sp.rnp.br, size=762, nrcpt=1 (queue active)
Jan 27 15:48:25 rtracker postfix/local[4305]: A59F524FC1: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=0.1, 
delays=0.03/0.03/0/0.04, dsn=5.3.0, status=bounced (Command died with 
status 2: 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway --queue 
general --action correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/ 
--debug. Command output: 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 1: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 2: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 3: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 4: 
fg: no job control 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 5: 
syntax error near unexpected token `(' 
/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway: line 5: 
`%# This software is Copyright (c) 1996-2008 Best Practical Solutions, 
LLC ' )
Jan 27 15:48:25 rtracker postfix/cleanup[4304]: B7F7224FCD: 
message-id=20100127174825.b7f7224...@rtracker.rt.pop-sp.rnp.br
Jan 27 15:48:25 rtracker postfix/qmgr[2112]: B7F7224FCD: from=, 
size=4221, nrcpt=1 (queue active)
Jan 27 15:48:25 rtracker postfix/bounce[4307]: A59F524FC1: sender 
non-delivery notification: B7F7224FCD
Jan 27 15:48:25 rtracker postfix/qmgr[2112]: A59F524FC1: removed
Jan 27 15:48:25 rtracker postfix/smtp[4308]: B7F7224FCD: 
to=wpere...@pop-sp.rnp.br, 
relay=kliper.pop-sp.rnp.br[200.133.192.62]:25, delay=0.14, 
delays=0.03/0.02/0.01/0.09, dsn=2.0.0, status=sent (250 Ok. 
4B607C69.517A)
Jan 27 15:48:25 rtracker postfix/qmgr[2112]: B7F7224FCD: removed
Jan 27 15:49:25 rtracker postfix/smtpd[4300]: disconnect from 
kliper.pop-sp.rnp.br[200.133.192.62]
---

And if I edit the /etc/aliases like that:
rt: |/usr/local/bin/rt-mailgate-3.6 --queue general --action correspond 
--url https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

That's what the mail.log records:

---
Jan 27 16:16:12 rtracker postfix/smtpd[4671]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 27 16:16:12 rtracker postfix/smtpd[4671]: 9F76724FC1: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 27 16:16:12 rtracker postfix/cleanup[4676]: 9F76724FC1: 
message-id=4b6082cd.4060...@pop-sp.rnp.br
Jan 27 16:16:12 rtracker postfix/qmgr[4633]: 9F76724FC1: 
from=wpere...@pop-sp.rnp.br, size=762, nrcpt=1 (queue active)
Jan 27 16:16:12 rtracker postfix/local[4677]: 9F76724FC1: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=0.31, 
delays=0.03/0.02/0/0.26, dsn=4.3.0, status=deferred (temporary failure. 
Command output: Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
/usr/local/bin/rt-mailgate-3.6 line 102,  line 1. An Error Occurred 
=  403 Forbidden This is /usr/local/bin/rt-mailgate-3.6 
exiting because of an undefined server error at 
/usr/local/bin/rt-mailgate-3.6 line 150,  line 1. )
Jan 27 16:17:12 rtracker postfix/smtpd[4671]: disconnect from 
kliper.pop-sp.rnp.br[200.133.192.62]
---

What should I understand with these messages?

Thanks.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] What the mail.log is trying to say me?

2010-01-27 Thread Wagner Pereira
Hi, Kevin.

Now I edit correctly the /etc/aliases, pointing to the right path, I hope!.
rt: |/usr/local/bin/rt-mailgate-3.6 --queue general --action correspond 
--url https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

Where the Apache and RT's logs should be?

Please, tell me and I'll help you to help me.

Thank you.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Kevin Falcone escreveu:
 On Wed, Jan 27, 2010 at 04:23:54PM -0200, Wagner Pereira wrote:
   
 If I edit my /etc/aliases as follow:
 rt: |/usr/share/request-tracker3.6/html/REST/1.0/NoAuth/mail-gateway 
 --queue general --action correspond --url 
 https://rtracker.rt.pop-sp.rnp.br/rt/ --debug
 

 This is wrong and will never work

   
 And if I edit the /etc/aliases like that:
 rt: |/usr/local/bin/rt-mailgate-3.6 --queue general --action correspond 
 --url https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

 That's what the mail.log records:

 ---
 Command output: Connecting to 
 https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
 /usr/local/bin/rt-mailgate-3.6 line 102,  line 1. An Error Occurred 
 =  403 Forbidden This is /usr/local/bin/rt-mailgate-3.6 
 exiting because of an undefined server error at 
 

 And what do your Apache and RT logs say?
 Apache is not allowing rt-mailgate to connect, go fix that

 -kevin
   
 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

 2010 RT Training Sessions!
 San Francisco, CA, USA - Feb 22  23
 Dublin, Ireland - Mar 15  16
 Boston, MA, USA - April 5  6
 Washington DC, USA - Oct 25  26

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] I give up!

2010-01-26 Thread Wagner Pereira
Ok, I admit: I'm lost!

Since I've installed RT on my Debian lenny, it is running perfectly, OK.

But, I really can't create a ticket via e-mail message. The more I edit 
the necessary files for it, the more I am lost!

My scenario is:

Mail server: Debian 4.0 etch - running Courier-MTA
RT server: Debian 5.0 lenny

What should I do? What could you guys suggest me?

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] I give up!

2010-01-26 Thread Wagner Pereira
 immediately and the message is ignored.

=cut
-

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Jason Ledford escreveu:
 I sort followed this guide 
 http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch.html 
 and other guides that are very similar.

 The fetchmail part I think is what you are looking for.  Fetchmail will log 
 onto your mail server via pop3 and download the messages and inject them into 
 RT.

 Here is my relevant fetchmail config:
 **
 poll my.mail.server.com
 protocol pop3 uidl
 auth password
 username rt-support password somepassword
 mda /usr/bin/rt-mailgate-3.8 --queue MYQUEUENAME --action correspond --url 
 http://rt.f.q.d.n/rt/;
 no keep
 *

 I added the * to try and highlight that specific part.  Are you using 
 fetchmail or how are you injecting messages into RT?

 -Original Message-
 From: rt-users-boun...@lists.bestpractical.com 
 [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Wagner Pereira
 Sent: Tuesday, January 26, 2010 9:50 AM
 To: RT-Users@lists.bestpractical.com
 Subject: [rt-users] I give up!

 Ok, I admit: I'm lost!

 Since I've installed RT on my Debian lenny, it is running perfectly, OK.

 But, I really can't create a ticket via e-mail message. The more I edit 
 the necessary files for it, the more I am lost!

 My scenario is:

 Mail server: Debian 4.0 etch - running Courier-MTA
 RT server: Debian 5.0 lenny

 What should I do? What could you guys suggest me?

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] I give up!

2010-01-26 Thread Wagner Pereira
Mauricio (and Jason),

I've implemented this model drawed on: http://twitpic.com/z33rr/full

That means I haven't the fetchmail as an other layer in my 
infrastructure; in both sides I wrote aliases to delivery the messages, 
either from mail server (Courier) to RT server (Postfix) and from 
Postfix to rt-mailgate. But it still doesn't work fine.

Check my aliases files out below:

At the mail server side:
# This line delivers the message to RT server (Postfix) which then 
delivers to rt-mailgate and cares to create the new ticket
r...@pop-sp.rnp.br: r...@rtracker.rt.pop-sp.rnp.br

And at the RT server side:
rt: |/usr/bin/rt-mailgate-3.6 --queue general --action correspond --url 
https://rtracker.rt.pop-sp.rnp.br/rt/ --debug

Hugs,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Mauricio Tavares escreveu:
 On Tue, Jan 26, 2010 at 12:23 PM, Wagner Pereira wpere...@pop-sp.rnp.br 
 wrote:
   
 Hi, Jason.

 Mauricio Tavares asked me the same, in a previous message, and below is
 my answer.

 Some colleagues suggested me don't use fetchmail, because this would
 make the scenario more complex than the necessary.

 
 [...]
   Wagner (and Jason),

   I run RT in an ubuntu 9.04 box (actually a VM but hey). I looked
 in my docs and did not had to edit rt-mailgate. I too use fetchmail;
 my /etc/fetchmailrc looks like this

   set syslog;
   set daemon 30;

   poll mail.domain.com
   with protocol imap
   username rt password weak_password
   mda /usr/bin/perl /usr/bin/rt-mailgate --url http://localhost/ \
   --queue support --action correspond

 and I set it up to start as daemon using /etc/default/fetchmail

   # This file will be used to declare some vars for fetchmail
   #
   # Uncomment the following if you don't want localized log messages
   # export LC_ALL=C

   # If you want to specify any additional OPTION to the start
   # scripts specify them here
   # OPTIONS=...

   # Declare here if we want to start fetchmail. 'yes' or 'no'
   START_DAEMON=yes
   #

 That is fine but right now who cares? Most important line from
 everything I've written above is

 mda /usr/bin/perl /usr/bin/rt-mailgate --url http://localhost/ \
   --queue support --action correspond

 This is the line that grabs the mail fetchmail has retrieved from our
 mail server and sends to rt. So, what if you run that very same perl
 command (in quotes), piping the test mail to it? I just want to see if
 you can feed the test email to rt. If that works, we can then worry
 about getting the mail from the mail server.
   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] mail.log 403 Forbidden

2010-01-26 Thread Wagner Pereira
Hi, folks.

What does 403 Forbidden mean in this log?

Jan 26 17:26:43 rtracker postfix/smtpd[2263]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 26 17:26:44 rtracker postfix/smtpd[2263]: 0C43224FC1: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 26 17:26:44 rtracker postfix/cleanup[2268]: 0C43224FC1: 
message-id=4b5f41d2.5060...@pop-sp.rnp.br
Jan 26 17:26:44 rtracker postfix/qmgr[2112]: 0C43224FC1: 
from=wpere...@pop-sp.rnp.br, size=762, nrcpt=1 (queue active)
Jan 26 17:26:45 rtracker postfix/local[2269]: 0C43224FC1: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=1, 
delays=0.05/0.01/0/0.98, dsn=4.3.0, status=deferred (temporary failure. 
Command output: Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
/usr/bin/rt-mailgate-3.6 line 102,  line 1. An Error Occurred 
=  403 Forbidden This is /usr/bin/rt-mailgate-3.6 
exiting because of an undefined server error at /usr/bin/rt-mailgate-3.6 
line 150,  line 1. )
Jan 26 17:26:45 rtracker postfix/qmgr[2112]: 0C43224FC1: 
from=wpere...@pop-sp.rnp.br, size=762, nrcpt=1 (queue active)
Jan 26 17:26:45 rtracker postfix/local[2269]: 0C43224FC1: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=1.3, 
delays=1.1/0/0/0.25, dsn=4.3.0, status=deferred (temporary failure. 
Command output: Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
/usr/bin/rt-mailgate-3.6 line 102,  line 1. An Error Occurred 
=  403 Forbidden This is /usr/bin/rt-mailgate-3.6 
exiting because of an undefined server error at /usr/bin/rt-mailgate-3.6 
line 150,  line 1. )
Jan 26 17:27:44 rtracker postfix/smtpd[2263]: disconnect from 
kliper.pop-sp.rnp.br[200.133.192.62]

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] A It works page is loaded after log in

2010-01-22 Thread Wagner Pereira
Good morning, all.

I have a RT user that, every time he tries to log in, a It works page 
is loaded.

But the worst is that he is trying to log in from a computer of a 
different network of the RT server. If he tries to log in RT using my 
computer, by instance, whose is in the same network of the RT server, he 
logs in correctly.

I'm very confused!

Thanks for any help.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] A It works page is loaded after log in [SOLVED]

2010-01-22 Thread Wagner Pereira
Finally,

My colleague was typing /https://rtracker.rt.pop-sp.rnp.br/rt/ without 
the last slash, as follows: /https://rtracker.rt.pop-sp.rnp.br/rt//

Thank you, Ernesto Hernández-Novich, for your help.

See you all,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Wagner Pereira escreveu:
 Good morning, all.

 I have a RT user that, every time he tries to log in, a It works page 
 is loaded.

 But the worst is that he is trying to log in from a computer of a 
 different network of the RT server. If he tries to log in RT using my 
 computer, by instance, whose is in the same network of the RT server, he 
 logs in correctly.

 I'm very confused!

 Thanks for any help.

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] [Fwd: Re: A It works page is loaded after log in [SOLVED]]

2010-01-22 Thread Wagner Pereira




Hi,

This new message came because the last one.

How can I redirect a person who will access https://rtracker.rt.pop-sp.rnp.br
to https://rtracker.rt.pop-sp.rnp.br/rt/

Thanks.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presena da RNP em So Paulo
CCE/USP - Centro de Computao Eletrnica da Universidade de So Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901


 Mensagem original 

  

  Assunto: 
  Re: [rt-users] A "It works" page is loaded after log in
[SOLVED]


  Data: 
  Fri, 22 Jan 2010 11:00:37 -0200


  De: 
      Wagner Pereira wpere...@pop-sp.rnp.br


  Para: 
  RT-Users@lists.bestpractical.com


  Referncias: 
  4b598f28.7050...@pop-sp.rnp.br

  



Finally,

My colleague was typing /https://rtracker.rt.pop-sp.rnp.br/rt/ without 
the last slash, as follows: /https://rtracker.rt.pop-sp.rnp.br/rt//

Thank you, Ernesto Hernndez-Novich, for your help.

See you all,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presena da RNP em So Paulo
CCE/USP - Centro de Computao Eletrnica da Universidade de So Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Wagner Pereira escreveu:
 Good morning, all.

 I have a RT user that, every time he tries to log in, a "It works" page 
 is loaded.

 But the worst is that he is trying to log in from a computer of a 
 different network of the RT server. If he tries to log in RT using my 
 computer, by instance, whose is in the same network of the RT server, he 
 logs in correctly.

 I'm very confused!

 Thanks for any help.

   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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






___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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

[rt-users] My RT still didn't create a ticket via an e-mail

2010-01-22 Thread Wagner Pereira
Hi, folks.

Below is my mail.log (on the RT server) and I'd like to know what that 
/Command output/ means.

Jan 22 12:00:38 rtracker postfix/smtpd[7248]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 22 12:00:39 rtracker postfix/smtpd[7248]: 056CA24FD6: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 22 12:00:39 rtracker postfix/cleanup[7251]: 056CA24FD6: 
message-id=4b59af63.5050...@pop-sp.rnp.br
Jan 22 12:00:39 rtracker postfix/qmgr[6355]: 056CA24FD6: 
from=wpere...@pop-sp.rnp.br, size=771, nrcpt=1 (queue active)
Jan 22 12:00:39 rtracker postfix/local[7252]: 056CA24FD6: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=0.28, 
delays=0.03/0.02/0/0.24, dsn=4.3.0, status=deferred (temporary failure. 
Command output: An Error Occurred =  403 Forbidden )
Jan 22 12:01:39 rtracker postfix/smtpd[7248]: disconnect from 
kliper.pop-sp.rnp.br[200.133.192.62]

And below is my aliases file, from my RT server:

r...@rtracker.rt.pop-sp.rnp.br: |/usr/bin/rt-mailgate --queue general 
--action correspond --url https://rtracker.rt.pop-sp.rnp.br/rt/;

Thank you all a lot.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] More mail.log!

2010-01-22 Thread Wagner Pereira
Hi,

This is my mail.log, where my RT is installed.

Jan 22 14:35:51 rtracker postfix/smtpd[8645]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 22 14:35:51 rtracker postfix/smtpd[8645]: B0AC824FF4: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 22 14:35:51 rtracker postfix/cleanup[8649]: B0AC824FF4: 
message-id=4b59d3c3.8000...@pop-sp.rnp.br
Jan 22 14:35:51 rtracker postfix/qmgr[8605]: B0AC824FF4: 
from=wpere...@pop-sp.rnp.br, size=759, nrcpt=1 (queue active)
Jan 22 14:35:52 rtracker postfix/local[8650]: B0AC824FF4: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=0.41, 
delays=0.04/0.03/0/0.33, dsn=4.3.0, status=deferred (temporary failure. 
Command output: Connecting to 
https://rtracker.rt.pop-sp.rnp.br/rt//REST/1.0/NoAuth/mail-gateway at 
/usr/bin/rt-mailgate-3.6 line 102,  line 1. An Error Occurred 
=  403 Forbidden This is /usr/bin/rt-mailgate-3.6 
exiting because of an undefined server error at /usr/bin/rt-mailgate-3.6 
line 150,  line 1. )

Then, I opened this rt-mailgate-3.6 file and the line 102 is as follows:
warn Connecting to $full_url if $opts{'debug'};

and the 150th line is:
warn This is $0 exiting because of an undefined server error if 
($opts{debug});

Thanks for any help.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] User for rt-mailgate

2010-01-22 Thread Wagner Pereira
Hey, folks.

In the man rt-mailgate I found that:

SETUP
   Much of the set up of the mail gateway depends on your MTA and 
mail routing configuration. However, you will need first of all to 
create an RT user for the mail gateway and assign it a
   password; this helps to ensure that mail coming into the web 
server did originate from the gateway.


So, where should I say rt-mailgate which user/password I created on RT 
through the web interface?

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] /var/log/mail.log

2010-01-21 Thread Wagner Pereira
G'morning, all.

I created a .forward file, inside the /home/account directory, and added:

|/usr/bin/rt-mailgate --url https://rtracker.rt.pop-sp.rnp.br/rt 
--queue general --action correspond

Take a look at the new test I did:

Jan 21 10:49:55 rtracker postfix/smtpd[2363]: connect from 
kliper.pop-sp.rnp.br[200.133.192.62]
Jan 21 10:49:56 rtracker postfix/smtpd[2363]: 004D024FBF: 
client=kliper.pop-sp.rnp.br[200.133.192.62]
Jan 21 10:49:56 rtracker postfix/cleanup[2368]: 004D024FBF: 
message-id=4b584d4e.3070...@pop-sp.rnp.br
Jan 21 10:49:56 rtracker postfix/qmgr[2356]: 004D024FBF: 
from=wpere...@pop-sp.rnp.br, size=771, nrcpt=1 (queue active)
Jan 21 10:49:56 rtracker postfix/local[2369]: 004D024FBF: 
to=r...@rtracker.rt.pop-sp.rnp.br, relay=local, delay=0.33, 
delays=0.04/0.02/0/0.28, dsn=4.3.0, status=deferred (temporary failure. 
Command output: An Error Occurred =  403 Forbidden )
Jan 21 10:50:56 rtracker postfix/smtpd[2363]: disconnect from 
kliper.pop-sp.rnp.br[200.133.192.62]


Hugs,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] RT server not found after a period without activities

2010-01-21 Thread Wagner Pereira
Hi,

What the heck is the reason because RT shows a Server not found page 
after some time without to do something? That has been happening when I, 
after a couple of time, going to click in any link inside the RT.

I use to let the RT web interface open, actually, througout the day, 
business hours.

Thanks in advance for your time,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] Unknown user from mail.log

2010-01-14 Thread Wagner Pereira
Hi, guys.

What the heck the following means? I retrieved it from /var/log/mail.log, on 
the same server where Request Tracker is installed.

The thing is I want to create a ticket automatically when a new e-mail message 
arrives. I've installed fetchmail to retrieve e-mails messages from other 
server.

Jan 14 16:00:02 rtracker postfix/local[7187]: F378524FBE: 
to=pop-sp-gene...@kliper.pop-sp.rnp.br, orig_to=r...@kliper.pop-sp.rnp.br, 
relay=local, delay=0.02, delays=0/0.01/0/0.01, dsn=5.1.1, status=bounced 
(unknown user: pop-sp-genesis)


-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


Re: [rt-users] Unknown user from mail.log

2010-01-14 Thread Wagner Pereira
Kevin,

I think I already did that. I created a file named .fetchmailrc on the 
same RT directory.

Look:

rtracker:/etc/request-tracker3.6# vim .fetchmailrc
set daemon 60
poll imap.pop-sp.rnp.br proto imap username rt password rt_pass mda 
/usr/bin/rt-mailgate --url https://rt.pop-sp.rnp.br/rt --queue general 
--action correspond

What do you guess about?

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Kevin Falcone escreveu:
 On Thu, Jan 14, 2010 at 05:08:35PM -0200, Wagner Pereira wrote:
   
 Hi, guys.

 What the heck the following means? I retrieved it from /var/log/mail.log, on 
 the same server where Request Tracker is installed.

 The thing is I want to create a ticket automatically when a new e-mail 
 message arrives. I've installed fetchmail to retrieve e-mails messages from 
 other server.

 Jan 14 16:00:02 rtracker postfix/local[7187]: F378524FBE: 
 to=pop-sp-gene...@kliper.pop-sp.rnp.br, 
 orig_to=r...@kliper.pop-sp.rnp.br, relay=local, delay=0.02, 
 delays=0/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: 
 pop-sp-genesis)
 

 It looks like you need to tell fetchmail to deliver to rt-mailgate,
 instead of the mail subsystem.  The fetchmail wikipage has some
 examples.

 -kevin
   
 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

 2010 RT Training Sessions!
 San Francisco, CA, USA - Feb 22  23
 Dublin, Ireland - Mar 15  16
 Boston, MA, USA - April 5  6
 Washington DC, USA - Oct 25  26

 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

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


[rt-users] How to create ticket through an e-mail message?

2010-01-13 Thread Wagner Pereira
Hi, folks.

And now, almost all of the main settings are done!

But, I need to setting up my RT to create a ticket when someone send an 
e-mail message to it.

I found this line in a blog, but I'm not sure if this is enough to make 
RT works properly.

rt-email: |/usr/bin/rt-mailgate --queue General --action correspond --url 
https://localhost/rt;

Thanks for any precious help.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Bad Request

2010-01-12 Thread Wagner Pereira
Hi, Emmanuel.

What kind of protocol do you use (httpS it seems). What is your settings
in RT_SiteConfig.pm for WebPort/WebBaseURL (those settings changed
between RT 3.6 and RT 3.8).

# THE WEBSERVER:

Set($WebPath , /rt);
Set($WebBaseURL , http://rt.pop-sp.rnp.br;);


Maybe you were previously using HTTP and turned on HTTPS in apache
without RT configuration update?

Well, I tried to change the WebBaseURL for https but didn't work, although.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901



Emmanuel Lacour escreveu:
 On Mon, Jan 11, 2010 at 06:13:25PM -0200, Wagner Pereira wrote:
   
 Hi, folks.

 I have faced a problem when I'm using Request Tracker:

 
 Bad Request

 Your browser sent a request that this server could not understand.
 Reason: You're speaking plain HTTP to an SSL-enabled server port.
 Instead use the HTTPS scheme to access this URL, please.

 Hint: https://rtracker.pop-sp.rnp.br/

 

 What kind of protocol do you use (httpS it seems). What is your settings
 in RT_SiteConfig.pm for WebPort/WebBaseURL (those settings changed
 between RT 3.6 and RT 3.8).
 Maybe you were previously using HTTP and turned on HTTPS in apache
 without RT configuration update?

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] RT_CorrespondAddressNotSet

2010-01-12 Thread Wagner Pereira
Hi, folks.

I have noticed, running my preliminary tests, when the RT System send an 
e-mail, the text RT_CorrespondAddressNotSet is showed. Why does it happen?

From: Wagner Pereira via RT RT_CorrespondAddressNotSet
Reply-To: RT_CorrespondAddressNotSet

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Bad Request

2010-01-11 Thread Wagner Pereira
Hi, folks.

I have faced a problem when I'm using Request Tracker:


Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Hint: https://rtracker.pop-sp.rnp.br/

Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 
Perl/v5.10.0 Server at rtracker.pop-sp.rnp.br Port 443


This is happening when I open/close/find a ticket.

Although, the system sent me a message with the new ticket and, after, 
that ticket resolved.

I'll appreciate any help.

Thanks,

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. (11) 3091-8901

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] I'm almost there!

2009-12-03 Thread Wagner Pereira
Hey, folks.

What this message below means? (Logged on my /var/log/apache2/errors.log)

And how can I solve that problem?

[Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can't locate 
RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/../local/lib 
/usr/local/rt-3.8.6/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0 
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . 
/etc/apache2) at /usr/local/rt-3.8.6/bin/../lib/RT.pm line 627.\n

My /etc/apache2/sites-available/default file is:

VirtualHost *:80
ServerName rtracker.pop-sp.rnp.br
ServerAdmin wpere...@pop-sp.rnp.br
RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/
DocumentRoot /var/www
CustomLog /var/log/apache2/www-pop-webmail.log combined
ServerSignature Off
LogLevel warn
/VirtualHost

And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is:

### Custom settings ###
Set($rtname, 'PoP-SP'); Set($Organization, 'rtracker.pop-sp.rnp.br'); 
Set($CorrespondAddress, 'r...@rtracker.pop-sp.rnp.br'); 
Set($CommentAddress, 'rt-comm...@rtracker.pop-sp.rnp.br'); 
Set($OwnerEmail, 'ad...@pop-sp.rnp.br'); Set($MaxAttachmentSize, 1000);

# THE DATABASE

Set($DatabaseType, 'mysql');

Set($DatabaseUser, 'rtuser'); Set($DatabasePassword, 'pass_rtuser'); 
Set($DatabaseName, 'rtdb');

# THE WEBSERVER

Set($WebPath, '/rt'); Set($WebBaseURL, 'http://rtracker.pop-sp.rnp.br');

Thanks in advance!

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] I'm almost there!

2009-12-03 Thread Wagner Pereira
Kevin,

I've tried to install this, but check this out:

cpan[1] install 
RT::FM  
 

CPAN: Storable loaded ok (v2.18)
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 02 Dec 2009 10:40:10 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 143 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 1.2107 secs)
Warning: Cannot install RT::FM, don't know what it is.
Try the command

i /RT::FM/

to find objects with matching identifiers.

Next, I made what CPAN suggested to do, and...

cpan[1] i 
/RT::FM/
   

CPAN: Storable loaded ok (v2.18)
Going to read '/root/.cpan/Metadata'
  Database was generated on Wed, 02 Dec 2009 10:40:10 GMT
CPAN: YAML loaded ok (v0.70)
Going to read 143 yaml files from /root/.cpan/build/
CPAN: Time::HiRes loaded ok (v1.9711)
DONE
Restored the state of none (in 1.2082 secs)
No objects found of any type for argument /RT::FM/


Finally, in my RT_SiteConfig.pm I have the follow lines commented:

#Set (@Plugins,(qw(Extension::QuickDelete RT::FM)));
#Set (@Plugins,(qw(RT::FM));

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902



Kevin Falcone escreveu:
 On Thu, Dec 03, 2009 at 12:55:06PM -0200, Wagner Pereira wrote:
   
 Hey, folks.

 What this message below means? (Logged on my /var/log/apache2/errors.log)

 And how can I solve that problem?

 [Thu Dec 03 12:44:46 2009] [error] [client 200.133.192.22] Can't locate 
 RT/FM.pm in @INC (@INC contains: /usr/local/rt-3.8.6/bin/../local/lib 
 /usr/local/rt-3.8.6/bin/../lib /etc/perl /usr/local/lib/perl/5.10.0 
 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 
 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . 
 /etc/apache2) at /usr/local/rt-3.8.6/bin/../lib/RT.pm line 627.\n
 

 Did you install RT::FM?
 If not, you shouldn't have Set(@Plugins, qw(RT::FM)); in your
 RT_SiteConfig.pm

 -kevin

   
 My /etc/apache2/sites-available/default file is:

 VirtualHost *:80
 ServerName rtracker.pop-sp.rnp.br
 ServerAdmin wpere...@pop-sp.rnp.br
 RedirectMatch ^/$ http://rtracker.pop-sp.rnp.br/rt/
 DocumentRoot /var/www
 CustomLog /var/log/apache2/www-pop-webmail.log combined
 ServerSignature Off
 LogLevel warn
 /VirtualHost

 And my /usr/local/rt-3.8.6/etc/RT_SiteConfig.pm is:

 ### Custom settings ###
 Set($rtname, 'PoP-SP'); Set($Organization, 'rtracker.pop-sp.rnp.br'); 
 Set($CorrespondAddress, 'r...@rtracker.pop-sp.rnp.br'); 
 Set($CommentAddress, 'rt-comm...@rtracker.pop-sp.rnp.br'); 
 Set($OwnerEmail, 'ad...@pop-sp.rnp.br'); Set($MaxAttachmentSize, 1000);

 # THE DATABASE

 Set($DatabaseType, 'mysql');

 Set($DatabaseUser, 'rtuser'); Set($DatabasePassword, 'pass_rtuser'); 
 Set($DatabaseName, 'rtdb');

 # THE WEBSERVER

 Set($WebPath, '/rt'); Set($WebBaseURL, 'http://rtracker.pop-sp.rnp.br');

 Thanks in advance!

 -- 

 Wagner Pereira

 PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
 CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
 http://www.pop-sp.rnp.br
 f...@rnp 1015-8902

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

 
 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] How should I create a db in mysql?

2009-11-30 Thread Wagner Pereira
Hi, folks.

My scenario is:
Debian 5.0 lenny x86_64
Request Tracker 3.6
Mysql 5.0

This is my first time here and I need some help:

I don't know to create a mysql database, since as I observed, there is 
no database created.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] You're almost there

2009-11-30 Thread Wagner Pereira
Hi, friends.

Finishing my RT configuration, I faced this up:

RT: Request Tracker
You're almost there!

You haven't yet configured your webserver to run RT.

You appear to have installed RT's web interface correctly, but haven't 
yet configured your web server to run the RT server which powers the 
web interface.

The next step is to edit your webserver's configuration file to instruct 
it to use RT's mod_perl , fastcgi or speedycgi handler.

What's next?

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] How should I create a db in mysql?

2009-11-30 Thread Wagner Pereira
Hi, Kevin.

Could you help me?

RT: Request Tracker
You're almost there!

You haven't yet configured your webserver to run RT.

You appear to have installed RT's web interface correctly, but haven't 
yet configured your web server to run the RT server which powers the 
web interface.

The next step is to edit your webserver's configuration file to instruct 
it to use RT's mod_perl , fastcgi or speedycgi handler.

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902



Kevin Falcone escreveu:
 On Mon, Nov 30, 2009 at 12:26:45PM -0200, Wagner Pereira wrote:
   
 Hi, folks.

 My scenario is:
 Debian 5.0 lenny x86_64
 Request Tracker 3.6
 Mysql 5.0

 This is my first time here and I need some help:

 I don't know to create a mysql database, since as I observed, there is 
 no database created.
 

 I suspect you want the 'make initdb' command
   
 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] I'm almost there!

2009-11-30 Thread Wagner Pereira
Hello, folks.

I need to make my RT works, so, could anyone help me?

That's my /var/log/apache2/error.log (last attempts):

[Mon Nov 30 11:10:22 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 15:35:08 2009] [notice] Apache/2.2.9 (Debian) configured -- 
resuming normal operations
[Mon Nov 30 15:57:50 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 15:57:53 2009] [notice] Apache/2.2.9 (Debian) configured -- 
resuming normal operations
[Mon Nov 30 16:00:45 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 16:00:49 2009] [notice] Apache/2.2.9 (Debian) configured -- 
resuming normal operations
[Mon Nov 30 16:08:53 2009] [error] [client 200.133.192.22] File does not 
exist: /opt/rt3/share/html/rt
[Mon Nov 30 16:17:11 2009] [error] [client 200.133.192.22] File does not 
exist: /opt/rt3/share/html/rt
[Mon Nov 30 16:17:58 2009] [notice] caught SIGTERM, shutting down
[Mon Nov 30 16:18:01 2009] [notice] Apache/2.2.9 (Debian) configured -- 
resuming normal operations
[Mon Nov 30 17:14:46 2009] [error] [client 200.133.192.22] File does not 
exist: /opt/rt3/share/html/opt
[Mon Nov 30 17:34:29 2009] [notice] caught SIGTERM, shutting down


Below is my /etc/apache2/sites-available/default file:

rtracker:/etc/apache2/sites-available# cat default
Listen 200.133.192.79:80
VirtualHost 200.133.192.79:80
ServerAdmin m...@pop-sp.rnp.br
ServerName www.pop-sp.rnp.br

#   DocumentRoot /opt/rt3/share/html
Alias /rt /opt/rt3/share/html/
#   PerlModule Apache::DBI
#   PerlRequire /opt/rt3/bin/webmux.pl
Directory /opt/rt3/share/html/
AllowOverride All
Options execCGI FollowSymLinks
IfModule mod_access.c
Order allow,deny
Allow from all
/IfModule
/Directory
DocumentRoot /var/www/
Location /rt
RewriteEngine On
RedirectMatch permanent (.*)/$ $1/index.html
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
/Location
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
Directory /var/www/
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
/Directory

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Directory /usr/lib/cgi-bin
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
/Directory

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined

Alias /doc/ /usr/share/doc/
Directory /usr/share/doc/
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
/Directory

/VirtualHost

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] How should I create a db in mysql?

2009-11-30 Thread Wagner Pereira
This is all covered in the README
You need to configure apache

-kevin

Kevin,

Is this README file in /opt/rt3/share/doc path?

-- 

Wagner Pereira

PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
f...@rnp 1015-8902



Kevin Falcone escreveu:
 On Mon, Nov 30, 2009 at 05:43:20PM -0200, Wagner Pereira wrote:
   
 Hi, Kevin.

 Could you help me?

 RT: Request Tracker
 You're almost there!

 You haven't yet configured your webserver to run RT.

 You appear to have installed RT's web interface correctly, but haven't 
 yet configured your web server to run the RT server which powers the 
 web interface.

 The next step is to edit your webserver's configuration file to instruct 
 it to use RT's mod_perl , fastcgi or speedycgi handler.
 

 This is all covered in the README
 You need to configure apache

 -kevin

   
 -- 

 Wagner Pereira

 PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
 CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
 http://www.pop-sp.rnp.br
 f...@rnp 1015-8902



 Kevin Falcone escreveu:
 
 On Mon, Nov 30, 2009 at 12:26:45PM -0200, Wagner Pereira wrote:
   
   
 Hi, folks.

 My scenario is:
 Debian 5.0 lenny x86_64
 Request Tracker 3.6
 Mysql 5.0

 This is my first time here and I need some help:

 I don't know to create a mysql database, since as I observed, there is 
 no database created.
 
 
 I suspect you want the 'make initdb' command
   
 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
   
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

 
 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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