[CentOS] Message size rejected

Sat Jul 5 09:00:46 UTC 2008
Anne Wilson <cannewilson at googlemail.com>

On Thursday 03 July 2008 22:12:10 Craig White wrote:
> On Thu, 2008-07-03 at 22:06 +0100, Anne Wilson wrote:
> > My daughter needs to send me a large file.  It appears that it is getting
> > through my ISP, but being rejected on my CentOS mail server.  The message
> > she's getting says
> >
> > A message that you sent could not be delivered to one or more of its
> > recipients. This is a permanent error. The following address(es) failed:
> >
> > anne at localhost
> >   SMTP error: 552 5.3.4 Message size exceeds fixed limit
> > Reporting-MTA: dns; borg2.lydgate.lan
> >
> > I presume that this is a configurable limit, but I'm not sure where to
> > look. Since it says MTA I'm thinking that it's probably postfix.  Can
> > someone please tell me what parameter I'm looking for?  Thanks
> >
> > I have reams of documentation printed out.  I'll start wading through
> > that tomorrow, but time is of the essence with this one.
>
> ----
> # grep size_limit /etc/postfix/main.cf
> message_size_limit = 2560000000
> mailbox_size_limit = 5120000000
>
I see that the defaults are

mailbox_size_limit = 51200000
message_size_limit = 10240000

and she was trying to send me a ~5MB attachment!

Sorted, now, thanks

Anne