Incoming (big) email are dropped

Hello everyone,

When we receive email with more than ~8MB I see only the three lines
below in rt’s log and that all. Noting in web interface.

[2688] [Fri Sep 9 12:26:55 2016] [warning]: Use of uninitialized value
$args{“Message”} in print at /opt/rt4/sbin/…/lib/RT/EmailParser.pm line
121. (/opt/rt4/sbin/…/lib/RT/EmailParser.pm:121)
[2688] [Fri Sep 9 12:26:55 2016] [debug]: Encode::Guess guessed
encoding: ascii (/opt/rt4/sbin/…/lib/RT/I18N.pm:568)
[2688] [Fri Sep 9 12:26:55 2016] [error]: Couldn’t parse or find
sender’s address
(/opt/rt4/sbin/…/lib/RT/Interface/Email/Auth/MailFrom.pm:86)

If I resent the same mail, with smaller attachment everything is OK.

Is there a limit size for incoming mail ?

Alex

Hello everyone,

When we receive email with more than ~8MB I see only the three lines
below in rt’s log and that all. Noting in web interface.

[2688] [Fri Sep 9 12:26:55 2016] [warning]: Use of uninitialized
value $args{“Message”} in print at
/opt/rt4/sbin/…/lib/RT/EmailParser.pm line 121.
(/opt/rt4/sbin/…/lib/RT/EmailParser.pm:121)
[2688] [Fri Sep 9 12:26:55 2016] [debug]: Encode::Guess guessed
encoding: ascii (/opt/rt4/sbin/…/lib/RT/I18N.pm:568)
[2688] [Fri Sep 9 12:26:55 2016] [error]: Couldn’t parse or find
sender’s address
(/opt/rt4/sbin/…/lib/RT/Interface/Email/Auth/MailFrom.pm:86)

If I resent the same mail, with smaller attachment everything is OK.

Is there a limit size for incoming mail ?
See https://docs.bestpractical.com/rt/4.4.1/RT_Config.html and
$MaxAttachmentSize and related options. Your database backend may
enforce different limits, check with your dba.

Regards,

Joop

Thanks Joop for your answer.

I have in RT_SiteConfig.pm:

Set($MaxAttachmentSize, 510241024);
Set($DropLongAttachments, 1);

And the longest character string in postgresql is 1GB

If I get a mail with 6MB attachment I get the mail but the attachment
is dropped. (that’s OK)

If attachment is larger than ~8GB I get NO mail at all.

Then the smtp server is dropping the mail.

Joop