
19th November 2005, 21:03
|
|
Member
|
|
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Postfix says, "Message size exceeds fixed limit"
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. :-)
|

20th November 2005, 02:12
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
What does show for mailbox_size_limit?
|

20th November 2005, 05:40
|
|
Member
|
|
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
|
|
It also says "mailbox_size_limit = 0".
|

20th November 2005, 14:59
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
Quote:
|
Originally Posted by IntnsRed
It also says "mailbox_size_limit = 0".
|
I'm not quite sure, but maybe 0 means 0, not unlimited.  Try to set another value like 104857600 (100 MB) and restart Postfix.
|

20th November 2005, 17:25
|
|
Member
|
|
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
|
|
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.).
|

20th November 2005, 18:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
Do you have message_size_limit set in your main.cf? If not, what does show for it?
|

20th November 2005, 18:58
|
|
Member
|
|
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Aha!
Code:
# 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?
|

20th November 2005, 20:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
|
|
Simply set message_size_limit in main.cf, e.g.
Code:
postconf -e 'message_size_limit = 104857600'
and restart Postfix.
|

20th November 2005, 21:40
|
|
Member
|
|
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
|
|
Doh! (sound of hand hitting forehead)
Whoops, sorry, I missed the transition from "mailbox" size limit to "message" size limit.
Thanks much; problem resolved.
|

23rd June 2006, 15:06
|
|
Junior Member
|
|
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
problems
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.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 05:21.
|
Recent comments
19 hours 12 min ago
22 hours 3 min ago
1 day 3 hours ago
1 day 3 hours ago
1 day 4 hours ago
1 day 11 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 18 hours ago