Topic: SMTP Error: Message size exceeds server limit (Roundcude & Other)
======== Required information ====
- iRedMail version: 1.60 Pro
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04.2 LTS
- Related log if you're reporting an issue:
===========================
I'm trying to increase the max attachment size from 10MB to 20MB. Not succeeding. Problem is not isolated to Roundcube mail, getting same error with email client, Thunderbird in this case. Could someone please tell me what I've missed?
Thank you very much!
Config Information
/etc/postfix/main.cf
# 21MB
message_size_limit = 22020096
/etc/php5/apache/php.ini
post_max_size = 21M;
upload_max_filesize = 20M;
max_file_uploads = 20
/usr/share/apache2/roundcube/.htaccess
php_value upload_max_filesize 20M
php_value post_max_size 21M
Testing & Messages
Logs.... (Only log entry that isn't part of a successfull email send exchange
grep -nr "tonyd\@" /var/log/mail.log
--
/var/log/mail.log:2484336:Jul 9 12:20:00 mail3 postfix/smtpd[15469]: 630A1100816: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=tonyd@mydomain.net
--
#my_desktop> telnet 216.19.2.13 25
Trying 216.19.2.13...
Connected to 216.19.2.13.
Escape character is '^]'.
220 mail3.commspeed.net ESMTP
ehlo my.host
250-mail3.commspeed.net
250-PIPELINING
250-SIZE 22020096
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.