Hi,
I was using squirrelmail and now moved to roundcube.
I have set to create new folders when user login, so now, all users have old and new Trash, Sent boxes, i have set to create new folders as with old folders, mails will not get send to Trash when mail deleted.
(http://nancy.bizhat.com/rc1.jpg)
The marked in red are from old squirrelmail.
When i go to personal settings, these folders are shows as children fro INBOX
(http://nancy.bizhat.com/rc2.jpg)
In folders, these extra folders are not listed
(http://nancy.bizhat.com/rc3.jpg)
I have deleted old mail box folders from file system with following command
Quotecd /home/vmail
find ./ -name '.INBOX.Drafts' -type d |xargs rm -rf
find ./ -name '.INBOX.Sent' -type d |xargs rm -rf
find ./ -name '.INBOX.new' -type d |xargs rm -rf
When i login to imap of same mailbox, the folder is not shown
Quote[root@server52 ~]# telnet 0 143
Trying 0.0.0.0...
Connected to 0 (0.0.0.0).
Escape character is '^]'.
* OK Dovecot ready.
a login [email protected] password
a OK Logged in.
a list "" "*"
* LIST (\HasNoChildren) "." "Drafts"
* LIST (\HasNoChildren) "." "Junk"
* LIST (\HasNoChildren) "." "Sent"
* LIST (\HasNoChildren) "." "Trash"
* LIST (\HasNoChildren) "." "INBOX"
a OK List completed.
a logout
* BYE Logging out
a OK Logout completed.
Connection closed by foreign host.
[root@server52 ~]#
How do i remove the extra folders shown in inbox ?
Thanks,
Yujin
Thanks rosali, it workd, i am able to rename/delete the folder.
The problem is name of the folder is Trash and roundcube just disable deleting of any folder that have the name of default folders. Is there anyway top ignore childrens of INBOX ?
No, I don't believe so. Without hacking in the source, IMO there is no chance.