Topic: Can't sending mail over 10MB mail attachment
==== Required information ====
- iRedMail version: iredmail 1.4.4 (iRedAPD 0.9.0 with iRedAdmin-Pro-LDAP-2.2.2)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue: http://www.iredmail.org/forum/topic8911 … p-222.html
====
Dear All,
Can You help me please. The problem was found 2 weeks ago, after i upgrade iredmail from 0.8.7 to 0.9.0.
I can't sending mail with attachment file over 10MB.
I don't know what happen with this problem, because I dont change anything.
This is the log message if I sending with 15MB attachment file :
-----
Apr 11 20:51:34 mail postfix/qmgr[6370]: B14E69C1F3: from=<sender@domain.co.id>, size=21526699, nrcpt=1 (queue active)
Apr 11 20:51:34 mail amavis[24431]: (24431-17) ESMTP REJECT 'RCPT TO': 552 5.3.4 Declared message size (21526699 B) exceeds size limit for recipient <test@receive.com>
Apr 11 20:51:34 mail postfix/smtp[6409]: B14E69C1F3: to=<test@receive.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.3, delays=6.2/0/0.01/0.04, dsn=5.3.4, status=bounced (host 127.0.0.1[127.0.0.1] said: 552 5.3.4 Declared message size (21526699 B) exceeds size limit for recipient <test@receive.com> (in reply to RCPT TO command))
Apr 11 20:51:34 mail postfix/cleanup[6404]: F15AE9C96C: message-id=<20150412005134.F15AE9C96C@mail.receive.com>
Apr 11 20:51:35 mail postfix/bounce[6433]: B14E69C1F3: sender non-delivery notification: F15AE9C96C
Apr 11 20:51:35 mail postfix/qmgr[6370]: F15AE9C96C: from=<>, size=3926, nrcpt=1 (queue active)
Apr 11 20:51:35 mail postfix/qmgr[6370]: B14E69C1F3: removed
Apr 11 20:51:35 mail postfix/smtpd[6402]: disconnect from mail-qk0-f174.google.com[209.85.220.174]
Apr 11 20:51:37 mail postfix/smtp[6434]: F15AE9C96C: to=<sender@domain.co.id>, relay=aspmx.l.google.com[74.125.130.27]:25, delay=2.5, delays=0.01/0.02/1.6/0.89, dsn=2.0.0, status=sent (250 2.0.0 OK 1428799753 hs3si9136133pbb.155 - gsmtp)
Apr 11 20:51:37 mail postfix/qmgr[6370]: F15AE9C96C: removed
-----
I read from this thread : http://www.iredmail.org/forum/topic7033 … imit.html. So I thought this is the main problem because I dont set "mailbox_size_limit".
But, after I set "mailbox_size_limit", the problem is come back.
The bounceback message is :
-----
Delivery to the following recipient failed permanently:
ttest@receive.com
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain receive.com by mail.receive.com. [202.158.xxx.xxx].
The error that the other server returned was:
552 5.3.4 Message size exceeds fixed limit
-----
The parameter in postfix (main.cf) is :
message_size_limit = 20971520
mailbox_size_limit = 31457280
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.