[rt-users] $ResolveDefaultUpdateType in 4.0.6

2012-05-25 Thread Max McGrath
Hi All -

Just upgraded to 4.0.6.  I'm trying to change the  *
$ResolveDefaultUpdateType* as I had it in 3.8.8.

I've put the following into my RT_SiteConfig.pm but the DefaultUpdateType
for *resolve* is still set to *Comments* in the WebUI.

 default = {
actions = [
'new - open' = { label = 'Open it', update = 'Respond'
},
'new - resolved' = { label = 'Resolve', update = 'Respond'
},
'new - rejected' = { label = 'Reject',  update = 'Respond'
},
'new - deleted'  = { label = 'Delete' },

'open - stalled'  = { label = 'Stall',   update = 'Comment'
},
'open - resolved' = { label = 'Resolve', update = 'Respond'
},
'open - rejected' = { label = 'Reject',  update = 'Respond'
},

'stalled - open'  = { label = 'Open it' },
'resolved - open' = { label = 'Re-open', update = 'Comment'
},
'rejected - open' = { label = 'Re-open', update = 'Comment'
},
'deleted - open'  = { label = 'Undelete' },
],
},

Again, my main goal is to have the update type be *respond *when *resolving
*a ticket.  I've already followed the instructions here (
http://requesttracker.wikia.com/wiki/CustomStatusesInRt4), but my custom
update types don't seem to be getting set.

Am I missing something?
--
Max McGrath
Network Administrator
Carthage College
262-552-5512
mmcgr...@carthage.edu


[rt-users] Workflow on rt4

2012-05-25 Thread Andrew Marosi
Has anybody found any good doc's on doing workflows on RT4..?  I can't seem to 
find anything geared towards 4.0.X
Thanks,
-Andy



[rt-users] Another email problem with 3.8.12

2012-05-25 Thread Kim B. Heino
Hello,

I tried to run 3.8.12 with b7a5a53 patch on RHEL5 system. Outgoing
emails work, but incoming doesn't. I see this on my maillog:

May 25 11:40:15 hostname postfix/local[13235]: 8D0CE137D68:
to=my.rt@email.address, relay=local, delay=0.6, delays=0.01/0/0/0.58,
dsn=4.3.0, status=deferred (temporary failure. Command output: An Error
Occurred =  500 Server closed connection without
sending any data back )

And this on my syslog:

May 25 11:40:14 hostname RT: rt-3.8.12...@email.address #4242/34054 -
Scrip 3 On Create Autoreply To Requestors
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:302)

May 25 11:40:15 hostname RT: rt-3.8.12...@email.address sent  To:
u...@domain.com
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:333)

May 25 11:40:15 hostname RT: rt-3.8.12...@email.address - Scrip 4 On
Create Notify AdminCcs
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:302)

May 25 11:40:15 hostname RT: Undefined value assigned to typeglob
at /usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Email.pm line 459.
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Interface/Email.pm:459)

May 25 11:40:15 hostname RT: rt-3.8.12...@email.address sent  Bcc:
adm...@domain.com, adm...@domain.com, ...
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:333)

May 25 11:40:15 hostname RT: Ticket 4242 created in queue 'queuename'
by u...@domain.com
(/usr/lib/perl5/vendor_perl/5.8.8/RT/Ticket_Overlay.pm:671)

May 25 11:40:15 hostname RT: Apache2::RequestIO::rflush: (103) Software
caused connection abort
at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line
1020 (/usr/sbin/webmux.pl:115)


So, RT creates a new ticket and sends outgoing emails, but doesn't
return OK to rt-mailgate. Postfix thinks that the mail failed and
retries it 10 minutes later. And again, creating multiple new tickets.
Apache's errorlog is empty.

Line 459 in Email.pm is the line added by b7a5a53:

local *STDIN = IO::Handle-new_from_fd( 0, r );

What am I missing?


Re: [rt-users] Another email problem with 3.8.12

2012-05-25 Thread Alex Vandiver
On Fri, 2012-05-25 at 18:31 +0300, Kim B. Heino wrote:
 I tried to run 3.8.12 with b7a5a53 patch on RHEL5 system. Outgoing
 emails work, but incoming doesn't. I see this on my maillog:

Please show us your Apache and RT configuration, with passwords redacted
as necessary.
 - Alex



Re: [rt-users] Another email problem with 3.8.12

2012-05-25 Thread Thomas Sibley
On 05/25/2012 11:31 AM, Kim B. Heino wrote:
 I tried to run 3.8.12 with b7a5a53 patch on RHEL5 system. Outgoing
 emails work, but incoming doesn't. I see this on my maillog:
 
 May 25 11:40:15 hostname postfix/local[13235]: 8D0CE137D68:
 to=my.rt@email.address, relay=local, delay=0.6, delays=0.01/0/0/0.58,
 dsn=4.3.0, status=deferred (temporary failure. Command output: An Error
 Occurred =  500 Server closed connection without
 sending any data back )

Can you try running rt-mailgate by hand with the added --debug flag and
piping in a test email?  It may output a little more verbosely than the
error postfix recorded above.

rt-mailgate --debug --action correspond --queue XXX --url http://XXX 
testmail


[rt-users] Timestamps not correct in RT 4.0.6

2012-05-25 Thread Max McGrath
Hi All -

All the timestamps on my tickets are about 5 hours ahead of the current
time.  The time on the actual Ubuntu server is correct.  Where would RT be
pulling in a different time?
--
Max McGrath
Network Administrator
Carthage College
262-552-5512
mmcgr...@carthage.edu


Re: [rt-users] Timestamps not correct in RT 4.0.6

2012-05-25 Thread Stephen J Alexander
It'll use UTC by default, I think, unless you set the time zone in your
etc/RT_SiteConfig.pm

My setting looks like this:

Set( $Timezone, 'US/Eastern' );

This is documented in the etc/SiteConfig.pm

Regards,

Stephen J Alexander
MPBX, LLC
http://mpbx.com
832-713-6729


On Fri, May 25, 2012 at 4:23 PM, Max McGrath mmcgr...@carthage.edu wrote:

 Hi All -

 All the timestamps on my tickets are about 5 hours ahead of the current
 time.  The time on the actual Ubuntu server is correct.  Where would RT be
 pulling in a different time?
 --
 Max McGrath
 Network Administrator
 Carthage College
 262-552-5512
 mmcgr...@carthage.edu



Re: [rt-users] Timestamps not correct in RT 4.0.6

2012-05-25 Thread Max McGrath
Yup...saw that right after i sent the message.  My RT_SiteConfig had CDT in
it but it wasn't working.  had to change it to US\Central.

---
Max McGrath
mmcgr...@carthage.edu

Sent from my Droid
On May 25, 2012 4:38 PM, Stephen J Alexander sjalexan...@mpbx.com wrote:

 It'll use UTC by default, I think, unless you set the time zone in your
 etc/RT_SiteConfig.pm

 My setting looks like this:

 Set( $Timezone, 'US/Eastern' );

 This is documented in the etc/SiteConfig.pm

 Regards,

 Stephen J Alexander
 MPBX, LLC
 http://mpbx.com
 832-713-6729


 On Fri, May 25, 2012 at 4:23 PM, Max McGrath mmcgr...@carthage.eduwrote:

 Hi All -

 All the timestamps on my tickets are about 5 hours ahead of the current
 time.  The time on the actual Ubuntu server is correct.  Where would RT be
 pulling in a different time?
 --
 Max McGrath
 Network Administrator
 Carthage College
 262-552-5512
 mmcgr...@carthage.edu





Re: [rt-users] Another email problem with 3.8.12

2012-05-25 Thread Alex Vandiver
On Fri, 2012-05-25 at 18:31 +0300, Kim B. Heino wrote:
 I tried to run 3.8.12 with b7a5a53 patch on RHEL5 system. Outgoing
 emails work, but incoming doesn't. I see this on my maillog:

Please try applying 38093f9:

  curl https://github.com/bestpractical/rt/commit/38093f9.patch |
patch -p1 -d /opt/rt3

Then restart Apache (a full stop+start will likely be necessary) and
report back if that resolves your issue.  Regardless, I'd also be
curious to know what version of mod_perl you're running (check your
error logs on Apache startup), and the output of `apache2 -V`

 - Alex