[rt-users] Help - "Deep Recursion on subroutine..."

Jason Doller jdoller+rt-users at gmail.com
Fri Apr 26 16:29:56 EDT 2013


Sorry for the oversight, RT_SiteConfig::

================================== Start ==========================

Set($rtname , "IT Support");
   Set($Organization , "obscured.com");
   Set($MinimumPasswordLength , "5");
   Set($Timezone , 'Africa/Johannesburg');

   Set($HomepageComponents, [qw(
                                QuickCreate
                                Quicksearch
                                MyAdminQueues
                                MySupportQueues
                                MyReminders
                                RefreshHomepage
                                Dashboards
                               )]);

   Set($DatabaseType , 'mysql');
   Set($DatabaseHost   , 'localhost');
   Set($DatabaseRTHost , 'localhost');
   Set($DatabasePort , '');
   Set($DatabaseUser , 'someuser');
   Set($DatabasePassword , 'reallyreallystrongpassword');
   Set($DatabaseName , 'rt4');

   #Set($OwnerEmail , 'IT Support');
   Set($OwnerEmail , 'jason at obscured.com');
   Set($LoopsToRTOwner , 1);

   Set($SendmailArguments , "-oi -t -f support\@obscured.com");

   Set($MaxAttachmentSize , 10000000);

   #Set($RTAddressRegexp , '(^rt\@obscured.com$)(.*\@obscured.co.za)');
   Set($RTAddressRegexp , '.*\@obscured.co.za');
   Set($CorrespondAddress , 'no-reply at obscured.co.za');
   Set($CommentAddress , 'no-reply at obscured.co.za');

   Set($UseFriendlyFromLine , 1);
   Set($FriendlyFromLineFormat , "\"%s\" <%s>");
   Set($UseFriendlyToLine , 1);
   Set($FriendlyToLineFormat, "\"%s Ticket #%s\":;");

   Set($NotifyActor, 0);
   Set($RecordOutgoingEmail, 1);

   Set($WebPath , "/customerzone");
   Set($WebPort , 443);
   Set($WebBaseURL , "https://obscured.com");
   Set($WebURL , $WebBaseURL . $WebPath . "/");

   Set($CanonicalizeRedirectURLs, 1);

   Set($MessageBoxWidth , 72);
   Set($MessageBoxWrap, "HARD");

   Set($MaxInlineBody, 13456);
   Set($DefaultSummaryRows, 10);

   Set($OldestTransactionsFirst, '1');
   Set($ShowTransactionImages, 1);

   Set($DateDayBeforeMonth , 0);
   Set($AmbiguousDayInPast , 1);

   Set($LogDir, '/var/log/rt4');

1;
====================================== END ==============================

This is a sample of the email error I get (please let me know if you need
more log info):

[Fri Apr 26 20:17:12 2013] [critical]: RT Received mail (<
20130426001825.08C1521490 at obscured.com>
) from itself. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:1846)
[Fri Apr 26 20:17:12 2013] [crit]: RT thinks this message may be a bounce
(/opt/rt4/sbin/../lib/RT/Interface/Email.pm:248)
[Fri Apr 26 20:17:14 2013] [error]: Could not record email: Message Bounced
(/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)
[Fri Apr 26 20:17:40 2013] [warning]: Deep recursion on subroutine
"RT::I18N::SetMIMEEntityToEncoding" at /opt/rt4/sbin/../lib/RT/I18N.pm line
210. (/opt/rt4/sbin/../lib/RT/I18N.pm:210)


I am unsure how to get more information from the message id "
20130426001825.08C1521490 at obscured.com" or whatever it is at that time.  I
don't find an equivalent message in themaillog.

Thanks for the prompt response,

Jason



On Fri, Apr 26, 2013 at 9:12 PM, Thomas Sibley <trs at bestpractical.com>wrote:

> On 04/26/2013 10:01 AM, Jason Doller wrote:
> > I'm getting this error:
> >
> > Deep recursion on subroutine "RT::I18N::SetMIMEEntityToEncoding" at
> > /opt/rt4/sbin/../lib/RT/I18N.pm
> >
> > in my logs, and I'm out of RAM.  I'm also getting a lot of bounces:
> >
> > Could not record email: Message Bounced
> > (/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)
> >
> > I've looked for loops in the RT_SiteConfig file (OwnerEmail) but see
> > nothing.
>
> This implies a very deep mail loop that is getting larger and larger and
> hitting recursion limits when processing each successively larger bounce.
>
> RT should be logging at the [crit] level the message IDs.  Can you find
> those and provide them?
>
> Your RT_SiteConfig.pm would be good to provide too.
>
> Folks can't help without these details.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130426/7dd1821f/attachment.htm>


More information about the rt-users mailing list