On Saturday 11 October 2003 22:35, Jonathan Nichols wrote:
> Ugh! I can't get rid of a folder. :-(
>
> "ERROR : Could not complete request.
> Query: SELECT "INBOX.Trash.MRTG"
> Reason Given: Mailbox does not exist, or must be subscribed to."
>
> I've even tried rm -rf /home/vmail/domain/user/.maildir/.Trash

That particular folder would be called .Trash.MRTG.  All folders shown in the 
client are maildirs stored at the same level (the INBOX) with the '.' used as 
the separator.  They don't actually live inside each other like they appear 
in the client.    So the Trash folder is .Trash, the MRTG folder which your 
client shows you "inside" the Trash folder is actually a maildir called 
.Trash.MRTG which also lives in the INBOX, a folder called Stuff inside the 
MRTG folder inside the Trash folder would actually be .Trash.MRTG.Stuff.  You 
get the idea.  You would be able to see all these by using the "ls -a" 
command inside the main Maildir (which is your INBOX).

So manually deleting the .Trash maildir only deletes the Trash folder; it 
doesn't actually delete any of the folders that appear to be "inside" of the 
Trash folder.  (That would probably make the client pretty confused as well! 
:-)

Look and see if there really IS a .Trash.MRTG maildir in the INBOX for this 
user.   The path you put in - "/home/vmail/domain/user/.maildir/.Trash" - 
looks a bit suspect.  Normally the Maildir is called "Maildir", unless you 
intentionally changed it.  (Which is fine, just not "standard".)

I get this problem when I log into SQWebMail to make a filter and it moves all 
my sent mail to .Sent.2003.09-July (or whatever).  There isn't actually a 
Sent.2003 folder on the disk only a .Sent.2003.09-July one.  So I can delete 
that bottom level folder (09-July) but then I can't delete the .Sent.2003 
folder because it doesn't exist.  But kmail still shows the 2003 folder below 
the Sent folder even though it's not on the disk.  What I do is create a new 
folder inside the Sent folder (using kmail) which replaces the non-existent 
2003 folder and then I can delete the new folder.  Don't ask me why it works, 
but it does.  Probably there's an easier way to flush the kmail cache (or the 
courier cache?) but this solves my problem and life is too short to wrestle 
with your email client!

Jeff Jansen



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to