Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th October 2010, 18:16
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default what should be in a vmail folder?

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?
__________________
ISPC3 on Debian! It's great!
Reply With Quote
Sponsored Links
  #2  
Old 27th October 2010, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

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-mig...-with-imapsync )?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th October 2010, 16:04
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 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."
__________________
ISPC3 on Debian! It's great!
Reply With Quote
  #4  
Old 28th October 2010, 18:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

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.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th October 2010, 19:13
crypted crypted is offline
Senior Member
 
Join Date: Dec 2006
Location: Oklahoma, USA
Posts: 429
Thanks: 3
Thanked 14 Times in 6 Posts
Default

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...
__________________
ISPC3 on Debian! It's great!
Reply With Quote
  #6  
Old 29th October 2010, 15:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Good question. I think you should try imapsync next time to move your mails.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 29th October 2010, 22:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Quote:
Originally Posted by crypted View Post
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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 structure crypted General 8 26th July 2012 21:22
Postfix not receive but send mail !!! mixian Installation/Configuration 22 4th August 2010 10:31
Fetchmail mingccm Installation/Configuration 1 30th June 2010 11:00
Courier And Mysql Doginal Installation/Configuration 11 24th January 2010 08:35
imapd: Error reading ACLs for INBOX..Junk: Invalid argument playalistic Installation/Configuration 6 2nd December 2009 12:42


All times are GMT +2. The time now is 06:39.


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