Hi,
just started to play with rt-mailgate on 2.0.9 and looks like when submitting
a comment through mail RT2 does not recognise end of message header.
Here’s what we got in the debug log:
Found a ticket ID. It’s 1282now requiring RT::Condition::AnyTransaction
RT::Transaction=HASH(0x87afabc): Checking condition OnCorrespond…
RT::Transaction=HASH(0x87afabc): Matches condition OnCorrespond…
now requiring RT::Action::Notify
Use of uninitialized value in scalar chomp at /opt/rt2/lib/RT/Template.pm line 295, line 24.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Mail/Header.pm line 224, line 24.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Mail/Header.pm line 224, line 24.
Use of uninitialized value in scalar chomp at /opt/rt2/lib/RT/Template.pm line 295, line 24.
Bad RFC822 field name ‘On Mon, Nov 26, 2001 At 08:49:15PM +0100, PT-Sprzet Wrote’
at /opt/rt2/lib/RT/Template.pm line 297
Where ‘On Mon, Nov 26, 2001 At 08:49:15PM +0100,[…]’ is the first line
of the message body.
In result - the comment is inserted into database but no message is sent to
the wathers of the queue.
BTW - is there any chance to get date&time stamp in the RT log?
K�aniam sie
(ab)
-=====================Uwaga! Zmiana numer�w telefonicznych=====================
-= Andrzej Bursztynski, email: and@pse.pl tel +48-27-2221112 fax +48-27-2221209
-= Polskie Sieci Elektroenergetyczne SA, 00-950 Warszawa, ul. Mysia 2, POLAND
-=====================Uwaga! Zmiana numer�w telefonicznych=====================
That sounds like you’re not getting a newline between the end of your
headers and the beginning of your body…On Mon, Nov 26, 2001 at 09:01:15PM +0100, Andrzej Bursztynski wrote:
Hi,
just started to play with rt-mailgate on 2.0.9 and looks like when submitting
a comment through mail RT2 does not recognise end of message header.
Here’s what we got in the debug log:
Found a ticket ID. It’s 1282now requiring RT::Condition::AnyTransaction
RT::Transaction=HASH(0x87afabc): Checking condition OnCorrespond…
RT::Transaction=HASH(0x87afabc): Matches condition OnCorrespond…
now requiring RT::Action::Notify
Use of uninitialized value in scalar chomp at /opt/rt2/lib/RT/Template.pm line 295, line 24.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Mail/Header.pm line 224, line 24.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Mail/Header.pm line 224, line 24.
Use of uninitialized value in scalar chomp at /opt/rt2/lib/RT/Template.pm line 295, line 24.
Bad RFC822 field name ‘On Mon, Nov 26, 2001 At 08:49:15PM +0100, PT-Sprzet Wrote’
at /opt/rt2/lib/RT/Template.pm line 297
Where ‘On Mon, Nov 26, 2001 At 08:49:15PM +0100,[…]’ is the first line
of the message body.
In result - the comment is inserted into database but no message is sent to
the wathers of the queue.
BTW - is there any chance to get date&time stamp in the RT log?
–
K³aniam sie
(ab)
-=====================Uwaga! Zmiana numerów telefonicznych=====================
-= Andrzej Bursztynski, email: and@pse.pl tel +48-27-2221112 fax +48-27-2221209
-= Polskie Sieci Elektroenergetyczne SA, 00-950 Warszawa, ul. Mysia 2, POLAND
-=====================Uwaga! Zmiana numerów telefonicznych=====================
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
That sounds like you’re not getting a newline between the end of your
headers and the beginning of your body…
Is that why default templates always have one empty line in the beginning?
Looks like adding a empty line to ‘transaction’ template helped a lot but
this is rather a bug.
How about date&time stamp in the debug log?
Hi,
just started to play with rt-mailgate on 2.0.9 and looks like when submitting
a comment through mail RT2 does not recognise end of message header.
Here’s what we got in the debug log:
Found a ticket ID. It’s 1282now requiring RT::Condition::AnyTransaction
RT::Transaction=HASH(0x87afabc): Checking condition OnCorrespond…
RT::Transaction=HASH(0x87afabc): Matches condition OnCorrespond…
now requiring RT::Action::Notify
Use of uninitialized value in scalar chomp at /opt/rt2/lib/RT/Template.pm line 295, line 24.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Mail/Header.pm line 224, line 24.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/Mail/Header.pm line 224, line 24.
Use of uninitialized value in scalar chomp at /opt/rt2/lib/RT/Template.pm line 295, line 24.
Bad RFC822 field name ‘On Mon, Nov 26, 2001 At 08:49:15PM +0100, PT-Sprzet Wrote’
at /opt/rt2/lib/RT/Template.pm line 297
Where ‘On Mon, Nov 26, 2001 At 08:49:15PM +0100,[…]’ is the first line
of the message body.
In result - the comment is inserted into database but no message is sent to
the wathers of the queue.
BTW - is there any chance to get date&time stamp in the RT log?
–
K?aniam sie
(ab)
-=====================Uwaga! Zmiana numer�w telefonicznych=====================
-= Andrzej Bursztynski, email: and@pse.pl tel +48-27-2221112 fax +48-27-2221209
-= Polskie Sieci Elektroenergetyczne SA, 00-950 Warszawa, ul. Mysia 2, POLAND
-=====================Uwaga! Zmiana numer�w telefonicznych=====================
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
–
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
K�aniam sie
(ab)
-=====================Uwaga! Zmiana numer�w telefonicznych=====================
-= Andrzej Bursztynski, email: and@pse.pl tel +48-27-2221112 fax +48-27-2221209
-= Polskie Sieci Elektroenergetyczne SA, 00-950 Warszawa, ul. Mysia 2, POLAND
-=====================Uwaga! Zmiana numer�w telefonicznych=====================
That sounds like you’re not getting a newline between the end of your
headers and the beginning of your body…
Is that why default templates always have one empty line in the beginning?
Looks like adding a empty line to ‘transaction’ template helped a lot but
this is rather a bug.
It should only be a problem if you’re putting a : on the first line
of your template. (That’s how RT guesses whether it’s a header or not).
How about date&time stamp in the debug log?
I’ll happily look at a patch for that.
-j
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.