Ok, I could have sworn I had this working last night –
but emails to the mailgate from unknown email addresses
are again failing. As before, if I manually create a
user with an email address matching where the email is
being sent from, the ticket is created as expected.
I attached the bounce in hopes someone can assist. Jesse,
the changes you had me make to Email.pm are intact and
still there:
[power:doogles] [/usr/local/rt/lib/RT/Interface] # diff Email.pm
Email.pm.orig
199,202c199,201
< require Encode;
< $Username = Encode::encode(utf8 => $Username, Encode::FB_PERLQQ()) if
defined $Username;
< $Name = Encode::encode(utf8 => $Name, Encode::FB_PERLQQ()) if defined
$Name;
<
$Username = Encode::encode(utf8 => $Username, Encode::FB_PERLQQ); $Name = Encode::encode(utf8 => $Name, Encode::FB_PERLQQ);
I can’t think of anything I did save going to sleep last
night.
Advice welcomed. Thanks!
-jFrom: Sam Dothage [mailto:s_dothage@yahoo.com]
Sent: Sunday, June 29, 2003 10:25 AM
To: Jason Diegmueller
Subject: Fwd: Returned mail: see transcript for details
Date: Sun, 29 Jun 2003 10:22:30 -0500
From: Mail Delivery Subsystem MAILER-DAEMON@power.doogles.com
To: dothages@attbi.com
Subject: Returned mail: see transcript for detailsThe original message was received at Sun, 29 Jun 2003 10:22:29 -0500
from rwcrmhc53.attbi.com [204.127.198.39] (may be forged)----- The following addresses had permanent fatal errors -----
“|/usr/local/rt/bin/rt-mailgate --queue support --action correspond
–url http://rt.evelocity.net/”
(reason: 255)
(expanded from: support@rt.evelocity.net)----- Transcript of session follows -----
RT server error.The RT server which handled your email did not behave as expected. It
said:System error
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>136:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>137:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>138:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>139:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>140:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>141:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>142:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>143:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>144:
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>…
code
<tr> <td nowrap="nowrap" align="left" valign="top"><fontface=“Verdana, Arial, Helvetica, sans-serif”
size=“-2”>…unless(defined $enc){ require Carp; Carp::croak("Unknown encoding
‘$name’");} my $octets =
$enc->encode($string,$check);return undef if ($check &&
length($string));return $octets; }
stack:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/Encode.pm:140
/usr/local/rt/lib/RT/Interface/Email.pm:199
/usr/local/rt/lib/RT/Interface/Email/Auth/MailFrom.pm:121
/usr/local/rt/lib/RT/Interface/Email.pm:455
/usr/local/rt/share/html/REST/1.0/NoAuth/mail-gateway:32
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 128 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
/usr/local/rt/lib/RT/Interface/Email.pm line
199
RT::Interface::CreateUser(undef, ‘dothages@attbi.com’,
‘dothages@attbi.com’,
‘MIME::Entity=HASH(0x9981740)’) called at
/usr/local/rt/lib/RT/Interface/Email/Auth/MailFrom.pm line 121
RT::Interface::Auth::MailFrom::GetCurrentUser(‘Message’,
‘MIME::Entity=HASH(0x9981740)’, ‘CurrentUser’, undef, ‘AuthLevel’, undef,
‘Action’,
‘correspond’, ‘Ticket’, undef, ‘Queue’, ‘RT::Queue=HASH(0x99bb1d0)’)
called at
/usr/local/rt/lib/RT/Interface/Email.pm line 455
RT::Interface::Gateway(‘SessionType’, ‘REST’, ‘action’,
‘correspond’, ‘queue’,
‘support’, ‘message’, ‘From dothages@attbi.com Sun Jun 29 10:22:29
2003^JReceived: from
rwcrmhc13.attbi.com (rwcrmhc53.attbi.com [204.127.198.39] (may be
forged))^J^Iby
power.doogles.com (8.12.8/8.12.8) with ESMTP id h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18
2003)^JX-Authenticated-Sender: ZG90aGFnZXNAYXR0YmkuY29t^J!
^J^J’) called at /usr/local/rt/share/html/REST/1.0/NoAuth/mail-gateway
line 32
HTML::Mason::Commands::ANON(‘SessionType’, ‘REST’, ‘action’,
‘correspond’, ‘queue’,
‘support’, ‘message’, ‘From dothages@attbi.com Sun Jun 29 10:22:29
2003^JReceived: from
rwcrmhc13.attbi.com (rwcrmhc53.attbi.com [204.127.198.39] (may be
forged))^J^Iby
power.doogles.com (8.12.8/8.12.8) with ESMTP id h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18
2003)^JX-Authenticated-Sender: ZG90aGFnZXNAYXR0YmkuY29t!
^J^J^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(0x94afa4
0)’,
‘SessionType’, ‘REST’, ‘action’, ‘correspond’, ‘queue’, ‘support’,
‘message’, ‘From
dothages@attbi.com Sun Jun 29 10:22:29 2003^JReceived: from
rwcrmhc13.attbi.com
(rwcrmhc53.attbi.com [204.127.198.39] (may be forged))^J^Iby
power.doogles.com
(8.12.8/8.12.8) with ESMTP id h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18 2003)^!
JX-Authenticated-Sender: ZG90aGFnZXNAYXR0YmkuY29t^J^J^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1051
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x94afa40)’,
‘SessionType’, ‘REST’,
‘action’, ‘correspond’, ‘queue’, ‘support’, ‘message’, ‘From
dothages@attbi.com Sun Jun 29
10:22:29 2003^JReceived: from rwcrmhc13.attbi.com (rwcrmhc53.attbi.com
[204.127.198.39] (may
be forged))^J^Iby power.doogles.com (8.12.8/8.12.8) with ESMTP id
h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18 2003)^JX-Authenticated-!
Sender: ZG90aGFnZXNAYXR0YmkuY29t^J^J^J’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1050
HTML::Mason::Request::comp(undef, undef, undef, ‘SessionType’, ‘REST’,
‘action’, ‘correspond’, ‘queue’, ‘support’, ‘message’, ‘From
dothages@attbi.com Sun Jun 29 10:22:29
2003^JReceived: from rwcrmhc13.attbi.com (rwcrmhc53.attbi.com
[204.127.198.39] (may be
forged))^J^Iby power.doogles.com (8.12.8/8.12.8) with ESMTP id
h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18
2003)^JX-Authenticated-Sender: ZG90aGFn!
ZXNAYXR0YmkuY29t^J^J^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 dothages@attbi.com Sun Jun 29 10:22:29
2003^JReceived: from
rwcrmhc13.attbi.com (rwcrmhc53.attbi.com [204.127.198.39] (may be
forged))^J^Iby
power.doogles.com (8.12.8/8.12.8) with ESMTP id h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18
2003)^JX-Authenticated-Sender: ZG90aGFnZXNAYXR0YmkuY29t!
^J^J^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 dothages@attbi.com Sun Jun 29 10:22:29
2003^JReceived: from
rwcrmhc13.attbi.com (rwcrmhc53.attbi.com [204.127.198.39] (may be
forged))^J^Iby
power.doogles.com (8.12.8/8.12.8) with ESMTP id h5TFMTgQ017664^J^Ifor
<support@rt.evelocity.net>; Sun, 29 Jun 2003 10:22:29
-0500^JMessage-Id:
<200306291522.h5TFMTgQ017664@power.doogles.com>^JReceived:
from rwcrwbc07
(unknown[204.127.197.117](misconfigured sender))^J by attbi.com
(rwcrmhc13) with
SMTP^J id <2003062915221301500qitr8e>; Sun, 29 Jun
2003 15:22:13
+0000^JReceived: from [12.247.227.58] by rwcrwbc07;^J^ISun, 29 Jun
+2003 15:22:13
+0000^JFrom: dothages@attbi.com^JTo: support@rt.evelocity.net^JSubject:
test^JDate: Sun, 29
Jun 2003 15:22:13 +0000^JX-Mailer: AT&T Message Center Version
1 (Jun 18
2003)^JX-Authenticated-Sender: ZG90aGFnZXNAYXR0YmkuY29t!
^J^J^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(0x99767
80)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x9976780)’) called
at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandl
er=HASH(0x9976780)’)
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(
0x92c2688)’,
‘Apache=SCALAR(0x994d6a4)’) called at /usr/local/rt/bin/webmux.pl line 118
RT::Mason::handler(‘Apache=SCALAR(0x994d6a4)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0x994d6a4)’) called at /dev/null line 0
554 5.3.0 unknown mailer error 255
ATTACHMENT part 2 message/delivery-status
ATTACHMENT part 3 message/rfc822
From: dothages@attbi.com
To: support@rt.evelocity.net
Subject: test
Date: Sun, 29 Jun 2003 15:22:13 +0000
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!