Hello,

I had a request from a customer to increase the message size limit for his Zimbra installation. I have followed the instructions in the Wiki (Configuring maxmessagesize - Zimbra :: Wiki) but when trying to send a message larger than 10 MB from gmail or yahoo it bounced back.

I blamed it on an out of date installation of Zimbra, so I proceeded to upgrade to version ZCS - 8.0.4, but after the upgrade the problem persisted. On further investigation I've noticed that for local mail (i.e user1@domain to user2@domain) the limit I've set worked, but for external mail it didnt. In /var/log/messages I've noticed the following error message:
Code:
 Jul 10 19:04:04 mail postfix/smtpd[4198]: lost connection after DATA (9997998 bytes) from mail-ie0-f171.google.com[209.85.223.171]
When telneting from a host in mynetworks the size is reported according to the limit set in postfix main.cf:
Code:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.-----.--- ESMTP Postfix
ehlo -------.---
250-mail.-------.---
250-PIPELINING
250-SIZE 44040192
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
But when trying to telnet from an external address the size is listed as following:
Code:
Trying 89.121.205.74...
Connected to mail.-------.---.
Escape character is '^]'.
220 mail.-------.--- ESMTP Service ready
ehlo -------.---
250-Requested mail action okay, completed
250-SIZE 10000000
250-ETRN
250-8BITMIME
250-STARTTLS
250 OK
I thought the difference was from cbpolicyd, so I've disabled it and restarted Zimbra, but to no avail.

Does anyone know how postfix is configured to report different sizes and how can I configure it for the customer to be able to receive mails according to message_size_limit?