Jump to content

Is there a size limitation on mbox mail files?


johnnyv
 Share

Recommended Posts

Hi if a mbox mail file gets to around 50mb it is impossible to write more to it.

 

get this message from postfix

 

Final-Recipient: rfc822; mailbackup@uroxsys.co.nz

Action: failed

Status: 5.0.0

Diagnostic-Code: X-Postfix; can't create user output file. Command output:

   procmail: Error while writing to "/var/spool/mail/mailbackup"

 

Any ideas how to overcome this problem? has been the same in mdk 8.1 and mdk 9.0.

Is this a postfix/procmail limitation or a mbox limitation?

 

Can't find anything in webmin on postfix for the max file size.

Link to comment
Share on other sites

Dumb questions: Do you mount /var on its own partition? Maybe the partition is full?

 

I also found this:

 

http://hegel.ittc.ukans.edu/topics/linux/m...procmail.1.html

 

Error while writing to "x"

Nonexistent subdirectory, no write permission, pipe died or disk full.

Link to comment
Share on other sites

Thanks for the reply.

 

/var has its own 15gb partition about 80% free space.

 

Do i even need to use procmail for local delivery?

Isn't postfix able to do it itself?

 

On investigating mail storage solutions i came across something that looks promising.

 

www.dbmail.org

from the website.

What is dbmail?

 

Dbmail is the name of a group of programs that enable the possibility of storing and retrieving mail messages from a database.

 

Can use a postgres or mysql database backend for mail storage.

Reportedly retrieval of around 250 email messages per second! (what hardware and settings i don't know).

Has been deployed with a 25,000 user installation.

 

Is still fairly new, i will have a look on my spare computer at home when i have the time.

Every problem i have had with email on the linux server is file locking and filesize problems with mbox mail files. A database backend would be a dream come true!

Link to comment
Share on other sites

Postfix is supposed to be used for local delivery by default unless you edit your /etc/postfix/main.cf and add this line

 

mailbox_command = /usr/bin/procmail

 

(I'm not really familiar with this, just reading docs off the web...lol)

 

I don't know what the basic /etc/postfix/main.cf looks like

Link to comment
Share on other sites

Postfix is supposed to be used for local delivery by default unless you edit your /etc/postfix/main.cf and add this line

 

mailbox_command = /usr/bin/procmail

 

(I'm not really familiar with this, just reading docs off the web...lol) 

 

I don't know what the basic /etc/postfix/main.cf looks like

 

The one that comes with mandrake has procmail in there by default as far as i remember.

 

Also i have no quotas set for user or group mailbackup

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...