Solved

cyrus-imap cannot creat mailbox

Posted on 2004-09-15
4
563 Views
Last Modified: 2012-06-27
Hello,
 
I have a terrible problem at the moment because I cannot create any more mail accounts.
 
I am currently running cyrus-imapd-2.0.17. imap4 However I cannot create any more mailboxes.
 
I receive the following error when trying to create new accounts ...
 
Sep 15 19:05:16 sparrow imapd[7843]: [ID 721126 local6.error] IOERROR: creating directory /var/spool/cyrus1/user/jsnadd11: Too many links
Sep 15 19:05:16 sparrow imapd[7843]: [ID 721126 local6.error] IOERROR: creating directory /var/spool/cyrus1/user/jtarra10: Too many links
Sep 15 19:05:16 sparrow imapd[7843]: [ID 721126 local6.error] IOERROR: creating directory /var/spool/cyrus1/user/jvargh12: Too many links
Sep 15 19:05:16 sparrow imapd[7843]: [ID 721126 local6.error] IOERROR: creating directory /var/spool/cyrus1/user/jwalsh14: Too many links
Sep 15 19:05:16 sparrow imapd[7843]: [ID 721126 local6.error] IOERROR: creating directory /var/spool/cyrus1/user/jwatso26: Too many links
 .... and so it goes on
 
I currently have 32,765 directories in this account and it seems like perhaps I have reached the quota. Is there anyway to stop this?

Your comments are much appreciated
0
Comment
Question by:misscarbonara
  • 2
  • 2
4 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12069362
> I currently have 32,765 directories in this account

I don't think I understand what you mean by "this account". Could you elaborate, or better yet, show me the cyradm command you are using to create the mailbox?
0
 
LVL 20

Expert Comment

by:Gns
ID: 12084178
More likely "directory" than "account"... In which case "what filesystem type" and "what flavour of unix" might be the relevant questions...?

-- Glenn
0
 
LVL 40

Accepted Solution

by:
jlevie earned 450 total points
ID: 12084749
Thinking about this a bit more I believe that your problem is that you've run out of links in the /var/spool/cyrus1/user/ directory. The fix for that (which will also improve performance) is to convert to a hashed IMAP mail store. There are tools in the Cyrus distro for that.
0
 
LVL 20

Assisted Solution

by:Gns
Gns earned 50 total points
ID: 12101486
See, you just needed a bit of a jostle Jim;-).

-- Glenn
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 51
sudo logging 5 108
ovirt 3.6 guest VM support oracle solaris 4 86
looking for unix program to search some keywords in side EAR WAR and JAR files 10 110
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question