Re: [rt-users] incoming (big) email are dropped

2016-09-09 Thread Joop
On 9-9-2016 17:21, Alexandre Galletet wrote:
> Thanks Joop for your answer.
>
> I have in RT_SiteConfig.pm:
>
> Set($MaxAttachmentSize, 5*1024*1024);
> 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

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017


Re: [rt-users] incoming (big) email are dropped

2016-09-09 Thread Joop
On 9-9-2016 14:44, Alexandre Galletet wrote:
> 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

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017


[rt-users] incoming (big) email are dropped

2016-09-09 Thread Alexandre Galletet

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
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017