[rt-users] RT 2.0.5 - compilation aborted
Jesse
jesse at fsck.com
Wed Aug 15 11:37:16 EDT 2001
It appears that a perl 5.6ism snuck into the codebase.
The fix is pretty trivial.
Around line 437 of lib/RT/Interface/Email.pm, you should see the line
foreach my $header qw( Errors-To Reply-To From Sender ) {
Replace it with the following line and tell me if it works for you.
foreach my $header ('Errors-To', 'Reply-To', 'From', 'Sender' ) {
If this fixes things, I'll roll 2.0.5_01 later today.
On Wed, Aug 15, 2001 at 11:08:58AM +0100, Tarren wrote:
>
> Hi,
>
> I've just upgraded from RT2.0.0 to RT2.0.5 and I'm now getting
> "compilation aborted" errors when sending email through rt-mailgate, as
> follows:
>
> ----- Transcript of session follows -----
> "my" variable $header masks earlier declaration in same statement at
> /home/rt2/lib/RT/Interface/Email.pm line 439.
> syntax error at /home/rt2/lib/RT/Interface/Email.pm line 437, near
> "$header qw( Errors-To Reply-To From Sender )"
> syntax error at /home/rt2/lib/RT/Interface/Email.pm line 446, near "}"
> BEGIN failed--compilation aborted at /usr/adm/sm.bin/rt-mailgate line 31.
> 554 5.3.0 |"/home/rt2/bin/rt-mailgate --queue General --action
> correspond"... unknown mailer error 255
>
> This doesn't look like the normal rt-mailgate configuration errors that
> I've seen so far.
> Please advise!
>
> Thanks,
>
> Tarren.
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
--
jesse reed vincent -- root at eruditorum.org -- jesse at fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90
I admit that X is the second worst windowing system in the world, but all the
others I've used are tied for first.
More information about the rt-users
mailing list