Re: pls help on: 523 Message length (10485822 bytes) exceeds administrative limit (10485760)

Matthias Andree <[email protected]> Mon, 20 Jun 2022 18:53:25 +0200
Newsgroups gmane.mail.fetchmail.user
Message-ID <[email protected]>
Am 20.06.22 um 11:11 schrieb mario chiari:
> Hi
>
> I am unable to download a message with several large attachments.
>
> Log says:
>
> 523 Message length (10485822 bytes) exceeds administrative
> limit(10485760).
> sendmail: Unable to submit message.
> fetchmail: reading message <mymail>@pop3.<myDomain>:13 of 18 (12384194
> octets) (log message incomplete)
> fetchmail: MDA returned nonzero status 67
> fetchmail:  not flushed
>
> I have already asked help on this a couple of years ago, but I do not
> remember if/how  we fixed it (I doubt we did).
>
> It seems to be a issue with sendmail (or maybe, with the courier
> limited version of sendmail), but I do not how to check/reset sendmail
> configuration.

Mario,

you will need to find the documentation or assistance for your local MTA
that fetchmail delivers into. That is outside fetchmail's scope, but 10
MB seems to be a popular limit.


So if you are using Courier MTA in a full install, you need to find the
Courier documentation that sets a 10 MByte size limit for SMTP port, and
raise that limit.

Myself not being a Courier-MTA user, I cannot help much, Googling seems
to yield
https://manpages.debian.org/stretch/courier-mta/courier.8.en.html and it
documents sizelimit but you need to see which exact version you are
using and where and how you need to set the configuration and what it
takes (such as reloading or restarting the server after the change).
Further questions please to the Courier lists.

HTH.

Regards
Matthias