Blank messages from RT

I’m running an RT in the 2.0 series. It can send mail just fine
(as part of a Scrip), but the messages it sends are blank.
Has anyone ever run into this problem, and if so, how did you fix it?

srl
Shane Landrum (srl AT boston DOT com) Software Engineer, boston.com

Sounds like you are not using the right template… Double check your scrip
config and all should be well.On 8/30/01 3:02 PM, “Shane Landrum” srl@mail.boston.com wrote:

I’m running an RT in the 2.0 series. It can send mail just fine
(as part of a Scrip), but the messages it sends are blank.
Has anyone ever run into this problem, and if so, how did you fix it?

srl

Sounds like you are not using the right template… Double check your scrip
config and all should be well.

I did. I have 2 different scrips:

  • OnCreate NotifyAllWatchers with template StatusChange
  • OnCreate AutoreplyToRequestors with template Autoreply

I get mail from these, but they just don’t have message bodies.

srl
Shane Landrum (srl AT boston DOT com) Software Engineer, boston.com

Hmm… Could maybe be a permissions problem… Or something to do with
sendmail not running with the right flags. Other then that I don’t know…
Maybe one of the resident experts will take a stab at this later on :-)On 8/30/01 3:28 PM, “Shane Landrum” srl@mail.boston.com wrote:

On Thu, Aug 30, 2001 at 03:14:15PM -0400, Mitchell Wright (wright@nimm.com) wrote:

Sounds like you are not using the right template… Double check your scrip
config and all should be well.

I did. I have 2 different scrips:

  • OnCreate NotifyAllWatchers with template StatusChange
  • OnCreate AutoreplyToRequestors with template Autoreply

I get mail from these, but they just don’t have message bodies.

srl

I don`t think it is related to sendmail in any way, because he said the
email get delivered to his mail box, but with no body.

We never receive body in status messages except when we reply directly to
this status update. (OnTransaction, notify)

This is what we use for our system:
OnTransaction NotifyOwner Transaction
OnCorrespond AutoreplyToRequestors Followup-Template
OnCreate AutoreplyToRequestors Autoreply
OnResolve AutoreplyToRequestors Resolved

Maybe you juste dont use the right conditions to do what you need. I suggest
you first establish what you want the system to do, and then “play” with the
scrip section until it does what you want… Or almost. :slight_smile:

Also, make sure you set correct permissions for everyone and requestors.
System must be properly configured to handle replies to these templates.

Regards,
Steve Poirier
Directeur d�veloppement / Project Manager
Inet Technologies Inc.From: “Mitchell Wright” wright@nimm.com
To: “Shane Landrum” srl@mail.boston.com
Cc: rt-users@fsck.com
Sent: August 30, 2001 15:39
Subject: Re: [rt-users] blank messages from RT

Hmm… Could maybe be a permissions problem… Or something to do with
sendmail not running with the right flags. Other then that I don’t know…
Maybe one of the resident experts will take a stab at this later on :slight_smile:

Sounds like you are not using the right template… Double check your
scrip

config and all should be well.

I did. I have 2 different scrips:

  • OnCreate NotifyAllWatchers with template StatusChange
  • OnCreate AutoreplyToRequestors with template Autoreply

I get mail from these, but they just don’t have message bodies.

srl


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

I don`t think it is related to sendmail in any way, because he said the
email get delivered to his mail box, but with no body.

We never receive body in status messages except when we reply directly to
this status update. (OnTransaction, notify)

This is what we use for our system:
OnTransaction NotifyOwner Transaction
OnCorrespond AutoreplyToRequestors Followup-Template
OnCreate AutoreplyToRequestors Autoreply
OnResolve AutoreplyToRequestors Resolved

Maybe you juste dont use the right conditions to do what you need. I suggest
you first establish what you want the system to do, and then “play” with the
scrip section until it does what you want… Or almost. :slight_smile:

Also, make sure you set correct permissions for everyone and requestors.
System must be properly configured to handle replies to these templates.

It turns out that the problem was in config.pm. Changing $MailCommand
from “sendmail” to “sendmailpipe” seems to have fixed the problem.
Thanks much to Jesse for some offlist troubleshooting help.

srl
Shane Landrum (srl AT boston DOT com) Software Engineer, boston.com