Okay, I was using ISPC2 for a few years and it wasn't using the same mail service as ISPC3 uses now. However, all mail was moved over and imported. I believe it was originally mbox and then transferred to mailbox. Currently, I have this: Code: my:/var/vmail/derekgordon.com/derek# ls -lah total 1.1M drwx------ 28 vmail vmail 4.0K 2010-10-26 11:00 . drwx------ 8 vmail vmail 4.0K 2010-08-24 10:31 .. -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------ 5 vmail vmail 4.0K 2010-07-09 10:32 Conservative Jobs drwx------ 2 vmail vmail 4.0K 2010-07-08 23:59 courierimaphieracl drwx------ 2 vmail vmail 4.0K 2010-07-07 14:15 courierimapkeywords -rw-r--r-- 1 vmail vmail 211 2010-08-15 18:16 courierimapsubscribed -rw-r--r-- 1 vmail vmail 62K 2010-10-26 11:00 courierimapuiddb drwx------ 2 vmail vmail 152K 2010-10-26 11:07 cur drwx------ 6 vmail vmail 4.0K 2010-10-26 08:56 .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------ 7 vmail vmail 4.0K 2010-07-09 00:04 .Drafts drwx------ 6 vmail vmail 4.0K 2010-10-17 23:06 .Forum Posts drwx------ 6 vmail vmail 4.0K 2010-10-15 14:18 .Free Masons -rwx------ 1 vmail vmail 68K 2010-04-13 00:50 .html-trap.rc -rw-rw---- 1 vmail vmail 98 2010-10-26 11:00 ispconfig_mailsize drwx------ 6 vmail vmail 4.0K 2010-10-26 00:16 .Junk drwx------ 5 vmail vmail 4.0K 2010-07-09 10:30 .Junk E-mail -rwx------ 1 vmail vmail 3.8K 2010-04-13 00:50 .local-rules.rc drwx------ 21 vmail vmail 4.0K 2010-07-09 10:32 Maildir -rw-r----- 1 vmail vmail 2.8K 2010-10-26 11:07 maildirsize -rwx------ 1 vmail vmail 204 2010-04-13 00:50 .mailsize.rc drwx------ 6 vmail vmail 4.0K 2010-08-31 14:46 .Military drwx------ 2 vmail vmail 4.0K 2010-10-26 11:00 new drwx------ 6 vmail vmail 4.0K 2010-07-14 23:49 .OCU drwx------ 6 vmail vmail 4.0K 2010-10-15 14:20 .Orders -rwx------ 1 vmail vmail 656 2010-04-13 00:50 .quota.rc drwx------ 6 vmail vmail 4.0K 2010-08-18 14:17 .Registrations drwx------ 6 vmail vmail 4.0K 2010-10-15 14:17 .SAGONet drwx------ 6 vmail vmail 4.0K 2010-10-26 11:07 .Sent drwx------ 6 vmail vmail 4.0K 2010-10-25 21:04 .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-10-26 11:12 tmp drwx------ 6 vmail vmail 4.0K 2010-10-26 10:54 .Trash drwx------ 6 vmail vmail 4.0K 2010-08-31 14:45 .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 my:/var/vmail/derekgordon.com/derek# I end up with a bunch of random folders in my IMAP Outlook account that I have to hide. However, my IMAP cellphone software picks up every directory in vmail and calls it a subfolder of Inbox. I'm thinking there's a bunch of useless crap here that needs to be removed. Thoughts?
I see you have folders/files for Courier and Dovecot. Which POP3/IMAP daemon do you use? How did you import the mails? Did you use imapsync ( http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapsync )?
I went from what the default ISPC2 Perfect Install used to the ISPC3 Perfect Install's defaults. I know there was a change in ISPC2 from mbox as I recall. Then, on my upgrade to ISPC3 I moved the mail over. My ISPC3 settings show: courier and maildrop. I didn't use anything special to migrate. I had an old forum post where I was told to copy to the vmail. Per Till: "Recreate the mail accounts in ispconfig 3 on the new server. Then copy the content of the "Maildir" directory on the old server to the corresponding directory /var/vmail/domain.tld/user/ on the new server. Then chown the data to user and group vmail."
You can remove all the *.rc files (these are old procmail recipes used by ISPConfig 2; they aren't used by ISPConfig 3) as well as .user_prefs and .vacation.msg. The dovecot* files can be removed as well because you're using Courier.
Sounds good, thanks Falko! Curiously, why do all of my mail folders fall under Inbox after my ISCP2 -> 3 switch? Folders look as follows: INBOX | - Sent | - Drafts | - Trash Whereas it used to be: | - Inbox | - Sent | - Trash ... Just wondering...
Thast the normal behaviour when courier is used. I guess you had dovecot on the other server? Normally you can configure this also in your mail client, by setting a prefix for INBOX.
Yes, courier is the default on this ISPC3 configuration. The ISPC2 I came from was dovecot. Would dovecot be better to switch back to?
ISPConfig uses courier as default on debian as it offers more features like mail traffic accounting. If you dont need mail traffic stats, you can use dovecot as well. On some distributions that do not have courier packages, we use dovecot as default as there is no alternative available. In general courier is as good as dovecot. They only differ in a fech technical details like the inbox format. You should be able to set this in your mailclient. If you want to switch to dovecot, you would have to modify all inbox folders manually as the storage path for the mails differs.