View Single Post
  #1  
Old 24th June 2012, 02:24
Bookworm Bookworm is offline
Junior Member
 
Join Date: Aug 2009
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default Weirdness in migration - courier to dovecot

Because of speed issues, during a rebuild, I moved a server from courier-imap to dovecot.

I migrated the dbispconfig database, then ran the upgrade.php script on the system. It correctly found Dovecot, (and I ran it again with the line '$conf['dovecot']['installed'] = true;' inserted after 231 [immedately after updateDbAndIni(); ] ) and supposedly everything would be great.

_however_ every time I touch an email account, it sets it up looking like this.

-rwxr--r-- 1 vmail vmail 47 Jun 23 18:13 courierimapsubscribed
drwx------ 2 vmail vmail 4096 Jun 23 18:13 cur
drwx------ 5 vmail vmail 4096 Jun 23 18:13 .Drafts
drwx------ 5 vmail vmail 4096 Jun 23 18:13 .Junk
drwx------ 5 vmail vmail 4096 Jun 23 18:13 Maildir
drwx------ 2 vmail vmail 4096 Jun 23 18:13 new
-rw------- 1 vmail vmail 46 Jun 23 18:13 .quotausage
drwx------ 5 vmail vmail 4096 Jun 23 18:13 .Sent
-rw-r--r-- 1 root root 77 Jun 23 18:13 .sieve
-rw-r--r-- 1 vmail vmail 149 Jun 23 18:13 .sieve.svbin
-rwxr--r-- 1 vmail vmail 23 Jun 23 18:13 subscriptions
drwx------ 2 vmail vmail 4096 Jun 23 18:13 tmp
drwx------ 5 vmail vmail 4096 Jun 23 18:13 .Trash

What's even worse is that it ends up _deleting the information stored in the Maildir folder_ . now I get to restore that from backup, and hope it doesn't happen -again-.

Notice that it created the Dovecot Maildir folder. Under which, it correctly placed the 'new' 'cur' and 'tmp' subfolders. it also created ALL OF THE COURIER FOLDERS AND FILES. Emphasis intended.

The only mention of 'courier' in the dbispconfig database is in the sys_datalog table, and in the server table.

Any suggestions how to stop ispconfig from creating double IMAP setups, as well as deleting emails when the email account is modified? The clean install system I used for another site yesterday isn't having any of these problems.

BW
Reply With Quote
Sponsored Links