>On Thu, 16 Apr 2020 at 15:40, natan maciej milaszewski <na...@mandzur.pl>
wrote:
>> Sorry about probably dumbest questions. What does it really mean?
>>
>> 552 5.3.4 Message size exceeds fixed limit
>>
>> Apr 16 16:03:48 thebe4 postfix/smtpd[11692]: NOQUEUE: reject: MAIL from
>> mail-il1-f169.google.com[209.85.166.169]: 552 5.3.4 Message size
exceeds
>> fixed limit; proto=ESMTP helo=<mail-il1-f169.google.com>
>> Apr 16 16:03:48 thebe4 postfix/smtpd[11692]: too many errors after MAIL
>> from mail-il1-f169.google.com[209.85.166.169]
>> Apr 16 16:03:48 thebe4 postfix/smtpd[11692]: disconnect from
>> mail-il1-f169.google.com[209.85.166.169] ehlo=2 starttls=1 mail=0/1
>> commands=3/4
>>
>> in postfix i set
>> message_size_limit = 23240000
>> mailbox_size_limit = 0
>>
>> postconf -n |grep "_size_limit"
>> mailbox_size_limit = 0
>> message_size_limit = 23240000

On 16.04.20 16:07, Dominic Raferd wrote:
>Pretty much what it says. An incoming mail will be refused if its size
>exceeds message_size_limit (in bytes). It is undocumented (and not
>recommended) to use message_size_limit=0 meaning 'no limit' - although
>mailbox_size_limit=0 is valid/documented.
>
>Although your postconf is reporting 23240000 (a little over 22MB), you
>can (and may) have different settings in master.cf which override this
>- for instance for authenticated vs non-authenticated incoming mails.

On Thu, 16 Apr 2020 at 16:15, Matus UHLAR - fantomas <uh...@fantomas.sk>
wrote:
note that some SMTP clients don't check SIZE option your SMTP server sends
to them and some don't announce the SIZE in MAIL FROM command.

You would not see this message otherwise :-)

On 16.04.20 16:28, Dominic Raferd wrote:
But I would expect that in this case (when client does not admit to smtpd
at start that message will be over size limit) the message would still be
rejected by smtpd (and with the same message) only it will happen once the
amount of data received actually exceeds the limit rather than at the
start? Otherwise it would be a way for clients to get round the size
restriction, and send unlimited data.

Yes. I just wanted to add that the client does not check for provided SIZE
option and thus it's possible that oversized message was transferred.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Saving Private Ryan...
Private Ryan exists. Overwrite? (Y/N)

Reply via email to