Scrip for Merging bounces into existing tickets added to the wiki

FYI,

I recently hacked up a small Scrip that tries to merge new tickets
generated by mail bounces into the ticket that generated the mail.

This is similar to what
http://wiki.bestpractical.com/view/RtBounceHandler is doing, just that
it’s implemented as a scrip and not as an external program which runs
on incoming mail.

I’ve added my code to the RT wiki at
http://wiki.bestpractical.com/view/BounceMerge

I hope someone else might find it useful, too.

/ol
-=- Otmar Lendl – ol@bofh.priv.athttp://lendl.priv.at/ -=-

Otmar, this looks great – however it doesn’t seem to be working. Is
there any useful way to debug this?

I’ve confirmed that the bounce e-mails all contain the information you
are looking for. Nothing bad appears in rt.logOn Jul 24, 2009, at 4:43 AM, Otmar Lendl wrote:

I recently hacked up a small Scrip that tries to merge new tickets
generated by mail bounces into the ticket that generated the mail.

This is similar to what
http://wiki.bestpractical.com/view/RtBounceHandler is doing, just that
it’s implemented as a scrip and not as an external program which runs
on incoming mail.

I’ve added my code to the RT wiki at
http://wiki.bestpractical.com/view/BounceMerge

I hope someone else might find it useful, too.

/ol

-=- Otmar Lendl – ol@bofh.priv.athttp://lendl.priv.at/ -=-


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

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

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

Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness

I found one problem. It assumes that the Organization name is also
used as the subject line tag. I’ve fixed that.

But it has print STDERR statements here, and I wish I could figure out
where those PRINTs are going. Or is there a better way to debug
statements out to rt.log?On Jul 30, 2009, at 11:52 AM, Jo Rhett wrote:

Otmar, this looks great – however it doesn’t seem to be working.
Is there any useful way to debug this?

I’ve confirmed that the bounce e-mails all contain the information
you are looking for. Nothing bad appears in rt.log

On Jul 24, 2009, at 4:43 AM, Otmar Lendl wrote:

I recently hacked up a small Scrip that tries to merge new tickets
generated by mail bounces into the ticket that generated the mail.

This is similar to what
http://wiki.bestpractical.com/view/RtBounceHandler is doing, just
that
it’s implemented as a scrip and not as an external program which runs
on incoming mail.

I’ve added my code to the RT wiki at
http://wiki.bestpractical.com/view/BounceMerge

I hope someone else might find it useful, too.

/ol

-=- Otmar Lendl – ol@bofh.priv.athttp://lendl.priv.at/ -=-


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

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

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


Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness


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

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

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

Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness