[rt-users] Memory leak in RT Crontool?

2007-11-09 Thread Ham MI-ID, Torsten Brumm
Hi RT Users,

Since yesterday i have a very strange behavior on my RT. I have a cron
script starting rt-crontool every 5 minutes.

/opt/rt3ast/bin/rt-crontool 
--search RT::Search::FromSQL 
--search-arg Status='stalled' AND Queue='GAI_BreakBulk' AND (
'CF.{CIEL-STATUS}' = '1300' OR 'CF.{CIEL-STATUS}' = '1400' ) 
--action RT::Action::AutoNew 
--action-arg new

Inside this Queue are round about 130 tickets. 

After few hours the system slows down until it crashes with this error
inside the messages:

Nov  9 11:24:19 lxfrabort01 kernel: printk: 2731 messages suppressed.
Nov  9 11:24:19 lxfrabort01 kernel: rt-crontool invoked oom-killer:
gfp_mask=0x201d2, order=0, oomkilladj=0
Nov  9 11:24:19 lxfrabort01 kernel:  [c0452c32]
out_of_memory+0x3b/0x179
Nov  9 11:24:19 lxfrabort01 kernel:  [c0454065]
__alloc_pages+0x1fe/0x27e
Nov  9 11:24:19 lxfrabort01 kernel:  [c04552af]
__do_page_cache_readahead+0xc4/0x1c6
Nov  9 11:24:19 lxfrabort01 kernel:  [c044f991] sync_page+0x0/0x3b
Nov  9 11:24:19 lxfrabort01 kernel:  [c044c6f5]
__delayacct_blkio_end+0x32/0x35
Nov  9 11:24:19 lxfrabort01 kernel:  [c05fb55c]
__wait_on_bit_lock+0x4b/0x52
Nov  9 11:24:19 lxfrabort01 kernel:  [f8926b96]
dm_any_congested+0x2f/0x35 [dm_mod]
Nov  9 11:24:19 lxfrabort01 kernel:  [c0452268]
filemap_nopage+0x151/0x315
Nov  9 11:24:19 lxfrabort01 kernel:  [c045a8c2]
__handle_mm_fault+0x172/0x87b
Nov  9 11:24:19 lxfrabort01 kernel:  [c05fad89] schedule+0x90d/0x9ba
Nov  9 11:24:19 lxfrabort01 kernel:  [c042d63f]
do_sigaction+0x117/0x156
Nov  9 11:25:25 lxfrabort01 kernel:  [c05fd55f]
do_page_fault+0x20a/0x4b8
Nov  9 11:25:25 lxfrabort01 kernel:  [c05fd355]
do_page_fault+0x0/0x4b8
Nov  9 11:25:25 lxfrabort01 kernel:  [c0404a71] error_code+0x39/0x40
Nov  9 11:25:25 lxfrabort01 kernel:  ===
Nov  9 11:25:25 lxfrabort01 kernel: Mem-info:
Nov  9 11:25:25 lxfrabort01 kernel: DMA per-cpu:
Nov  9 11:25:25 lxfrabort01 kernel: cpu 0 hot: high 0, batch 1 used:0
Nov  9 11:25:25 lxfrabort01 kernel: cpu 0 cold: high 0, batch 1 used:0
Nov  9 11:25:25 lxfrabort01 kernel: DMA32 per-cpu: empty
Nov  9 11:25:25 lxfrabort01 kernel: Normal per-cpu:
Nov  9 11:25:25 lxfrabort01 kernel: cpu 0 hot: high 186, batch 31
used:27
Nov  9 11:25:25 lxfrabort01 kernel: cpu 0 cold: high 62, batch 15
used:44
Nov  9 11:25:25 lxfrabort01 kernel: HighMem per-cpu:
Nov  9 11:25:25 lxfrabort01 kernel: cpu 0 hot: high 186, batch 31
used:14
Nov  9 11:25:25 lxfrabort01 kernel: cpu 0 cold: high 62, batch 15
used:11
Nov  9 11:25:25 lxfrabort01 kernel: Free pages:  111660kB (1596kB
HighMem)
Nov  9 11:25:25 lxfrabort01 kernel: Active:470936 inactive:469165
dirty:0 writeback:0 unstable:0 free:27915 slab:1793 mapped:91
pagetables:2289
Nov  9 11:25:25 lxfrabort01 kernel: DMA free:12340kB min:68kB low:84kB
high:100kB active:0kB inactive:0kB present:16384kB pages_scanned:0
all_unreclaimable? yes
Nov  9 11:25:25 lxfrabort01 kernel: lowmem_reserve[]: 0 0 880 3824
Nov  9 11:25:25 lxfrabort01 kernel: DMA32 free:0kB min:0kB low:0kB
high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0
all_unreclaimable? no
Nov  9 11:25:25 lxfrabort01 kernel: lowmem_reserve[]: 0 0 880 3824
Nov  9 11:25:25 lxfrabort01 kernel: Normal free:97724kB min:3756kB
low:4692kB high:5632kB active:382784kB inactive:377384kB
present:901120kB pages_scanned:1268501 all_unreclaimable? yes
Nov  9 11:25:25 lxfrabort01 kernel: lowmem_reserve[]: 0 0 0 23552
Nov  9 11:25:25 lxfrabort01 kernel: HighMem free:1596kB min:512kB
low:3656kB high:6800kB active:1500960kB inactive:1499276kB
present:3014656kB pages_scanned:4695953 all_unreclaimable? yes
Nov  9 11:25:25 lxfrabort01 kernel: lowmem_reserve[]: 0 0 0 0
Nov  9 11:25:25 lxfrabort01 kernel: DMA: 3*4kB 5*8kB 4*16kB 2*32kB
4*64kB 3*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 2*4096kB = 12340kB
Nov  9 11:25:25 lxfrabort01 kernel: DMA32: empty
Nov  9 11:25:25 lxfrabort01 kernel: Normal: 1*4kB 1*8kB 1*16kB 1*32kB
0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 23*4096kB = 97724kB
Nov  9 11:25:25 lxfrabort01 kernel: HighMem: 271*4kB 16*8kB 0*16kB
0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB =
1596kB
Nov  9 11:25:25 lxfrabort01 kernel: Swap cache: add 3707117, delete
3707077, find 546011/727786, race 0+20
Nov  9 11:25:25 lxfrabort01 kernel: Free swap  = 0kB
Nov  9 11:25:25 lxfrabort01 kernel: Total swap = 2031608kB
Nov  9 11:25:25 lxfrabort01 kernel: Free swap:0kB
Nov  9 11:25:25 lxfrabort01 kernel: 983040 pages of RAM
Nov  9 11:25:25 lxfrabort01 kernel: 753664 pages of HIGHMEM
Nov  9 11:25:25 lxfrabort01 kernel: 9002 reserved pages
Nov  9 11:25:25 lxfrabort01 kernel: 1520 pages shared
Nov  9 11:25:25 lxfrabort01 kernel: 40 pages swap cached
Nov  9 11:25:25 lxfrabort01 kernel: 0 pages dirty
Nov  9 11:25:25 lxfrabort01 kernel: 0 pages writeback
Nov  9 11:25:25 lxfrabort01 kernel: 91 pages mapped
Nov  9 11:25:25 lxfrabort01 kernel: 1793 pages slab
Nov  9 11:25:25 lxfrabort01 kernel: 2289 pages pagetables

What i googled so far is, that the oom_killer 

[rt-users] Re: Message/RFC822 CCs in templates? [FAM-RT #828]

2007-11-09 Thread Andreas Schamanek

Hi all,

I haven't received any answer yet, so, please allow me to ask once 
again: 
Is there really no way to access message headers from within a 
template? I just can't believe I guess :/

Cheerio,
-- Andreas

On Tue, 6 Nov 2007, Andreas Schamanek wrote:

 I am still looking for a way to reference a message's CC: header 
 within templates. How can this be done?
 (...)
 The problem is of course that the CC header does not show up in 
 outgoing messages. But I could live with this if I could reference the 
 CCs in templates.
 
 Any help is much welcome.

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] handling bounce messages - rtbouncehandler?

2007-11-09 Thread Patterson, Craig
Geoff,

We had a similar issue with Out of Office reply's from Outlook.  What we
did, quite simply, was to create a rule in Outlook that automatically
marked those messages as read, which caused the program we used to fetch
the mail to ignore those emails.  Seems like you could do something
similar depending on how you handle your email.

Craig

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff
Roberts
Sent: Thursday, November 08, 2007 10:53 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] handling bounce messages - rtbouncehandler?

Hi,

I have the issues listed below, and searching through the Wiki and
archives it 
seems my problem may best be handled by rtbouncehandler. Could someone
who 
has used rtbouncehandler see if my assumption is correct please?

The other problem is I can't seem to find any link on the Wiki to
download 
rtbouncehandler: http://wiki.bestpractical.com/view/RtBounceHandler

I also haven't found it in the mail list archives as an attachment.

My problems are twofold:

a) every now and then one of our support personnel will travel.
Inevitably 
their inbox will fill up. We then get a string of new tickets created in
our 
support queue under the following scenario.

Since these users are Watchers, admins or CCs on various tickets emails
get 
sent to the user when there is a change/update to the ticket. These
emails 
then get bounced with a mailbox full message from the mail server - in
turn 
the bounce message creates a new ticket, which in turn creates a new
bounce 
message in a never ending and escalating loop.

b) The usual odd spam that makes it past the spam filter and gets
bounced with 
an incorrect delivery address.

Will rtbouncehandler help and if so, where can I download a copy? If not
are 
there any other suggestions to fix the issue?

Kind regards,

Geoff

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll
take
up to 20 percent off the price. This sale won't last long, so get in
touch today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] handling bounce messages - rtbouncehandler?

2007-11-09 Thread Matt Westfall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This may seem like an obvious solution... but

1) Increase the size of your mailboxes.  Storage is ridiculously cheap
now adays.

2) If you are unable to increase the size of your mailboxes, tell your
support staff to properly manage their mailboxes and clear some space
before they leave the office for days on end.



Patterson, Craig wrote:
 Geoff,
 
 We had a similar issue with Out of Office reply's from Outlook.  What we
 did, quite simply, was to create a rule in Outlook that automatically
 marked those messages as read, which caused the program we used to fetch
 the mail to ignore those emails.  Seems like you could do something
 similar depending on how you handle your email.
 
 Craig
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Geoff
 Roberts
 Sent: Thursday, November 08, 2007 10:53 PM
 To: rt-users@lists.bestpractical.com
 Subject: [rt-users] handling bounce messages - rtbouncehandler?
 
 Hi,
 
 I have the issues listed below, and searching through the Wiki and
 archives it 
 seems my problem may best be handled by rtbouncehandler. Could someone
 who 
 has used rtbouncehandler see if my assumption is correct please?
 
 The other problem is I can't seem to find any link on the Wiki to
 download 
 rtbouncehandler: http://wiki.bestpractical.com/view/RtBounceHandler
 
 I also haven't found it in the mail list archives as an attachment.
 
 My problems are twofold:
 
 a) every now and then one of our support personnel will travel.
 Inevitably 
 their inbox will fill up. We then get a string of new tickets created in
 our 
 support queue under the following scenario.
 
 Since these users are Watchers, admins or CCs on various tickets emails
 get 
 sent to the user when there is a change/update to the ticket. These
 emails 
 then get bounced with a mailbox full message from the mail server - in
 turn 
 the bounce message creates a new ticket, which in turn creates a new
 bounce 
 message in a never ending and escalating loop.
 
 b) The usual odd spam that makes it past the spam filter and gets
 bounced with 
 an incorrect delivery address.
 
 Will rtbouncehandler help and if so, where can I download a copy? If not
 are 
 there any other suggestions to fix the issue?
 
 Kind regards,
 
 Geoff
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
 
 If you sign up for a new RT support contract before December 31, we'll
 take
 up to 20 percent off the price. This sale won't last long, so get in
 touch today. 
 Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
 
 
 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
 
 SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
 
 If you sign up for a new RT support contract before December 31, we'll take
 up to 20 percent off the price. This sale won't last long, so get in touch 
 today. 
 Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
 
 
 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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHNFrRb/8X6V5MpAURAicEAKCS3tRgBwmvR+58pFw4ZzmbLb5p7gCfWIXd
VuU2ULLnHWCgscdWHYGsCCM=
=ELmb
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

2007-11-09 Thread john

Hi,
Is there a way to adjust the ticket ID from being an sequential 
incrementing number to something different, like maybe a hash of the 
date/time created or something similar? I'd prefer it to be a constant 
length.


Cheers,

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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] Problem in Configuration

2007-11-09 Thread Karen Trujillo Quintanilla

Hello
 When tickets is closed or resolved and sending a (rt-comment..) by
example a : Thanks..!!, the tickets is again open and I affect to
statistics.

I have the configuration RT_SiteConfig.pm

Set ($CorrespondAddress, '[EMAIL PROTECTED]');
Set ($CommentAddress, '[EMAIL PROTECTED]');

This is bad  ??

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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

2007-11-09 Thread Matt Westfall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Could you set the mysql field to pad it with 0s?

john wrote:
 Hi,
 Is there a way to adjust the ticket ID from being an sequential
 incrementing number to something different, like maybe a hash of the
 date/time created or something similar? I'd prefer it to be a constant
 length.
 
 Cheers,
 
 john
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
 
 If you sign up for a new RT support contract before December 31, we'll take
 up to 20 percent off the price. This sale won't last long, so get in
 touch today.Email us at [EMAIL PROTECTED] or call us at +1 617
 812 0745.
 
 
 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
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHNG4Mb/8X6V5MpAURAsVQAKCzM9kGpUCb8bfdR4g9wTENYKiQ6wCfbK4h
1nSVWZM9iUKKNDAVoBo3Y4c=
=sGDR
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] Problem in Configuration

2007-11-09 Thread Tim Wilson
 On Fri, Nov 9, 2007 at  7:41 AM, in message [EMAIL PROTECTED], Karen
Trujillo Quintanilla [EMAIL PROTECTED] wrote: 

   When tickets is closed or resolved and sending a (rt-comment..) by
 example a : Thanks..!!, the tickets is again open and I affect to
 statistics.

Karen,

If I understand you correctly, you're talking about the situation where a 
requester will reply to the ticket resolution message and reopen the ticket. 
Correct? If so, I'm afraid there's nothing you can do about it. We've added 
some text to our resolution message that lets people know that there's no need 
to reply unless the issue isn't actually resolved. It becomes a training issue 
for the users who need to be made to understand that they don't need to say 
thanks. If they want to express their thanks, encourage them to send cookies to 
the techs instead. :-)

-Tim


-- 
Tim Wilson, Director of Technology
Buffalo-Hanover-Montrose Schools
214 1st Ave NE   Buffalo, MN  55313
ph: 763.682.8740  fax: 763.682.8743  http://www.buffalo.k12.mn.us





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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] [Fwd: Create Ticket but only if Custom Field is...]

2007-11-09 Thread Matt Westfall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

OK The scrip is running, but it says there are syntax errors!!!

Nov  9 09:32:44 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1780) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:45 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1784) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:45 oakie RT:
[EMAIL PROTECTED] #159/2613 -
Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:45 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:48 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:412)
Nov  9 09:32:49 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:412)
Nov  9 09:32:50 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 2779) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:51 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 2783) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:55 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1816) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:56 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1820) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:56 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 8  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:56 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 9  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 18  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:58 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:58 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:59 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1870) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:59 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1874) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] #159/2616 -
Scrip 10  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] #159/2616 -
Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)

Todd Chapman wrote:
 So the scrip never fires?
 
 Try this:
 
 return 0 unless $self-TransactionObj-Type eq Resolved
 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~ /Yes/i;
 $RT::Logger-debug(Scrip running);
 1;
 
 See if that puts an entry in your logs.
 
 
 Now playing: Arctic Monkeys - The Bad Thing
 http://foxytunes.com/artist/arctic+monkeys/track/the+bad+thing
 
 On 11/7/07, Matt Westfall [EMAIL PROTECTED] wrote:
 OK For my scrip I have:
 
 Condition: User Defined
 Action: Create Tickets
 Template: Create-Followup
 Stage: Transaction Create
 
 User Condition is:
 
 return 0 unless $self-TransactionObj-Type eq Resolved
 
 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
 /Yes/i;
 
 1;
 
 My Template is:
 
 ===Create-Ticket: generate-followup
 Queue:  Customer Service
 Subject: Invoice: { $Tickets{'TOP'} - Subject() }
 Requestor: {$Tickets{'TOP'}-OwnerObj-EmailAddress() }
 RefersTo:  {$Tickets{'TOP'}-Id() }
 Content: A follow up was requested on this ticket.  Please refer to
 previous ticket for more information.
 ENDOFCONTENT
 
 And still no joy :( :(
 
 Todd Chapman wrote:
 
 Now playing: The Decemberists - Summersong
 http://foxytunes.com/artist/the+decemberists/track/summersong

 On 11/5/07, Matt Westfall [EMAIL PROTECTED] wrote:
 There are two TransactionObj there.  So would

 unless ( $self-TransactionObj-Type eq Resolved 
 $self-TransactionObj-Field == FIELD_ID )
{ return 0; }

 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
 /Yes/i;

 1;


 The first check would 1) ensure that the ticket is being resolved 
 That the CustomField is Set.

 Then if Followup is Yes, it would then return 1?

 What is the 

Re: [rt-users] [Fwd: Create Ticket but only if Custom Field is...]

2007-11-09 Thread Todd Chapman
Please re-post the whole scrip and template fresh.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] [Fwd: Create Ticket but only if Custom Field is...]

2007-11-09 Thread Huw Selley
Hi,

The syntax errror is a missing semicolon on the first line.

return 0 unless $self-TransactionObj-Type eq Resolved

Should be

return 0 unless $self-TransactionObj-Type eq Resolved;

Hope this helps.
Huw


On 9/11/07 2:34, Matt Westfall [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 OK The scrip is running, but it says there are syntax errors!!!
 
 Nov  9 09:32:44 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1780) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:45 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 1784) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:45 oakie RT:
 [EMAIL PROTECTED] #159/2613 -
 Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:45 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:48 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
 (/opt/rt3/lib/RT/I18N.pm:412)
 Nov  9 09:32:49 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
 (/opt/rt3/lib/RT/I18N.pm:412)
 Nov  9 09:32:50 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 2779) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:51 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 2783) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:55 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1816) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:56 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 1820) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:56 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 8  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:56 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 9  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 18  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:58 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:58 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:59 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1870) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:59 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 1874) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] #159/2616 -
 Scrip 10  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] #159/2616 -
 Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 
 Todd Chapman wrote:
 So the scrip never fires?
 
 Try this:
 
 return 0 unless $self-TransactionObj-Type eq Resolved
 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
 /Yes/i;
 $RT::Logger-debug(Scrip running);
 1;
 
 See if that puts an entry in your logs.
 
 
 Now playing: Arctic Monkeys - The Bad Thing
 http://foxytunes.com/artist/arctic+monkeys/track/the+bad+thing
 
 On 11/7/07, Matt Westfall [EMAIL PROTECTED] wrote:
 OK For my scrip I have:
 
 Condition: User Defined
 Action: Create Tickets
 Template: Create-Followup
 Stage: Transaction Create
 
 User Condition is:
 
 return 0 unless $self-TransactionObj-Type eq Resolved
 
 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
 /Yes/i;
 
 1;
 
 My Template is:
 
 ===Create-Ticket: generate-followup
 Queue:  Customer Service
 Subject: Invoice: { $Tickets{'TOP'} - Subject() }
 Requestor: {$Tickets{'TOP'}-OwnerObj-EmailAddress() }
 RefersTo:  {$Tickets{'TOP'}-Id() }
 Content: A follow up was requested on this ticket.  Please refer to
 previous ticket for more information.
 ENDOFCONTENT
 
 And still no joy :( :(
 
 Todd Chapman wrote:
 
 Now playing: The Decemberists - Summersong
 http://foxytunes.com/artist/the+decemberists/track/summersong
 
 On 11/5/07, Matt Westfall [EMAIL PROTECTED] wrote:
 There are two TransactionObj there.  So would
 
 unless ( 

Re: [rt-users] [Fwd: Create Ticket but only if Custom Field is...]

2007-11-09 Thread Matt Westfall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Scrip as last suggested:

return 0 unless $self-TransactionObj-Type eq Resolved
return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
/Yes/i;
$RT::Logger-debug(Scrip running);
1;

Template 

===Create-Ticket: generate-followup
Queue:  Customer Service
Subject: Invoice: { $Tickets{'TOP'} - Subject() }
Requestor: {$Tickets{'TOP'}-OwnerObj-EmailAddress() }
RefersTo:  {$Tickets{'TOP'}-Id() }
Content: A follow up was requested on this ticket.  Please refer to
previous ticket for more information.
ENDOFCONTENT


Errors --
Nov  9 09:32:44 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1780) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:45 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1784) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:45 oakie RT:
[EMAIL PROTECTED] #159/2613 -
Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:45 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:48 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:412)
Nov  9 09:32:49 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
(/opt/rt3/lib/RT/I18N.pm:412)
Nov  9 09:32:50 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 2779) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:51 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 2783) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:55 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1816) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:56 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1820) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:56 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 8  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:56 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 9  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 18  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:57 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:58 oakie RT:
[EMAIL PROTECTED] #159/2615 -
Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:32:58 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:32:59 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1870) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:32:59 oakie RT: Scrip 23 IsApplicable failed: syntax error at
(eval 1874) line 2, near Resolved return
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] #159/2616 -
Scrip 10  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] #159/2616 -
Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
Nov  9 09:33:00 oakie RT:
[EMAIL PROTECTED] No recipients
found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)

iD8DBQFHNHK8b/8X6V5MpAURAqQGAKCiYReUM5MdnWJSPEV+fLqB3Zug8wCbBKPf
qOG/OUDcFdoPsOalWVqquJw=
=BMtH
-END PGP SIGNATURE-
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] handling bounce messages - rtbouncehandler?

2007-11-09 Thread Geoff Roberts
Craig and Matt,

 This may seem like an obvious solution... but

 1) Increase the size of your mailboxes.  Storage is ridiculously cheap
 now adays.

 2) If you are unable to increase the size of your mailboxes, tell your
 support staff to properly manage their mailboxes and clear some space
 before they leave the office for days on end.

  We had a similar issue with Out of Office reply's from Outlook.  What we
  did, quite simply, was to create a rule in Outlook that automatically
  marked those messages as read, which caused the program we used to fetch
  the mail to ignore those emails.  Seems like you could do something
  similar depending on how you handle your email.

Thanks for the responses. These are good and valid suggestions. Nagging at the 
back of my mind though is the possibility that another set of circumstances 
may arise to cause a similar issue via a different mechanism.

As well as implementing your suggestions, I'd also like to fix the issue if 
possible technically whilst I can repeat the behaviour and test it. Since 
rtbouncehandler appears to look through the message for ticket numbers I'm 
guessing it may be the technical solution I'm looking for.

Can someone confirm this?

Kind regards,

Geoff

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] rt-mailgate and [EMAIL PROTECTED] with selfsigned certificate

2007-11-09 Thread Stephen Turner

At Thursday 11/8/2007 06:48 AM, Stefan Oeser - emendis GmbH wrote:

Hello,

  I ran into problems with setting up RT3 on https. I configured 
some Ticket-Transaction via Mail in RT3.
With http-Protocol, all things work fine, but rt-mailgate has some 
troubles with the httpS-Protocol. I always get
an Error: Connection refused. All needed modules (Crypt::SSLeay) 
are installed. Is it possible, that there are

some difficulties with the selfsigned certificate?

Using a browser to enter my RT3, I need to accept some Popup-Windows 
and accept the certificate manually,
perhaps, rt-mailgate doesn't accept the certificate automatically, 
which results in the mentioned error??


I would be very grateful for some help  :)
Best regards,
Stefan Oeser


Hello Stefan,

The way we've done this is to have apache listen on two ports for SSL 
connections. 443 requires certificates, 444 does not (i.e. 
username/password access). We use 444 for the mailgate connection.


Steve 


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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] e-mail address in use

2007-11-09 Thread Mariusz Stakowski
Hello list,

RT 3.6.1 with Sendmail  under Slackware 11.

Some time ago I have created a number of users without any problem. Today 
a new user tried to register a request. The request was refused which 
seems to be OK - there was no account for him. But when I tried to create 
an account for him,  I  got a message e-mail address in use. I have 
checked all the users created, but no one has that e-mail address. Then I 
tried to create an account for other user, who haven't tried to send a 
request yet, but again I was not able to do it. I've go the same message - 
 e-mail address in use.  Hown could I solve this problem ?

I would appreciate your help
 
Best regards

Mariusz



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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] [Fwd: Create Ticket but only if Custom Field is...]

2007-11-09 Thread Matt Westfall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well that fixed the syntax error: but now I get this:

Nov  9 10:31:48 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1949) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
Nov  9 10:31:51 oakie RT: Scrip 22 IsApplicable failed: Global symbol
$trans requires explicit package name at (eval 1691) line 1.
(/opt/rt3/lib/RT/Condition/UserDefined.pm:69)



Huw Selley wrote:
 Hi,
 
 The syntax errror is a missing semicolon on the first line.
 
 return 0 unless $self-TransactionObj-Type eq Resolved
 
 Should be
 
 return 0 unless $self-TransactionObj-Type eq Resolved;
 
 Hope this helps.
 Huw
 
 
 On 9/11/07 2:34, Matt Westfall [EMAIL PROTECTED] wrote:
 
 OK The scrip is running, but it says there are syntax errors!!!
 
 Nov  9 09:32:44 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1780) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:45 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 1784) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:45 oakie RT:
 [EMAIL PROTECTED] #159/2613 -
 Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:45 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:48 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
 (/opt/rt3/lib/RT/I18N.pm:412)
 Nov  9 09:32:49 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
 (/opt/rt3/lib/RT/I18N.pm:412)
 Nov  9 09:32:50 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 2779) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:51 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 2783) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:55 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1816) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:56 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 1820) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:56 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 8  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:56 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 9  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 18  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:57 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:58 oakie RT:
 [EMAIL PROTECTED] #159/2615 -
 Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:32:58 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:32:59 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1870) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:32:59 oakie RT: Scrip 23 IsApplicable failed: syntax error at
 (eval 1874) line 2, near Resolved return
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] #159/2616 -
 Scrip 10  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] #159/2616 -
 Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
 Nov  9 09:33:00 oakie RT:
 [EMAIL PROTECTED] No recipients
 found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 
 Todd Chapman wrote:
 So the scrip never fires?

 Try this:

 return 0 unless $self-TransactionObj-Type eq Resolved
 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
 /Yes/i;
 $RT::Logger-debug(Scrip running);
 1;

 See if that puts an entry in your logs.

 
 Now playing: Arctic Monkeys - The Bad Thing
 http://foxytunes.com/artist/arctic+monkeys/track/the+bad+thing

 On 11/7/07, Matt Westfall [EMAIL PROTECTED] wrote:
 OK For my scrip I have:

 Condition: User Defined
 Action: Create Tickets
 Template: Create-Followup
 Stage: Transaction Create

 User Condition is:

 return 0 unless $self-TransactionObj-Type eq Resolved

 return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
 /Yes/i;

 1;

 My Template is:

 ===Create-Ticket: generate-followup
 Queue:  Customer Service
 Subject: Invoice: { $Tickets{'TOP'} - Subject() }
 Requestor: {$Tickets{'TOP'}-OwnerObj-EmailAddress() }
 RefersTo:  

Re: [rt-users] Problem in Configuration

2007-11-09 Thread Drew Barnes
On the wiki, there should be a silent resolve or a resolve once
example.  The former allows you to resolve with no notification sent. 
The latter only sends the resolved notice on the first resolve.


Tim Wilson wrote:
 On Fri, Nov 9, 2007 at  7:41 AM, in message [EMAIL PROTECTED], Karen
 
 Trujillo Quintanilla [EMAIL PROTECTED] wrote: 

   
   When tickets is closed or resolved and sending a (rt-comment..) by
 example a : Thanks..!!, the tickets is again open and I affect to
 statistics.
 

 Karen,

 If I understand you correctly, you're talking about the situation where a 
 requester will reply to the ticket resolution message and reopen the ticket. 
 Correct? If so, I'm afraid there's nothing you can do about it. We've added 
 some text to our resolution message that lets people know that there's no 
 need to reply unless the issue isn't actually resolved. It becomes a training 
 issue for the users who need to be made to understand that they don't need to 
 say thanks. If they want to express their thanks, encourage them to send 
 cookies to the techs instead. :-)

 -Tim


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] e-mail address in use

2007-11-09 Thread James Moseley
When you search for users, make sure you check the inactive or disabled
users check box to include those users.


James Moseley




   
 Mariusz Stakowski 
 [EMAIL PROTECTED] 
 m.pl  To 
 Sent by:  rt-users@lists.bestpractical.com
 rt-users-bounces@  cc 
 lists.bestpractic 
 al.comSubject 
   [rt-users] e-mail address in use
   
 11/09/2007 08:34  
 AM
   
   
   





Hello list,

RT 3.6.1 with Sendmail  under Slackware 11.

Some time ago I have created a number of users without any problem. Today a
new user tried to register a request. The request was refused which seems
to be OK - there was no account for him. But when I tried to create an
account for him,  I  got a message e-mail address in use. I have checked
all the users created, but no one has that e-mail address. Then I tried to
create an account for other user, who haven't tried to send a request yet,
but again I was not able to do it. I've go the same message -  e-mail
address in use.  Hown could I solve this problem ?

I would appreciate your help

Best regards

Mariusz


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch
today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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


Odp: Re: [rt-users] e-mail address in use

2007-11-09 Thread Mariusz Stakowski
James,  - it was that ! The user tried to register 
a request and  RT has created an account for him as a watcher. Ad he he 
was not on the list of active users. Thank you very much.

Best regards

Mariusz







James Moseley [EMAIL PROTECTED]
Wysłane przez: [EMAIL PROTECTED]
2007-11-09 16:39
 
Do: Mariusz Stakowski [EMAIL PROTECTED]
DW: rt-users@lists.bestpractical.com, 
[EMAIL PROTECTED]
Temat:  Re: [rt-users] e-mail address in use

When you search for users, make sure you check the inactive or disabled
users check box to include those users.


James Moseley




 
 Mariusz Stakowski 
 [EMAIL PROTECTED] 
 m.pl  To 

 Sent by:  rt-users@lists.bestpractical.com 
 rt-users-bounces@  cc 

 lists.bestpractic 
 al.comSubject 

   [rt-users] e-mail address in use 
 
 11/09/2007 08:34 
 AM 
 
 
 





Hello list,

RT 3.6.1 with Sendmail  under Slackware 11.

Some time ago I have created a number of users without any problem. Today 
a
new user tried to register a request. The request was refused which seems
to be OK - there was no account for him. But when I tried to create an
account for him,  I  got a message e-mail address in use. I have checked
all the users created, but no one has that e-mail address. Then I tried to
create an account for other user, who haven't tried to send a request yet,
but again I was not able to do it. I've go the same message -  e-mail
address in use.  Hown could I solve this problem ?

I would appreciate your help

Best regards

Mariusz


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll 
take
up to 20 percent off the price. This sale won't last long, so get in touch
today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll 
take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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: Message/RFC822 CCs in templates? [FAM-RT #828]

2007-11-09 Thread Kenneth Crocker

Andreas,


	I'm not sure I have what your looking for, but if you are referring to 
overriding a header for a notification (like subject), then you do 
that in your custom template. If you are referring to replacing a 
particular header for a particular recipient, then I have no idea. 
perhaps searching the wiki on that one. If you want to override the CC 
recipient, there are a couple ways to do that with custom scrips and 
adding CC'c to the ticket (again, search the wiki). Beyond that, I 
really have no experience. Hope this helps.



Kenn
LBNL

On 11/9/2007 3:27 AM, Andreas Schamanek wrote:

Hi all,

I haven't received any answer yet, so, please allow me to ask once 
again: 
Is there really no way to access message headers from within a 
template? I just can't believe I guess :/


Cheerio,
-- Andreas

On Tue, 6 Nov 2007, Andreas Schamanek wrote:

I am still looking for a way to reference a message's CC: header 
within templates. How can this be done?

(...)
The problem is of course that the CC header does not show up in 
outgoing messages. But I could live with this if I could reference the 
CCs in templates.


Any help is much welcome.


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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: Message/RFC822 CCs in templates? [FAM-RT #828]

2007-11-09 Thread Andreas Schamanek

Hi Kenn,
hi fellow RT users,

Thanks a lot for getting back. I do know how to change the Subject and 
how to CC someone. I've also searched the Wiki back and forth, and all 
of this list's archive[*].

Anyway, what I am looking for is some way to include the information 
from header lines as they arrive in RT. Specifically, in templates I 
want to include a line that says:

  This message was sent to {CC: header from message}

(speaking of CCs from the original message, not RT's Ccs). Or in case 
of the sender's address something like

  Dear {From: header from message}


Cheerio,

-- 
-- Andreas


[*] Admittedly, I have only mostly searched for a way to get the CC: 
header line. Nevertheless, I think I did my part of the homework :/

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] Problem in Configuration

2007-11-09 Thread Karen Trujillo Quintanilla




Thanks, but I no found in WIKI

Drew Barnes escribi:

  On the wiki, there should be a silent resolve or a resolve once
example.  The former allows you to resolve with no notification sent. 
The latter only sends the resolved notice on the first resolve.


Tim Wilson wrote:
  
  

  

  On Fri, Nov 9, 2007 at  7:41 AM, in message [EMAIL PROTECTED], Karen

  

  

Trujillo Quintanilla [EMAIL PROTECTED] wrote: 

  


When tickets is closed or resolved and sending a (rt-comment..) by
example a : Thanks..!!, the tickets is again open and I affect to
statistics.

  

Karen,

If I understand you correctly, you're talking about the situation where a requester will reply to the ticket resolution message and reopen the ticket. Correct? If so, I'm afraid there's nothing you can do about it. We've added some text to our resolution message that lets people know that there's no need to reply unless the issue isn't actually resolved. It becomes a training issue for the users who need to be made to understand that they don't need to say thanks. If they want to express their thanks, encourage them to send cookies to the techs instead. :-)

-Tim


  

  
  
  


-- 
Karen Trujillo Quintanilla
Fono: 354-5700
mailto: [EMAIL PROTECTED]	
Subdireccin de Operaciones y Plataforma
Direccin de Informtica - PUC


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] Problem in Configuration

2007-11-09 Thread Drew Barnes
Ok, after searching, the silent resolve wasn't on the wiki. It is on
Dirk Pape's page.

http://page.mi.fu-berlin.de/pape/rt3/patches/rt/3.6/
and
http://wiki.bestpractical.com/view/OnResolveOnce

Karen Trujillo Quintanilla wrote:
 Thanks, but I no found in WIKI

 Drew Barnes escribió:
 On the wiki, there should be a silent resolve or a resolve once
 example.  The former allows you to resolve with no notification sent. 
 The latter only sends the resolved notice on the first resolve.


 Tim Wilson wrote:
   
 On Fri, Nov 9, 2007 at  7:41 AM, in message [EMAIL PROTECTED], Karen
 
   
 Trujillo Quintanilla [EMAIL PROTECTED] wrote: 

   
 
   When tickets is closed or resolved and sending a (rt-comment..) by
 example a : Thanks..!!, the tickets is again open and I affect to
 statistics.
 
   
 Karen,

 If I understand you correctly, you're talking about the situation where a 
 requester will reply to the ticket resolution message and reopen the 
 ticket. Correct? If so, I'm afraid there's nothing you can do about it. 
 We've added some text to our resolution message that lets people know that 
 there's no need to reply unless the issue isn't actually resolved. It 
 becomes a training issue for the users who need to be made to understand 
 that they don't need to say thanks. If they want to express their thanks, 
 encourage them to send cookies to the techs instead. :-)

 -Tim


   
 

   

 -- 
 Karen Trujillo Quintanilla
 Fono: 354-5700
 mailto: [EMAIL PROTECTED] 
 Subdirección de Operaciones y Plataforma
 Dirección de Informática - PUC
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] Problem in Configuration

2007-11-09 Thread Karen Trujillo Quintanilla




Thank you, but that is only to validate with the autorespouesta
2 times to users indicating that the tickets has been resolved, there
is a way to limit or force the RT that when someone meets me, Thank you
.. The tickets will not open  but stick with the status resolved

Drew Barnes escribi:

  Ok, after searching, the silent resolve wasn't on the wiki. It is on
Dirk Pape's page.

http://page.mi.fu-berlin.de/pape/rt3/patches/rt/3.6/
and
http://wiki.bestpractical.com/view/OnResolveOnce

Karen Trujillo Quintanilla wrote:
  
  
Thanks, but I no found in WIKI

Drew Barnes escribi:


  On the wiki, there should be a silent resolve or a resolve once
example.  The former allows you to resolve with no notification sent. 
The latter only sends the resolved notice on the first resolve.


Tim Wilson wrote:
  
  
  

  

  On Fri, Nov 9, 2007 at  7:41 AM, in message [EMAIL PROTECTED], Karen

  
  

  

Trujillo Quintanilla [EMAIL PROTECTED] wrote: 

  



When tickets is closed or resolved and sending a (rt-comment..) by
example a : Thanks..!!, the tickets is again open and I affect to
statistics.

  
  

Karen,

If I understand you correctly, you're talking about the situation where a requester will reply to the ticket resolution message and reopen the ticket. Correct? If so, I'm afraid there's nothing you can do about it. We've added some text to our resolution message that lets people know that there's no need to reply unless the issue isn't actually resolved. It becomes a training issue for the users who need to be made to understand that they don't need to say thanks. If they want to express their thanks, encourage them to send cookies to the techs instead. :-)

-Tim


  


  

  

-- 
Karen Trujillo Quintanilla
Fono: 354-5700
mailto: [EMAIL PROTECTED]	
Subdireccin de Operaciones y Plataforma
Direccin de Informtica - PUC

  
  
  


-- 
Karen Trujillo Quintanilla
Fono: 354-5700
mailto: [EMAIL PROTECTED]	
Subdireccin de Operaciones y Plataforma
Direccin de Informtica - PUC


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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] How setting Stylesheet Request Tracker

2007-11-09 Thread Karen Trujillo Quintanilla




How to setting the Stylesheet RT to display correctly format of the
Stylesheet, in Firefox , Explorer 






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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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] RT configuration

2007-11-09 Thread Kenneth Crocker

To all,


	Currently, when someone makes a comment on a ticket, the ticket status 
changes to open, unless it is already opened. I have a requirement to 
modify RT to NOT open a ticket when a comment is made. Has anyone ever 
done anything like this before? Some help would be appreciated. Thank 
you in advance.



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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today. 
   Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.



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] [Fwd: Create Ticket but only if Custom Field is...]

2007-11-09 Thread Todd Chapman
You aren't usint $trans any where in this scrip, so that must be
coming from a different scrip.

On 11/9/07, Matt Westfall [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Well that fixed the syntax error: but now I get this:

 Nov  9 10:31:48 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1949) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
 Nov  9 10:31:51 oakie RT: Scrip 22 IsApplicable failed: Global symbol
 $trans requires explicit package name at (eval 1691) line 1.
 (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)



 Huw Selley wrote:
  Hi,
 
  The syntax errror is a missing semicolon on the first line.
 
  return 0 unless $self-TransactionObj-Type eq Resolved
 
  Should be
 
  return 0 unless $self-TransactionObj-Type eq Resolved;
 
  Hope this helps.
  Huw
 
 
  On 9/11/07 2:34, Matt Westfall [EMAIL PROTECTED] wrote:
 
  OK The scrip is running, but it says there are syntax errors!!!
 
  Nov  9 09:32:44 oakie RT: Scrip 22 IsApplicable failed: Global symbol
  $trans requires explicit package name at (eval 1780) line 1.
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:45 oakie RT: Scrip 23 IsApplicable failed: syntax error at
  (eval 1784) line 2, near Resolved return
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:45 oakie RT:
  [EMAIL PROTECTED] #159/2613 -
  Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:32:45 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
  Nov  9 09:32:48 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
  (/opt/rt3/lib/RT/I18N.pm:412)
  Nov  9 09:32:49 oakie RT: Encode::Guess failed: ; fallback to iso-8859-1
  (/opt/rt3/lib/RT/I18N.pm:412)
  Nov  9 09:32:50 oakie RT: Scrip 22 IsApplicable failed: Global symbol
  $trans requires explicit package name at (eval 2779) line 1.
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:51 oakie RT: Scrip 23 IsApplicable failed: syntax error at
  (eval 2783) line 2, near Resolved return
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:55 oakie RT: Scrip 22 IsApplicable failed: Global symbol
  $trans requires explicit package name at (eval 1816) line 1.
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:56 oakie RT: Scrip 23 IsApplicable failed: syntax error at
  (eval 1820) line 2, near Resolved return
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:56 oakie RT:
  [EMAIL PROTECTED] #159/2615 -
  Scrip 8  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:32:56 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
  Nov  9 09:32:57 oakie RT:
  [EMAIL PROTECTED] #159/2615 -
  Scrip 9  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:32:57 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
  Nov  9 09:32:57 oakie RT:
  [EMAIL PROTECTED] #159/2615 -
  Scrip 18  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:32:57 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
  Nov  9 09:32:58 oakie RT:
  [EMAIL PROTECTED] #159/2615 -
  Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:32:58 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
  Nov  9 09:32:59 oakie RT: Scrip 22 IsApplicable failed: Global symbol
  $trans requires explicit package name at (eval 1870) line 1.
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:32:59 oakie RT: Scrip 23 IsApplicable failed: syntax error at
  (eval 1874) line 2, near Resolved return
  (/opt/rt3/lib/RT/Condition/UserDefined.pm:69)
  Nov  9 09:33:00 oakie RT:
  [EMAIL PROTECTED] #159/2616 -
  Scrip 10  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:33:00 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
  Nov  9 09:33:00 oakie RT:
  [EMAIL PROTECTED] #159/2616 -
  Scrip 19  (/opt/rt3/lib/RT/Action/SendEmail.pm:252)
  Nov  9 09:33:00 oakie RT:
  [EMAIL PROTECTED] No recipients
  found. Not sending. (/opt/rt3/lib/RT/Action/SendEmail.pm:264)
 
  Todd Chapman wrote:
  So the scrip never fires?
 
  Try this:
 
  return 0 unless $self-TransactionObj-Type eq Resolved
  return 0 unless $self-TicketObj-FirstCustomFieldValue('Followup') =~
  /Yes/i;
  $RT::Logger-debug(Scrip running);
  1;
 
  See if that puts an entry in your logs.
 
  
  Now playing: Arctic Monkeys - The Bad Thing
  http://foxytunes.com/artist/arctic+monkeys/track/the+bad+thing
 
  On 11/7/07, Matt Westfall [EMAIL PROTECTED] wrote:
  OK For my scrip I have:
 
  Condition: User Defined
  Action: Create Tickets
  Template: Create-Followup
  Stage: Transaction Create
 
  User Condition is:
 
  return 0 unless $self-TransactionObj-Type eq Resolved
 
  return 0 unless 

Re: [rt-users] RT configuration

2007-11-09 Thread Todd Chapman
You will have to customize the comment link or Update.html.

On 11/9/07, Kenneth Crocker [EMAIL PROTECTED] wrote:
 To all,


 Currently, when someone makes a comment on a ticket, the ticket status
 changes to open, unless it is already opened. I have a requirement to
 modify RT to NOT open a ticket when a comment is made. Has anyone ever
 done anything like this before? Some help would be appreciated. Thank
 you in advance.


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

 SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

 If you sign up for a new RT support contract before December 31, we'll take
 up to 20 percent off the price. This sale won't last long, so get in touch 
 today.
 Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


 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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


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