View Full Version : Postfix says, "Message size exceeds fixed limit"

19th November 2005, 22:03
System: Debian perfect setup with ISPConfig.

In /etc/postfix/main.cf I have:

mailbox_size_limit = 0

set. However, I still seem to have a message size limit imposed on SMTP. When I try to send myself a message with a ~40MB attachment[1] logging directly into my SMTP server, the log tells me:

Nov 19 20:57:20 hostname postfix/smtpd[22875]: NOQUEUE: reject: MAIL from unknown[]: 552 Message size exceeds fixed limit; proto=ESMTP helo=<myhost.mydomain.org>

Can anyone whack me with a clue-bat and explain what's happening? TIA.

Footnotes: 1. Yeah, I know what FTP's for. This was a test. :-)

20th November 2005, 03:12
What does postconf -n show for mailbox_size_limit?

20th November 2005, 06:40
It also says "mailbox_size_limit = 0".
Chrysler Valiant Charger History (http://www.dodge-wiki.com/wiki/Chrysler_Valiant_Charger)

20th November 2005, 15:59
It also says "mailbox_size_limit = 0".
I'm not quite sure, but maybe 0 means 0, not unlimited.:D Try to set another value like 104857600 (100 MB) and restart Postfix.

20th November 2005, 18:25
The PostFix docs say that 0 in this case means unlimited.

Either way, I've tried it with other values (and just now with the 100MB figure you suggested) and the response is the same.

It seems strange. At first I thought it might be related to the virus scanner, spamassassin, and/or procmail imposing a limit. But that doesn't make sense, 'cause it seems the response is coming from SMTP/Postfix.

Now, to add another curve into this ;), all attachments are not broken. I have had people send me smaller stuff (a single *.jpg attached to a mail, etc.).
YAMAHA WX5 (http://www.yamaha-tech.com/wiki/Yamaha_WX5)

20th November 2005, 19:42
Do you have message_size_limit set in your main.cf? If not, what does postconf -d show for it?

20th November 2005, 19:58
# postconf -d | grep message_size_limit
message_size_limit = 10240000

Well, there seems to be a limit after all (he says making a mental note that he seriously has to read up on the PostFix man pages and docs:-).

Yes, this value is set to 0 in main.cf (as per above). So now I wonder, how can this be changed to get rid of that ~10MB limit?
FORD D3 PLATFORM PICTURE (http://www.ford-wiki.com/wiki/Ford_D3_platform)

20th November 2005, 21:16
Simply set message_size_limit in main.cf, e.g.

postconf -e 'message_size_limit = 104857600' and restart Postfix.

20th November 2005, 22:40
Whoops, sorry, I missed the transition from "mailbox" size limit to "message" size limit.

Thanks much; problem resolved.
Mary jane (http://maryjanes.info/)

23rd June 2006, 16:06
I am setting up the following values in main.cf

mailbox_size_limit = 0
message_size_limit = 0
virtual_mailbox_limit = 0

However when i do a postconf -d and check the values it still shows me the following:

mailbox_size_limit = 51200000
message_size_limit = 10240000
virtual_mailbox_limit = 51200000

How can i remove this limitation. I tried to increase these values, also, however the values seem to remain fixed.

Any help will be appreciated.

24th June 2006, 15:56
postconf -d shows the default values, whereas postconf -n shows your current values.

2nd February 2008, 20:24
sorry, I don't even know what was my post,
guess it was just a wrong copy/paste.

11th September 2008, 06:54
Is it possible to change the max size of a message per user or is it only a system wide setting?



12th September 2008, 17:58
It's a system-wide setting.

21st August 2009, 00:19
you need to restart the server

24th January 2011, 18:32
It's a system-wide setting.

Will ISPConfig overwrite my changes?

24th January 2011, 18:37
No. ISPConfig 2 does not configure that parameter.