I created a new test user and let qmailtoaster create the default directory structure. Then I copied over just one test folder, .verisign, from one of the old courier imap server mail accounts $HOME/Maildir folders and changed the ownership. I noticed that the owner:group on some of the existing folders was vpopmail:vpopmail instead of vpopmail:vchkpw so I wasnt sure which one to use. The vpopmail.vpopmail ownership seems to work. Does it matter?
[EMAIL PROTECTED] Maildir]# pwd
/home/vpopmail/domains/ghis.com/daver/Maildir
[EMAIL PROTECTED] Maildir]# ls -al
total 104
drwx------ 10 vpopmail vchkpw 4096 Dec 9 13:53 .
drwx------ 3 vpopmail vchkpw 4096 Dec 9 13:37 ..
drwx------ 2 vpopmail vpopmail 4096 Dec 9 13:46 courierimapkeywords
-rw-r--r-- 1 vpopmail vpopmail 49 Dec 9 13:56 courierimapsubscribed
-rw-r--r-- 1 vpopmail vpopmail 165 Dec 9 13:48 courierimapuiddb
drwx------ 2 vpopmail vchkpw 4096 Dec 9 13:48 cur
-rw------- 1 vpopmail vchkpw 93 Dec 9 13:48 maildirsize
drwx------ 2 vpopmail vchkpw 4096 Dec 9 13:48 new
drwx------ 6 vpopmail vpopmail 4096 Dec 9 13:47 .Sent
drwx------ 6 vpopmail vpopmail 4096 Dec 9 13:56 .test
drwx------ 2 vpopmail vchkpw 4096 Dec 9 13:56 tmp
drwx------ 5 vpopmail vpopmail 4096 Dec 9 13:46 .Trash
drwx------ 6 vpopmail vpopmail 4096 Feb 28 2005 .verisign
[EMAIL PROTECTED] Maildir]#
On 12/9/05, Jake Vickers <[EMAIL PROTECTED]> wrote:
David Hartley wrote:
> Hmmm, I dont think that restore script will be a good option reading this:
>
> The restore script WILL DESTROY any data you have in QMail. Users get
> deleted, emails get deleted, and the vpopmail database gets deleted.
> It then imports all of this information from the backup file into your
> QMail-Toaster server.
>
> I have to retain the existing users stuff, now that they are using the
> new system.
> Also, my problem is that the old mail directories are in the users
> home, not in vpopmail.
Sorry, thought you were going to a fresh install. You may be able to get
by, by copying the old folders/emails to the new server under their new
/home/vpopmail/domains/yourdomain.com/user1/Maildir/ home. Once they're
copied over, just make sure the permissions are correct. The folders
should have a period in front of them (such as .Sent1 and .Sent2), and
they're owned vpopmail:vchkpw with the permission 700.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David R Hartley
[EMAIL PROTECTED]
