LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-25-2013, 08:33 AM   #1
said76
Member
 
Registered: Aug 2011
Posts: 113

Rep: Reputation: Disabled
message file too big


Hi,

I'm getting the following error from my postfix server running on Ubuntu Server 12.04.

*Fatal: General Fatal
Root(0): message file too big

*Warning: Queue file size limit exceeded

I checked on my main.cf config file and have the following settings:

message_size_limit = 31457280

This is already big enough.

I can send and receive emails with no problem though.

I don't know what else to check to resolve this error.

Any help would be greatly appreciated.

Thank you very much
 
Old 07-25-2013, 09:14 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by said76 View Post
Hi,
I'm getting the following error from my postfix server running on Ubuntu Server 12.04.

*Fatal: General Fatal
Root(0): message file too big
*Warning: Queue file size limit exceeded

I checked on my main.cf config file and have the following settings:

message_size_limit = 31457280

This is already big enough. I can send and receive emails with no problem though. I don't know what else to check to resolve this error.
Well, if you can send and receive mail correctly, there really isn't a problem to resolve. You're getting that warning because someone is trying to send a message that's larger than the size limit. So, send smaller messages.

Be aware that postfix/mime usually adds about a 33% overhead to the message size.
 
Old 07-25-2013, 09:28 AM   #3
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 236

Rep: Reputation: 64
You can set the 'message_size_limit' to 0 in order to allow emails of any size to be passed through message queue.

So, change the 'mailbox_size_limit' value to 0 (unlimited) using the following command:

postconf -e message_size_limit=0

Then, restart the Postfix server for the changes to take effect:

/etc/init.d/postfix restart
 
Old 07-25-2013, 09:35 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rosehosting.com View Post
You can set the 'message_size_limit' to 0 in order to allow emails of any size to be passed through message queue.

So, change the 'mailbox_size_limit' value to 0 (unlimited) using the following command:

postconf -e message_size_limit=0

Then, restart the Postfix server for the changes to take effect:
/etc/init.d/postfix restart
Yes, but the OP has a size limit set now, which they said was big enough for them. Also, that is a dangerous thing to do, in my opinion, if you've got a good number of users. Having someone forward that 100MB joke video around is a great way to bring a mail server to its knees.
 
Old 07-26-2013, 09:02 AM   #5
said76
Member
 
Registered: Aug 2011
Posts: 113

Original Poster
Rep: Reputation: Disabled
Thank you folks for your replies.

Yes, I can send and receive emails fine.

No, I don't want to set the message_size_limit to zero but rather imposing a certain size limit to what's been set already.

Is there any way to find out who the sender could be? The reason I ask this is because there is only two users, myself and my brother. And neither of us are trying to send a large message.

I've getting this fatal message for a week already.

Thank you very much

Last edited by said76; 07-26-2013 at 09:05 AM.
 
Old 07-26-2013, 09:18 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by said76 View Post
Thank you folks for your replies.
Yes, I can send and receive emails fine. No, I don't want to set the message_size_limit to zero but rather imposing a certain size limit to what's been set already.

Is there any way to find out who the sender could be? The reason I ask this is because there is only two users, myself and my brother. And neither of us are trying to send a large message.
Well, if it's not you, that narrows it down, doesn't it? Have you checked the mail logs for more information, since all of that (sender, receiver, etc.), are all logged?
Quote:
I've getting this fatal message for a week already.
Read the message closely. It is a WARNING, telling you there is a failure in delivering messages over a certain size.
 
Old 07-29-2013, 08:42 AM   #7
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
check your mail spool directory for stuck messages (e.g. /var/mail/spool). if you are lucky you might be able to dig out the message or sender causing this warning.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge many files in to one big file. like 20 file merge in one big file Jmor Linux - Newbie 2 10-29-2008 09:41 PM
LXer: Why Big Compute and Big Storage will meet Big Pipe at the Last Mile LXer Syndicated Linux News 0 12-23-2007 01:20 PM
gftp: define message size...ssh2 (message_size is too big) pablovschby Linux - Software 2 02-19-2004 11:23 AM
PHP MySQL Apache - Big message here! Dominic Linux - Software 5 12-19-2000 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration