1 July 2015

How to Increase Zimbra Attachment/Upload Size Maximum

root@mail:~# telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.localhost.com ESMTP Postfix
helo mail.localhost.com
250 mail.localhost.com
ehlo mail.localhost.com
250-mail.localhost.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
root@mail:~#




root@mail#su - zimbra
zimbra@mail:~$  postconf message_size_limit
message_size_limit = 10240000
zimbra@mail:~$
zimbra@mail:~$ zmprov mcf zimbraMtaMaxMessageSize 15728640
zimbra@mail:~$ zmprov mcf zimbraFileUploadMaxSize 15728640
zimbra@mail:~$ zmprov mcf zimbraMailContentMaxSize 26214400
zimbra@mail:~$ zmprov modifyConfig zimbraMtaMaxMessageSize 26214400
zimbra@mail:~$ postfix reload
/postfix-script: refreshing the Postfix mail system
zimbra@mail:~$
zimbra@mail:~$  postconf message_size_limit
message_size_limit = 26214400
zimbra@mail:~$

root@mail:~# telnet localhost 25
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.localhost.com ESMTP Postfix
ehlo mail.localhost.com
250-mail.localhost.com
250-PIPELINING
250-SIZE 26214400
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
exit
502 5.5.2 Error: command not recognized
quit
221 2.0.0 Bye
Connection closed by foreign host.
root@mail:~#