PDA

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


IntnsRed
19th November 2005, 21: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[70.119.134.212]: 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. :-)

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

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

falko
20th November 2005, 14: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.

IntnsRed
20th November 2005, 17: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)

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

IntnsRed
20th November 2005, 18: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)

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

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

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

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

anand
23rd June 2006, 15: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.

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

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

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

Cheers

bwragg

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

ekkis
20th August 2009, 23:19
you need to restart the server

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

Will ISPConfig overwrite my changes?

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