johnnyv Posted April 7, 2003 Report Share Posted April 7, 2003 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. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 11, 2003 Report Share Posted April 11, 2003 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. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 11, 2003 Report Share Posted April 11, 2003 Also, maybe your security has disk quotas set for users. Do (as root) quota -u mailbackup and quota -g mailbackup (or whatever user/group mailbackup belongs to) to see if maybe that user/group has almost used their disk quota. Quote Link to comment Share on other sites More sharing options...
johnnyv Posted April 11, 2003 Author Report Share Posted April 11, 2003 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! Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 11, 2003 Report Share Posted April 11, 2003 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 Quote Link to comment Share on other sites More sharing options...
johnnyv Posted April 11, 2003 Author Report Share Posted April 11, 2003 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.