Currently using pmg 6.0-4 as incoming and outgoing mail gateway, notice the message_size_limit setting is not working.
I have set a 15MB message size limit but when I try to send a 10MB mail, I received bounce back email saying "552 5.3.4 Message size exceeds fixed limit".
If i bypass the pmg and send directly using my mail server, no problem sending out the 10mb mail.
If i change the message_size_limit to 40mb, i can send out the 10mb email.
May I know is there any changes to pmg 6 as i have no problem using the same setting on pmg 5.
PS: mail.xxx.local (192.168.40.230) is my local mail server.
Nov 13 14:18:11 pmg postfix/qmgr[7154]: B7430412BC: removed
Nov 13 14:18:12 pmg postfix/smtp[9753]: connect to aspmx.l.google.com[2404:6800:4003:c03::1a]:25: Network is unreachable
Nov 13 14:18:15 pmg postfix/smtpd[9782]: connect from mail.xxx.local[192.168.40.230]
Nov 13 14:18:15 pmg postfix/smtpd[9782]: NOQUEUE: reject: MAIL from mail.xxx.local[192.168.40.230]: 552 5.3.4 Message size exceeds fixed limit; from=<xxx@xxx.local> proto=ESMTP helo=<mail.xxx.local>
Nov 13 14:18:15 pmg postfix/smtpd[9782]: disconnect from mail.eadeco.com.my[192.168.40.230] ehlo=1 mail=0/1 quit=1 commands=2/3
Nov 13 14:18:17 pmg postfix/smtp[9615]: A2C02410CB: to=<jeremy@xxx.hk>, relay=aspmx.l.google.com[74.125.68.27]:25, delay=5.9, delays=0.07/0/0.79/5.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1573625897 w16si1516784pff.26 - gsmtp)
Nov 13 14:18:17 pmg postfix/qmgr[7154]: A2C02410CB: removed
Nov 13 14:18:18 pmg postfix/smtp[9753]: A480741177: to=<clarisse@xxx.com>, relay=aspmx.l.google.com[74.125.68.27]:25, delay=6.4, delays=0.07/0/1.3/5, dsn=2.0.0, status=sent (250 2.0.0 OK 1573625897 d4si1473519pgm.573 - gsmtp)
Nov 13 14:18:18 pmg postfix/qmgr[7154]: A480741177: removed
Nov 13 14:18:18 pmg postfix/qmgr[7154]: 7F4764129B: from=<xxx@xxx.local>, size=446976, nrcpt=1 (queue active)
root@pmg:~# postconf | grep size
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
lmdb_map_size = 16777216
mailbox_size_limit = 51200000
message_size_limit = 15728640
tcp_windowsize = 0
I have set a 15MB message size limit but when I try to send a 10MB mail, I received bounce back email saying "552 5.3.4 Message size exceeds fixed limit".
If i bypass the pmg and send directly using my mail server, no problem sending out the 10mb mail.
If i change the message_size_limit to 40mb, i can send out the 10mb email.
May I know is there any changes to pmg 6 as i have no problem using the same setting on pmg 5.
PS: mail.xxx.local (192.168.40.230) is my local mail server.
Nov 13 14:18:11 pmg postfix/qmgr[7154]: B7430412BC: removed
Nov 13 14:18:12 pmg postfix/smtp[9753]: connect to aspmx.l.google.com[2404:6800:4003:c03::1a]:25: Network is unreachable
Nov 13 14:18:15 pmg postfix/smtpd[9782]: connect from mail.xxx.local[192.168.40.230]
Nov 13 14:18:15 pmg postfix/smtpd[9782]: NOQUEUE: reject: MAIL from mail.xxx.local[192.168.40.230]: 552 5.3.4 Message size exceeds fixed limit; from=<xxx@xxx.local> proto=ESMTP helo=<mail.xxx.local>
Nov 13 14:18:15 pmg postfix/smtpd[9782]: disconnect from mail.eadeco.com.my[192.168.40.230] ehlo=1 mail=0/1 quit=1 commands=2/3
Nov 13 14:18:17 pmg postfix/smtp[9615]: A2C02410CB: to=<jeremy@xxx.hk>, relay=aspmx.l.google.com[74.125.68.27]:25, delay=5.9, delays=0.07/0/0.79/5.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1573625897 w16si1516784pff.26 - gsmtp)
Nov 13 14:18:17 pmg postfix/qmgr[7154]: A2C02410CB: removed
Nov 13 14:18:18 pmg postfix/smtp[9753]: A480741177: to=<clarisse@xxx.com>, relay=aspmx.l.google.com[74.125.68.27]:25, delay=6.4, delays=0.07/0/1.3/5, dsn=2.0.0, status=sent (250 2.0.0 OK 1573625897 d4si1473519pgm.573 - gsmtp)
Nov 13 14:18:18 pmg postfix/qmgr[7154]: A480741177: removed
Nov 13 14:18:18 pmg postfix/qmgr[7154]: 7F4764129B: from=<xxx@xxx.local>, size=446976, nrcpt=1 (queue active)
root@pmg:~# postconf | grep size
berkeley_db_create_buffer_size = 16777216
berkeley_db_read_buffer_size = 131072
body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
lmdb_map_size = 16777216
mailbox_size_limit = 51200000
message_size_limit = 15728640
tcp_windowsize = 0