LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-12-2008, 04:50 AM   #1
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Rep: Reputation: 34
Dovecot - Create new folder gives "INBOX can't be deleted" error


Hey all,

I'm trying to setup an IMAP server at home for the purposes described here:
http://www.linux.com/feature/146613

I'm on an ArchLinux installation, Dovecot version 1.1.3

I've installed Dovecot, and I can connect... However when I try and create a new folder within my Inbox, I get this error:
Quote:
Error while Creating folder `INBOX/Domains'.

IMAP command failed: INBOX can't be deleted.
I get the same error in both Evolution and Thunderbird, using 2 different users. I have a user setup for Evolution which is personal mail accoutns, and a completely separate user setup for Thunderbird for business mail.

Given that it happens in both users and both clients, it must be an error or misconfiguration on the server side. But I have no idea what or why - I'm not trying to delete the Inbox, I want a subfolder!

The error occurs when I try and create a folder manually, and when I try dragging a folder from my local mail to the IMAP server.

Any ideas would be great!
 
Old 09-20-2008, 03:37 AM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Original Poster
Rep: Reputation: 34
Bump... Anyone?
 
Old 09-20-2008, 04:48 PM   #3
bmarx
Member
 
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
I do not use dovecot, but this looks like a permissions problem. What are the permissions on the INBOX folder? What uid/gid is the process running as?

If your setup is exactly the same as on that page, mail_location=mbox:~/Mail:INBOX=/var/mail/%u, /var/mail will probably have a default permission of root:root 755, only root having the ability to write there for incoming mail. Also check the permissions on ~/Mail.

When troubleshooting these types of issues, it is sometimes helpful to just go with telnet to see the output of the server. Try using some of the commands on this page to troubleshoot, http://bobpeers.com/technical/telnet_imap.php
 
Old 09-24-2008, 03:01 AM   #4
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 449

Original Poster
Rep: Reputation: 34
Thanks bmarx - I will have a look. I think it is because I ditched the procmail part because it was giving me errors and I didn't see why I couldn't just use /var/spool/mail/username as my inbox. Apparently this is why
 
  


Reply

Tags
dovecot



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
Squirrelmail: Query: CREATE "INBOX.Sent" Reason Given: Cannot create this folder. Chiragrs Linux - Server 2 03-10-2008 11:37 AM
create folder-hierarchy for "revolutionary" (?) incremental backup linusneumann Linux - Software 1 04-23-2007 04:20 PM
Dovecot: no inbox for user error Coomkeen Linux - Server 2 10-06-2006 10:17 AM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 06:20 PM
Nautilus, "Create Folder" problem... max74 Linux - Software 2 10-08-2003 05:28 PM

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

All times are GMT -5. The time now is 07:41 PM.

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