[rt-users] "Unrecognised line" error from EmailParser

Nathan Ward nward at quicksilver.co.nz
Mon Aug 30 23:38:28 EDT 2004

I have applied the following patch to my RT installation, but am still  
getting the following error:

Unrecognised line: Nathan Ward <nward at quicksilver.co.nz> at  
/usr/local/rt-3.2.1/lib/RT/EmailParser.pm line 449

Modified: lib/RT/EmailParser.pm
--- lib/RT/EmailParser.pm       (original)
+++ lib/RT/EmailParser.pm       Fri Jul 30 15:59:24 2004
@@ -467,6 +467,8 @@
      my $self = shift;
      my $Addr = shift;

+    # Perl 5.8.0 breaks when doing regex matches on utf8
+    Encode::_utf8_off($Addr) if $] == 5.008;
      my @Addresses = Mail::Address->parse($Addr);

      my $AddrObj = $Addresses[0];

I'm running perl-5.8.0 on RHEL3, which others seem to have working..
Anyone have any thoughts as to why this error remains?
Is there a way to test that the utf8 flag is actually being turned off,  
and print a message to STDERR?

Nathan Ward

More information about the rt-users mailing list