Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th November 2005, 21:03
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Default 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. :-)
Reply With Quote
  #2  
Old 20th November 2005, 02:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

What does
Code:
postconf -n
show for mailbox_size_limit?
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 20th November 2005, 05:40
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Default

It also says "mailbox_size_limit = 0".
Reply With Quote
  #4  
Old 20th November 2005, 14:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

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.
__________________
Falko
--
Follow me on:
Reply With Quote
  #5  
Old 20th November 2005, 17:25
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Default

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.).
Reply With Quote
  #6  
Old 20th November 2005, 18:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

Do you have message_size_limit set in your main.cf? If not, what does
Code:
postconf -d
show for it?
__________________
Falko
--
Follow me on:
Reply With Quote
  #7  
Old 20th November 2005, 18:58
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Lightbulb 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?
Reply With Quote
  #8  
Old 20th November 2005, 20:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,169
Thanks: 1,026
Thanked 1,766 Times in 1,672 Posts
Default

Simply set message_size_limit in main.cf, e.g.

Code:
postconf -e 'message_size_limit = 104857600'
and restart Postfix.
__________________
Falko
--
Follow me on:
Reply With Quote
  #9  
Old 20th November 2005, 21:40
IntnsRed IntnsRed is offline
Member
 
Join Date: Nov 2005
Posts: 49
Thanks: 1
Thanked 1 Time in 1 Post
Red face Doh! (sound of hand hitting forehead)

Whoops, sorry, I missed the transition from "mailbox" size limit to "message" size limit.

Thanks much; problem resolved.
Reply With Quote
  #10  
Old 23rd June 2006, 15:06
anand anand is offline
Junior Member
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:21.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Sponsored Links: Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com

One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com

One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com

One number. one voicemail. Seize the lead with Sprint. Learn more

AT&T Synaptic Compute as a Service. Boost your power on demand.

Trial: IBM Cognos Express Reporting, Analysis & Planning

Learn benefits of Simpana software.
View the Gartner Video

Sprint 4G - The Ultimate Mobile Broadband
Click here

SAP-Business Objects Crystal Reports Server
Complete reporting without hidden costs. Free Trial