Christian Rost wrote:
> KS schrieb:
>> Hello all,
>>
>> I am a total newbee at courier mail system and the only reason I have to
>> know more about it is because my host moved my account from one machine
>> to another and now the mail part is not as it was. Now for a bit of detail:
>>
>> New machine: Linux maryland 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 23
>> 13:01:26 EST 2007 i686 i686 i386 GNU/Linux
>>
>> Old machine: Linux stonewall 2.6.18-8.1.3.el5xen #1 SMP Mon Apr 30
>> 20:58:43 EDT 2007 i686 i686 i386 GNU/Linux
>>
>> My host uses cPanel and courier as the MTA. In the old machine I get a
>> normal folder listing and my mail messages are there(in webmail Horde).
>> However, in the new machine, I don't have any of the old mail (mail
>> before the move) in my inbox. Also I see the various courier folders
>> when I view it in Horde. I use Thunderbird on my desktop to access the
>> mail and now Thunderbird refuses to copy sent mail to Sent folder and
>> says it doesn't exist and can't create it either. Other folders e.g.
>> Trash is not accessible either - Thunderbird throws an error! SELECT
>> failed: Can't open mailbox Trash: no such mailbox.
>>
>> So I thought that there was some problem during the move and rsynced the
>> contents again from the old machine to new machine. However, the problem
>> still remains. Any tips on what I can do to get my mail back to normal?
>>
>>
> Hi,
>
> how did you rsync the contents? What was the command you used?
>
I used the following command:
~$ rsync -avz ~/mail/domainname.com/username/
[EMAIL PROTECTED]:/home/spider/mail/domainname.com/username/
> Because we consolidated several mail-servers into one big machine, we
> had to move several MailDirs from the old machines to the new one
> without any problems, and we took rsync, too. But you need to remember
> two things,
>
> 1. setting approriate User/ Group rights to access the Maildir on the
> new machine
> 2. all folders within the Maildir are hidden folders
>
> Christian
The user is the same on both machines, and all files are
username:username on both. The account is a jailshell if it matters. The
following is what I get from a listing in the directory:
~/mail/domainname.com/username/$ ls -a
./ .Sent/ .mailboxlist courierimapkeywords/
courierimapuiddb maildirsize tmp/
../ .Trash/ courierimaphieracl/ courierimapsubscribed cur/
new/
which shows that not all folders are hidden here. But they are same as
on the old machine which shows mail normally.
Thanks,
KS
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap