#1  
Old 8th July 2010, 03:41
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default mailbox structure

Originally, using the IMAP feature in ISPCONFIG 2 allowed me to use multiple folders at the root layout of the mail box.

Upon moving to ISPCONFIG 3 and copying the mailbox data over, all folders are subdirectories of the Inbox and look quite ugly.

How can I rebuild the mailbox tree so that all folders are at the root instead of subdirectories of Inbox?
Reply With Quote
Sponsored Links
  #2  
Old 8th July 2010, 10:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

The mailbox structure is the same in ispconfig 2 and 3 is the same as long as you used the same pop3 / imap daemon as this structure has nothing to do with ispconfig, it is created and managed by the imap daemon. If the mailbox looks differently in your imap client, you might have moved the folders to a wrong directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th July 2010, 15:32
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

Currently, my directory structure looks like:

Index
| - Forum Posts
| - Orders
| - Hosting Details
| - Sent
| - Trash

The structure is the same whether I'm using SquirrelMail or Outlook IMAP.

Prior to moving to ISPCONFIG 3, it was:

Index
Forum Posts
Orders
Hosting Details
Sent
Trash

How would I move everything to obtain that old structure?
Reply With Quote
  #4  
Old 9th July 2010, 05:51
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

My email directory is the following:

Code:
my:/var/vmail/derdggdn.com/derek# ls -lah
total 1.1M
drwx------ 27 vmail vmail 4.0K 2010-07-08 23:09 .
drwx------  8 vmail vmail 4.0K 2010-05-25 10:15 ..
-rwx------  1 vmail vmail  103 2010-04-13 00:50 .antivirus.rc
-rwx------  1 vmail vmail  938 2010-04-13 00:50 .autoresponder.rc
drwx------  2 vmail vmail 4.0K 2010-04-15 00:08 courierimaphieracl
drwx------  2 vmail vmail 4.0K 2010-07-07 14:15 courierimapkeywords
-rwx------  1 vmail vmail  196 2010-04-15 00:08 courierimapsubscribed
-rw-r--r--  1 vmail vmail  37K 2010-07-08 23:09 courierimapuiddb
drwx------  2 vmail vmail 108K 2010-07-08 23:15 cur
drwx------  6 vmail vmail 4.0K 2010-07-08 20:46 .Deleted Items
-rwx------  1 vmail vmail 8.4K 2010-04-14 23:36 dovecot.index
-rwx------  1 vmail vmail 398K 2010-04-14 23:36 dovecot.index.cache
-rwx------  1 vmail vmail  74K 2010-04-14 23:45 dovecot.index.log
-rwx------  1 vmail vmail 129K 2010-04-09 10:04 dovecot.index.log.2
-rwx------  1 vmail vmail   13 2009-06-30 15:34 dovecot-keywords
-rwx------  1 vmail vmail  25K 2010-04-14 23:36 dovecot-uidlist
drwx------  6 vmail vmail 4.0K 2010-04-28 11:38 .Drafts
drwx------  6 vmail vmail 4.0K 2010-07-07 15:41 .Forum Posts
-rwx------  1 vmail vmail  68K 2010-04-13 00:50 .html-trap.rc
-rw-rw----  1 vmail vmail  435 2010-07-08 23:03 ispconfig_mailsize
drwx------  6 vmail vmail 4.0K 2010-07-08 22:24 .Junk
drwx------  5 vmail vmail 4.0K 2010-04-15 00:08 .Junk E-mail
-rwx------  1 vmail vmail 3.8K 2010-04-13 00:50 .local-rules.rc
drwx------ 20 vmail vmail 4.0K 2010-04-14 23:45 Maildir
-rw-r--r--  1 vmail vmail 3.5K 2010-07-08 23:15 maildirsize
-rwx------  1 vmail vmail  204 2010-04-13 00:50 .mailsize.rc
drwx------  2 vmail vmail 4.0K 2010-07-08 23:04 new
-rwx------  1 vmail vmail  656 2010-04-13 00:50 .quota.rc
drwx------  6 vmail vmail 4.0K 2010-06-22 13:12 .Registrations
\drwx------  6 vmail vmail 4.0K 2010-07-08 23:15 .Sent
drwx------  6 vmail vmail 4.0K 2010-06-10 22:10 .Sent Items
drwx------  2 vmail vmail 4.0K 2009-05-11 14:25 .spamassassin
-rwx------  1 vmail vmail 1.2K 2010-04-13 00:50 .spamassassin.rc
drwx------  6 vmail vmail 4.0K 2010-04-15 00:16 .Spam Issue
-rwx------  1 vmail vmail  148 2010-04-04 21:07 subscriptions
drwx------  6 vmail vmail 4.0K 2010-04-15 00:16 .Tax Data
drwx------  2 vmail vmail 4.0K 2010-07-08 23:49 tmp
drwx------  6 vmail vmail 4.0K 2010-07-08 23:09 .Trash
drwx------  6 vmail vmail 4.0K 2010-05-08 22:53 .Travel Documents
-rwx------  1 vmail vmail 2.2K 2010-04-13 00:50 .user_prefs
-rwx------  1 vmail vmail   32 2010-04-13 00:50 .vacation.msg
drwx------  2 vmail vmail 4.0K 2009-05-11 14:25 web
This has something to do with NAMESPACES where the configuration from Perfect Setup seems to have all folders aside from INBOX as being private subfolders for INBOX.

I have no clue where NAMESPACE information is stored for ISPCONFIG3.

I'm using Courier and Maildrop according to the ISPCONFIG panel.

Last edited by crypted; 9th July 2010 at 06:25.
Reply With Quote
  #5  
Old 9th July 2010, 08:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

Quote:
This has something to do with NAMESPACES where the configuration from Perfect Setup seems to have all folders aside from INBOX as being private subfolders for INBOX.
As mentioned in my post above, it looks as if you switched to another imap daemon. Which imap daemon have you used in ispconfig 2?

For example, courier uses INBOX. as namesapce while dovecot does not use namespaces. So if you copied the imape folders from a dovecot system to courier, the layout may change.

See also:

http://wiki.dovecot.org/Migration/Courier

Quote:
I have no clue where NAMESPACE information is stored for ISPCONFIG3
As I mentioned above, thts related to the imap daemon that you use and not ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 9th July 2010, 16:19
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

I believe dovecot on ISPCONFIG 2 and then it's courier on ISPCONFIG 3.

I used the default daemon on both installs.
Reply With Quote
  #7  
Old 25th July 2012, 18:33
concept21 concept21 is offline
Senior Member
 
Join Date: Dec 2011
Posts: 142
Thanks: 27
Thanked 18 Times in 13 Posts
Default

Yes, when receiving mail (I use Thunderbird v14 or Squirrelmail 1.4), the mailbox structure of ISPconfig 3 with courier is incorrect but functioning correctly. Every other folders become subfolders of INBOX. The structure is:
+Inbox
| - Drafts
| - Sent
| - Archives
| - Junk
| - Trash



The correct normal structure should be:

Inbox
Drafts
Sent
Archives
Junk
Trash

Please correct it in the next release.
Reply With Quote
  #8  
Old 25th July 2012, 21:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

This is not related to ISPConfig at all, so nothing we could correct. Courier always has the folders inside inbox, thats courier specific, take a look at the courier docs and I explained that already. You can set inbox as prefix in your imap client if you want to get them displayed as dovecot is doing it or use dovecot.

And take a look at the perfects etup guide, it is explained there how o set the prefix in squirrelmail.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 26th July 2012, 20:22
concept21 concept21 is offline
Senior Member
 
Join Date: Dec 2011
Posts: 142
Thanks: 27
Thanked 18 Times in 13 Posts
 
Default

Yes, I know how to make the mailbox prettier:

Courier IMAP Client Configuration:
http://www.karmak.org/2003/courier-i...underbird-1.5/
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailbox Custom Rules federico Installation/Configuration 5 3rd September 2010 16:01
Unable to receive mail - Can't open Mailbox he14607 Installation/Configuration 2 8th June 2010 10:28
Vhosts...conf not synced to changes crypted General 50 24th April 2010 00:54
MySQL query to add/delete/edit mail account? klonos General 4 21st August 2009 15:31
PostfixAdmin - Unable to create mailbox! c4rdinal Server Operation 3 26th June 2008 15:19


All times are GMT +2. The time now is 04:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.