RT2 mail reply issue


#1

I’ve just setup the latest cvs of RT2, and I’m having an issue with mail
being sent when I do replies. I’m using qmail and have the sendmail
wrapper setup (and the system’s sendmail moved elsewhere). Auto-replies
for queues work, so RT Is able to find sendmail it would seem, but when I
try and send a reply to anyone, the message never makes it to qmail (no
entries in the log). In addition, it doesn’t appear that anything appears
in the various rt logs that end up in tmp that would indicate the problem,
at least not consistantly, there’s a message that pops up occasionally, but
it doesn’t occur everytime it fails to send a message, and without
timestamps in the logs, its hard to say whats causing it. The messages
are:

now requiring RT::Condition::AnyTransaction
RT::Transaction=HASH(0x874df78): Checking condition OnCreate…
RT::Transaction=HASH(0x874df78): Matches condition OnCreate…
now requiring RT::Action::Autoreply
RT::Transaction=HASH(0x874df78): Prepared AutoreplyToRequestor
Use of uninitialized value at /usr/local/rt/lib/RT/Action/SendEmail.pm line
84,
chunk 14.
Use of uninitialized value at /usr/local/rt/lib/RT/Action/SendEmail.pm line
86,
chunk 14.
RT::Transaction=HASH(0x874df78): Committed AutoreplyToRequestor
Use of uninitialized value at /usr/local/rt/lib/RT/Ticket.pm line 2431.
Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/DBIx/SearchBu
ilder/Record/Cachable.pm line 126.
Use of uninitialized value at /usr/local/rt/lib/RT/Ticket.pm line 310.
Ticket 15 created in queue ‘’

The SendEmail action coudl be the problem, but it doesn’t appear everytime
i try and send an email. Any thoughts?


#2

What exact scrips have you set up?

Is the RT install fresh or updated from a previous rev?On Tue, May 22, 2001 at 10:45:14PM -0600, Wozz wrote:

I’ve just setup the latest cvs of RT2, and I’m having an issue with mail
being sent when I do replies. I’m using qmail and have the sendmail
wrapper setup (and the system’s sendmail moved elsewhere). Auto-replies
for queues work, so RT Is able to find sendmail it would seem, but when I
try and send a reply to anyone, the message never makes it to qmail (no
entries in the log). In addition, it doesn’t appear that anything appears
in the various rt logs that end up in tmp that would indicate the problem,
at least not consistantly, there’s a message that pops up occasionally, but
it doesn’t occur everytime it fails to send a message, and without
timestamps in the logs, its hard to say whats causing it. The messages
are:

now requiring RT::Condition::AnyTransaction
RT::Transaction=HASH(0x874df78): Checking condition OnCreate…
RT::Transaction=HASH(0x874df78): Matches condition OnCreate…
now requiring RT::Action::Autoreply
RT::Transaction=HASH(0x874df78): Prepared AutoreplyToRequestor
Use of uninitialized value at /usr/local/rt/lib/RT/Action/SendEmail.pm line
84,
chunk 14.
Use of uninitialized value at /usr/local/rt/lib/RT/Action/SendEmail.pm line
86,
chunk 14.
RT::Transaction=HASH(0x874df78): Committed AutoreplyToRequestor
Use of uninitialized value at /usr/local/rt/lib/RT/Ticket.pm line 2431.
Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/DBIx/SearchBu
ilder/Record/Cachable.pm line 126.
Use of uninitialized value at /usr/local/rt/lib/RT/Ticket.pm line 310.
Ticket 15 created in queue ‘’

The SendEmail action coudl be the problem, but it doesn’t appear everytime
i try and send an email. Any thoughts?


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

They’ll take my private key when they pry it from my cold dead fingers!


#3

What exact scrips have you set up?

The only scrips is for an autoreply

I may just have had an ‘ah-ha’ moment. Is there no default action for when
you send a reply? Do I have to add a scrip to have reply’s sent when I do
a reply?


#4

Correct. RT2 is rather more configurable than RT1 was. If you want it to send
mail, you need to configure it to do so ;)On Tue, May 22, 2001 at 11:36:53PM -0600, Wozz wrote:

On Wed, May 23, 2001 at 12:57:30AM -0400, Jesse wrote:

What exact scrips have you set up?

The only scrips is for an autoreply

I may just have had an ‘ah-ha’ moment. Is there no default action for when
you send a reply? Do I have to add a scrip to have reply’s sent when I do
a reply?

Is the RT install fresh or updated from a previous rev?

On Tue, May 22, 2001 at 10:45:14PM -0600, Wozz wrote:

I’ve just setup the latest cvs of RT2, and I’m having an issue with mail
being sent when I do replies. I’m using qmail and have the sendmail
wrapper setup (and the system’s sendmail moved elsewhere). Auto-replies
for queues work, so RT Is able to find sendmail it would seem, but when I
try and send a reply to anyone, the message never makes it to qmail (no
entries in the log). In addition, it doesn’t appear that anything appears
in the various rt logs that end up in tmp that would indicate the problem,
at least not consistantly, there’s a message that pops up occasionally, but
it doesn’t occur everytime it fails to send a message, and without
timestamps in the logs, its hard to say whats causing it. The messages
are:

now requiring RT::Condition::AnyTransaction
RT::Transaction=HASH(0x874df78): Checking condition OnCreate…
RT::Transaction=HASH(0x874df78): Matches condition OnCreate…
now requiring RT::Action::Autoreply
RT::Transaction=HASH(0x874df78): Prepared AutoreplyToRequestor
Use of uninitialized value at /usr/local/rt/lib/RT/Action/SendEmail.pm line
84,
chunk 14.
Use of uninitialized value at /usr/local/rt/lib/RT/Action/SendEmail.pm line
86,
chunk 14.
RT::Transaction=HASH(0x874df78): Committed AutoreplyToRequestor
Use of uninitialized value at /usr/local/rt/lib/RT/Ticket.pm line 2431.
Use of uninitialized value at
/usr/local/lib/perl5/site_perl/5.005/DBIx/SearchBu
ilder/Record/Cachable.pm line 126.
Use of uninitialized value at /usr/local/rt/lib/RT/Ticket.pm line 310.
Ticket 15 created in queue ‘’

The SendEmail action coudl be the problem, but it doesn’t appear everytime
i try and send an email. Any thoughts?


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


jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

They’ll take my private key when they pry it from my cold dead fingers!


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

“Mary had a crypto key / She kept it in escrow
And everything that Mary said / The Feds were sure to know” – Sam Simpson


#5

Correct. RT2 is rather more configurable than RT1 was. If you want it to send
mail, you need to configure it to do so :wink:

Ok, so I have the following scrips configured:

OnCorrespond NotifyRequestor with template Correspondence
OnCreate AutoreplyToRequestor with template Abuse Autoreply
OnCorrespond NotifyAllWatchersAsComment with template Correspondence

This sends an autoreply on ticket creation, but the OnCorrespond doesn’t
seem to work, or perhaps I don’t have a clear understanding of what the
conditions mean. Is there a quick explanations somewhere, or has it not
been documented yet?

Thanks for the help!