[rt-users] Date::Parse issue causing auth cookies to expire - constant login request.
Hi, I'm having trouble with a fresh install of Request Tracker 3.6.3 on a Gentoo system. The install seems to be all up and running using FastCGI (Not FCGID) and accepts the inital login of the root user. However the instant you try and click anything from the menus it immediatly drops you back to the login box. Once re-authenticated you reach your desination but every click results in a login box first. As I understand it the inbuilt authentication system is cookie based and have discovered this problem in a log file: Jan 15 21:01:17 hostname RT: Successful login for root from 192.168.1.2 (/opt/rt3/share/html/autohandler:256) Jan 15 21:01:17 hostname RT: RT::Date used date::parse to make 1970-01-01 -28800 So, from what I'm gathering the cookies are being set with a date way in the past resulting in every click checking the cookie to see if its still valid, finding an expiry date way in the past and requiring a new cookie to be set through authentication. So I think the problem is either in RT::Date or date::parse. Timezones are configured on the host system and in RT's own configuration files. I have recompiled/checked the latest version of date::parse from TimeDate-1.16.tar.gz and checked both site_perl and vendor_perl Date modules matched. Does anyone have any ideas on how I can get this working. Is there a glitch in the latest version of this module that I am unaware of? Thanks for any assistance you can offer. Russ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] PGP signed attachments being 'broken'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using RT to manage support for an academic department of 60 staff. Many staff use PGP/MIME to sign their email[1], which is great. Unfortunately, mail which passes through RT and is PGP/MIME signed is 'broken': - - The signature is identified as a normal attachment, as far as I can see, and is added to the 'Attachments' section of the ticket display: this is unhelpful, since if a ticket consists of many email messages and replies, there will be many signatures appearing here; - - The outgoing mail, which was originally signed in the MUA, includes the signature as an attachment (signature.asc), but the Content headers (or MIME information) is modified (as compared to the original message) meaning that the email arriving at its destination is no longer a valid PGP/MIME message. Anyone have any hints or ideas about how to handle this? [I can supply example messages and headers if required, but I won't clutter the list with them unless they're really needed: my suspicion is that this is a not uncommon problem, although I haven't found any helpful discussion in the archives about it.] Cheers, Dave. [1] Typically using Mozilla Thunderbird or Mutt - -- Dave Ewart [EMAIL PROTECTED] Computing Manager, Cancer Epidemiology Unit Cancer Research UK / Oxford University PGP: CC70 1883 BD92 E665 B840 118B 6E94 2CFD 694D E370 Get key from http://www.ceu.ox.ac.uk/~davee/davee-ceu-ox-ac-uk.asc N 51.7518, W 1.2016 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFFq4M9bpQs/WlN43ARAtOTAJ9WcrTctlWmERMPeF3SKsAXaCQsfgCeN9q6 ux679K92WmCnDAaNPpRUiEw= =t7hM -END PGP SIGNATURE- ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
RE: [rt-users] Notify Requestor on Requestor change
Thanks Taan, Now for my ignorant question...the code below is to Notify AdminCC's when they get added to a ticket...what would I need to change to make it work to notify Requestors? Sorry if its a dumb question. Thanks Helmuth -Original Message- From: Taan Lindemans [mailto:[EMAIL PROTECTED] Sent: Sunday, January 14, 2007 9:53 PM To: rt-users@lists.bestpractical.com Cc: Helmuth Ramirez Subject: Re: [rt-users] Notify Requestor on Requestor change You would need a Custom Action as well to send a message to the new Requestor only. I was wrong, you need the Custom Condition mentioned earlier, with action: Notify Other Recipients and a Custom Template with something similar to that below. This works with RT-3.6.0. Note: This only works for AdminCc's added after the ticket was created. Custom Template Notify new AdminCC: To: { my $userID = $Transaction-NewValue; my $user = RT::User-new($RT::SystemUser); $user-Load($userID); $user-EmailAddress; } Subject: AdminCc Added for: {$Ticket-Subject} The body of your email here. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Re: Re: Disabling autoreplies for just one queue
I do this all the time. Disabling a response or changing a response for a specific queue. You simply have to assign a specific autoreply for each queue and then you can change or modify or disable them as you wish. If you do not know how to do this let me know and I can help On 1/13/07, Paul Johnson [EMAIL PROTECTED] wrote: Vivek Khera wrote: On Dec 27, 2006, at 2:49 PM, Paul Johnson wrote: Rick Russell wrote: You have to replace the default autoreply scrip with a new scrip with a custom condition like so: OK, I think I follow now. I take it I was correct in thinking that scrips can only be set universally and not overridden on a per-queue basis? Disable the global scrip, and add an auto-reply per queue for the queues which need it. Is this documented in a straightforward manner somewhere? I seem to be getting hung up on this. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Link problem in ticket's I own after hostname changed
Have you updated the database schema? What is the value of the $rtname in the old and new RT_Siteconfig files? James Moseley Ing. Tomas Valenta [EMAIL PROTECTED] To ustica.czrt-users@lists.bestpractical.com Sent by: cc rt-users-bounces@ lists.bestpractic Subject al.com[rt-users] Link problem in ticket's I own after hostname changed 01/15/2007 03:19 PM Hello, I installed RT 3.6.1 on Debain from a package, configured and imported data from old 3.4 database on testing machine with some hostname. Then when everything was OK I changed the testing machine hostname to replace the production machine and ... on Homepage in section X highest priority ticket's I own the hyperlink from task number goes to the right ticket but the ticket subject goes to adress containing the old hostname, whis no longer exist. Can anyone help me please? There is not a single entry of the old hostname in config files (not even in whole /etc) and same for the source code. I also checked the database and I can't find any obvious traces of old hostname. I am not able to debud the sources so well to trace the problem :-/ Thank's for any help. -- Ing. Tomáš Valenta www.Trustica.cz ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] mailgate not working
Hello, I'm in the process of installing rt-3.6.3, using apache-2.2.4 (w/ fastcgi), mysql-5.0.24, perl-5.8.8, using solaris and sendmail. Following the install README, I've gotten to a point where I am able to access the webrt interface, and have created a queue, and granted access to the everyone group to create a ticket. I've also created email aliases, but run into some problems when sending email to create a ticket: ---snip--- # cat /etc/mail/test | sendmail -v -t -oi rt... Connecting to [127.0.0.1] via relay... 220 localhost ESMTP Sendmail 8.13.7+Sun/8.13.7; Mon, 15 Jan 2007 16:32:48 -0500 (EST) EHLO localhost 250-localhost Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP VERB 250 2.0.0 Verbose mode MAIL From:[EMAIL PROTECTED] SIZE=136 250 2.1.0 [EMAIL PROTECTED]... Sender ok RCPT To:[EMAIL PROTECTED] DATA 050 [EMAIL PROTECTED]... aliased to |/opt/local/rt-3.6.3/bin/rt-mailgate --queue rt --action correspond --url https://localhost; 250 2.1.5 [EMAIL PROTECTED]... Recipient ok 354 Enter mail, end with . on a line by itself . 050 |/opt/local/rt-3.6.3/bin/rt-mailgate --queue rt --action correspond --url localhost... Connecting to prog... 050 |/opt/local/rt-3.6.3/bin/rt-mailgate --queue rt --action correspond --url localhost... Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL 250 2.0.0 l0FLWm4S015447 Message accepted for delivery rt... Sent (l0FLWm4S015447 Message accepted for delivery) Closing connection to [127.0.0.1] QUIT 221 2.0.0 localhost closing connection ---snip--- /var/spool/mqueue (1 request) -Q-ID- --Size-- -Q-Time- Sender/Recipient--- l0FLWm4S015447 55 Mon Jan 15 16:32 [EMAIL PROTECTED] (Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL) |/opt/local/rt-3.6.3/bin/rt-mailgate Total requests: 1 ---snip--- (command line test test) # echo test | /etc/rt-mailgate --debug --action correspond --queue rt --url https://localhost Connecting to https://localhost/REST/1.0/NoAuth/mail-gateway at /etc/rt-mailgate line 100, line 1. An Error Occurred = 500 Can't connect to localhost:443 () This is /etc/rt-mailgate exiting because of an undefined server error at /etc/rt-mailgate line 148, line 1. ---snip--- (browser checking above link) https://localhost/REST/1.0/NoAuth/mail-gateway not ok - Could not load a valid user ---snip--- I'm not exactly sure where to be looking for my problem. I would really appreciate it if I can get some suggestions on where to look for this problem. I'm guessing it is either something misconfigured in rt or maybe in apache ssl.conf? So far, I can't seem to narrow it down much more. Thanks!! ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Link problem in ticket's I own after hostname changed
Have you manually checked the database to see if the tables were updated with updates contained in the script? Also, check the httpd configs. Actually, I think the problem is that after you made the change on the test server, you didn't clear out the mason cache. Perform: rm -fr rt dir/var/mason_data/obj and then restart your httpd daemon (probably Apache). See if that clears up your problem. James Moseley Ing. Tomas Valenta [EMAIL PROTECTED] To ustica.cz[EMAIL PROTECTED] cc 01/15/2007 03:33 PMSubject Re: [rt-users] Link problem in ticket's I own after hostname changed On Mon, 15 Jan 2007 22:22:25 +0100, [EMAIL PROTECTED] wrote: Have you updated the database schema? What is the value of the $rtname in the old and new RT_Siteconfig files? Hello, according to docs, I used this after importing the old database: --- for x in /etc/request-tracker3.6/upgrade/*; do \ for y in schema acl insert; do \ /usr/sbin/rt-setup-database-3.6 --action $y --datadir $x \ --dba rtuser --dba-password wibble; \ done;\ done; --- I tried to run this again now, and no change. Value of $rtname is the same as the DNS hostname for my computer - helpdesk. It was on old instalation as well as now on new. WebPath and WebBaseURL is the same as before. Both instances are running on debian on virtual Xen host. I'm quite confused. ICQ: 18270020 Jabber: [EMAIL PROTECTED] -- Ing. Tomáš Valenta www.Trustica.cz ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Link problem in ticket's I own after hostname changed
Thanks to James Moseley and some further research I solve the problem. The DB upgrade process created some predefined searches accoding to /etc/request-tracker3.6/upgrade/3.5.1/content recipy. This was done when I update the DB with the old hostname. To repair my problem I deleted Search - My Ticket, Search - Unowned Tickets and HomepageSetting and run the 3.5.1 upgrade recipy again. Now everythink is OK. -- Ing. Tomáš Valenta www.Trustica.cz ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Notify Requestor on Requestor change
Helmuth Ramirez wrote: Thanks Taan, Now for my ignorant question...the code below is to Notify AdminCC's when they get added to a ticket...what would I need to change to make it work to notify Requestors? Sorry if its a dumb question. Thanks Helmuth change the Custom Condition from $watcherType eq 'AdminCc' to $watcherType eq 'Requestor' I haven't tested this but I think it should work. Taan ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Link problem in ticket's I own after hostname changed
You are welcome. Whenever upgrading or making changes to the config, you need to clear out the mason cache and restart the web service. This process is documented in the README and other docs. James Moseley Ing. Tomas Valenta [EMAIL PROTECTED] To ustica.czrt-users@lists.bestpractical.com Sent by: cc rt-users-bounces@ lists.bestpractic Subject al.comRe: [rt-users] Link problem in ticket's I own after hostname changed 01/15/2007 05:06 PM Thanks to James Moseley and some further research I solve the problem. The DB upgrade process created some predefined searches accoding to /etc/request-tracker3.6/upgrade/3.5.1/content recipy. This was done when I update the DB with the old hostname. To repair my problem I deleted Search - My Ticket, Search - Unowned Tickets and HomepageSetting and run the 3.5.1 upgrade recipy again. Now everythink is OK. -- Ing. Tomáš Valenta www.Trustica.cz ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] question about searching
I have a question about searching/query builder. I am wanting to setup multiple queues for example queueA queueB queueC and i want users userA1,userA2 to only have access to queueA userB1, userB2 to queueB userC1, userC2 to queueC etc I am wanting to know if userA1 create a query to search would it search queueA only or would it search the other queues as well ? is there a way to only limit it the queue that they have access to ? Thanks for your reply ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [EMAIL PROTECTED] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com