[rt-users] RT-Mailgate rejects emails from "Free" email accounts e.g. aol.com, excite.com

Jesse Vincent jesse at bestpractical.com
Mon Aug 4 22:09:09 EDT 2003



On Mon, Aug 04, 2003 at 09:39:43PM -0400, Zebulon Holt wrote:
> Hello,
> 
> RT-Mailgate is rejecting emails from a variety of web based email accounts like excite.com and aol.com. It seems that an error occurs when Encode.pm is trying to process the message data.
> 
> I have included the error message below. Any help/ideas would be greatly appreciated.

Broken spam is breaking Encode. What version of RT are you running? Does
3.0.5pre2 fix it?




> 
> System error
> error: 	panic: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140.
> context: 	
> ... 	 
> 136: 	unless(defined $enc){
> 137: 	require Carp;
> 138: 	Carp::croak("Unknown encoding '$name'");
> 139: 	}
> 140: 	my $octets = $enc->encode($string,$check);
> 141: 	return undef if ($check && length($string));
> 142: 	return $octets;
> 143: 	}
> 144: 	 
> ... 	 
> code stack: 	/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm:140
> /opt/rt3/lib/RT/Interface/Email.pm:199
> /opt/rt3/lib/RT/Interface/Email/Auth/MailFrom.pm:121
> /opt/rt3/lib/RT/Interface/Email.pm:455
> /opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:31
> raw error
> 
> 
> 
> panic: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140.
> 
> 
> Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line 131
> HTML::Mason::Exceptions::rethrow_exception('panic: sv_setpvn called with negative strlen at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140.^J') called at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm line 140
> Encode::encode('utf8', undef, 256) called at /opt/rt3/lib/RT/Interface/Email.pm line 199
> RT::Interface::Email::CreateUser(undef, 'Dontwastemoitime at aol.com', 'Dontwastemoitime at aol.com', 'MIME::Entity=HASH(0x9f29a28)') called at /opt/rt3/lib/RT/Interface/Email/Auth/MailFrom.pm line 121
> RT::Interface::Email::Auth::MailFrom::GetCurrentUser('Message', 'MIME::Entity=HASH(0x9f29a28)', 'CurrentUser', undef, 'AuthLevel', undef, 'Action', 'correspond', 'Ticket', undef, 'Queue', 'RT::Queue=HASH(0x9e6d388)') called at /opt/rt3/lib/RT/Interface/Email.pm line 455
> RT::Interface::Email::Gateway('SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1.1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID: <34E55610.24F5E1F1.67E71FF1 at aol.com>!
> ^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway line 31
> HTML::Mason::Commands::__ANON__('SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1.1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID: <34E55610.24F5E1F1.67E71FF1 at aol.com&g!
> t;^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9c3b684)', 'SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1..1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID:!
> <34E55610.24F5E1F1.67E71FF1 at aol.com>^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1057
> eval {...}('HTML::Mason::Component::FileBased=HASH(0x9c3b684)', 'SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1.1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID: <34E55610!
> .24F5E1F1.67E71FF1 at aol.com>^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
> HTML::Mason::Request::comp(undef, undef, undef, 'SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1.1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID: <34E55610.24F5E1F1.67E71F!
> F1 at aol.com>^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
> eval {...}(undef, undef, undef, 'SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1.1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID: <34E55610.24F5E1F1.67E71FF1 at aol.com&g!
> t;^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
> eval {...}(undef, undef, undef, 'SessionType', 'REST', 'action', 'correspond', 'queue', 'support', 'message', 'From Dontwastemoitime at aol.com Mon Aug  4 21:23:53 2003^JReceived: from imo-d04.mx.aol.com (imo-d04.mx.aol.com [205.188.157.36])^J^Iby foxy.celitosupport.net (8.12.8/8.12.5) with ESMTP id h751NqfJ022450^J^Ifor <support at celitosupport.net>; Mon, 4 Aug 2003 21:23:52 -0400^JReceived: from Dontwastemoitime at aol.com^J^Iby imo-d04.mx.aol.com (mail_out_v36_r1.1.) id 7.137.2346d4fe (16109)^J^I for <support at celitosupport.net>; Mon, 4 Aug 2003 21:24:09 -0400 (EDT)^JReceived: from   aol.com (mow-m29.webmail.aol.com [64.12.137.6]) by air-id12.mx.aol.com (v95.12) with ESMTP id MAILINID121-3eed3f2f07393; Mon, 04 Aug 2003 21:24:09 -0400^JDate: Mon, 04 Aug 2003 21:24:09 -0400^JFrom: Dontwastemoitime at aol.com^JTo: support at celitosupport.net^JSubject: Adding a test case from aol.com^JMIME-Version: 1.0^JMessage-ID: <34E55610.24F5E1F1.67E71FF1 at aol.com&g!
> t;^JX-Mailer: Atlas Mailer 2.0^JX-AOL-IP: 208.1.60.34^JContent-Type: text/plain; charset=iso-8859-1^JContent-Transfer-Encoding: 8bit^J^JAdding a test case from aol.com^J') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 290
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9f2fe14)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
> eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x9f2fe14)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9f2fe14)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x90de264)', 'Apache::RequestRec=SCALAR(0x9f049b4)') called at /opt/rt3/bin/webmux.pl line 118
> RT::Mason::handler('Apache::RequestRec=SCALAR(0x9f049b4)') called at -e line 0
> eval {...}('Apache::RequestRec=SCALAR(0x9f049b4)') called at -e line 0
> 
> 554 5.3.0 unknown mailer error 255  
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> 

-- 
http://www.bestpractical.com/rt  -- Trouble Ticketing. Free.



More information about the rt-users mailing list