Problem with email reecption

Hello,

We believe that our rt-3.0.12 has a problem with email reception.
The system is a FreeBSD 4.1x with RT installed via ports. It has
been showing the following messages (and giving the EX_TEMPFAIL error)
to many messages that arrive:

Couldn't load module RT::Interface::Email::: Can't locate 
RT/Interface/Email/.pm in @INC (@INC contains: /usr/local/rt3/local/lib 
/usr/local/rt3/lib /usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 .) at (eval 7923) line 1.

Stack:
  [(eval 7923):1]
  [/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:32]


Trace begun at 
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Couldn\'t load module 
RT::Interface::Email::: Can\'t locate RT/Interface/Email/.pm in @INC 
(@INC contains: /usr/local/rt3/local/lib /usr/local/rt3/lib 
/usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 .) at (eval 7923) line 1.^J^JStack:^J  [(eval 
7923):1]^J  
[/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:32]^J') called 
at /usr/local/rt3/lib/RT/Interface/Email.pm line 515

The RT port has been reinstalled today and updated to a newer
release - rt-3.0.12_2 - but it still is exhibiting the same
symptoms than before.

What I can see as the cause is this message:
'Couldn\'t load module RT::Interface::Email::: Can\'t locate 
RT/Interface/Email/.pm in @INC

I understand that "RT/Interface/Email/.pm" should be 
"RT/Interface/Email.pm", but
I can't find where's the wrong reference. We don't have customizations
in @RT::MailPlugins in SiteConfig.

Thank you,

Alex

Alex S. Moura wrote:

Hello,

We believe that our rt-3.0.12 has a problem with email reception.
The system is a FreeBSD 4.1x with RT installed via ports. It has
been showing the following messages (and giving the EX_TEMPFAIL error)
to many messages that arrive:

Couldn't load module RT::Interface::Email::: Can't locate 
RT/Interface/Email/.pm in @INC (@INC contains: 
/usr/local/rt3/local/lib /usr/local/rt3/lib 
/usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 .) at (eval 7923) line 1.

Stack:
 [(eval 7923):1]
 [/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:32]


Trace begun at 
/usr/local/lib/perl5/site_perl/5.8.6/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Couldn\'t load module 
RT::Interface::Email::: Can\'t locate RT/Interface/Email/.pm in @INC 
(@INC contains: /usr/local/rt3/local/lib /usr/local/rt3/lib 
/usr/local/lib/perl5/site_perl/5.8.6/mach 
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach 
/usr/local/lib/perl5/5.8.6 .) at (eval 7923) line 1.^J^JStack:^J  
[(eval 7923):1]^J  
[/usr/local/rt3/share/html/REST/1.0/NoAuth/mail-gateway:32]^J') called 
at /usr/local/rt3/lib/RT/Interface/Email.pm line 515
---------------------------------------------------------

The RT port has been reinstalled today and updated to a newer
release - rt-3.0.12_2 - but it still is exhibiting the same
symptoms than before.

What I can see as the cause is this message:
'Couldn\'t load module RT::Interface::Email::: Can\'t locate 
RT/Interface/Email/.pm in @INC

I understand that "RT/Interface/Email/.pm" should be 
"RT/Interface/Email.pm", but
I can't find where's the wrong reference. We don't have customizations
in @RT::MailPlugins in SiteConfig. 

Hello,

We’ve detected that some spam we’ve received had very long strings in
the “From” header and envelope. We suspect that this is the cause of
breaking of the rt-mailgate script.

We’ve detected that when this error above occurs, the RT instance
has to be restarted by stopping and restarting apache to start processing
queued emails again.

We’re don’t have big knowledge of the Mason working and internals, but we
ssupect that when the rt-mailgate somehow breaks, the application cache
(is this correct?) gets corrupted.

Do someone with more knowledge of the RT internals have any information
about this issue?

Thank you very much,

Alex