Migration: INBOX^Trash & friends
Chris Pepper
pepper at reppep.com
Sun Jan 6 23:05:44 EST 2008
I have 'www', a Mac OS X 10.4 Server system, running Apple's build of
Cyrus, and want to move my mail over to 'pe', a CentOS 5.1 system
running CentOS 5.1's cyrus-imapd-2.3.7-1.1.el5.rpm (derived from Simon
Matter's Invoca RPM). I would very much like to rsync the mail over and
(when ready) change the hostnames and have email clients not notice the
difference. In particular, if Eudora decides the mailbox layout has
changed, it will reysnc all mail and lose much of its status
information, so I want to avoid this if possible.
I'm getting hung up on a directory naming discrepancy I don't
understand. Any guidance on where the discrepancy originates will be
much appreciated.
On the Mac, pepper's top-level directory structure looks like this
(folders, not files):
> www:~ root# ls -d /var/spool/imap/user/pepper/*/
> /var/spool/imap/user/pepper/Deleted Messages/
> /var/spool/imap/user/pepper/Drafts/
> /var/spool/imap/user/pepper/JUNK.20061225/
> /var/spool/imap/user/pepper/Junk/
> /var/spool/imap/user/pepper/Sent Messages/
> /var/spool/imap/user/pepper/Sent/
> /var/spool/imap/user/pepper/Trash/
> /var/spool/imap/user/pepper/bulk/
> /var/spool/imap/user/pepper/company-archive/
> /var/spool/imap/user/pepper/company/
> /var/spool/imap/user/pepper/debevoise/
> /var/spool/imap/user/pepper/debevoise2/
> /var/spool/imap/user/pepper/frb/
> /var/spool/imap/user/pepper/goldman-sachs/
> /var/spool/imap/user/pepper/hh2005/
> /var/spool/imap/user/pepper/hh2006/
> /var/spool/imap/user/pepper/hh2007/
> /var/spool/imap/user/pepper/hts^20060328^txt/
> /var/spool/imap/user/pepper/info-mac/
> /var/spool/imap/user/pepper/keepers-archive/
> /var/spool/imap/user/pepper/list-archive/
> /var/spool/imap/user/pepper/list/
> /var/spool/imap/user/pepper/macworld-expo/
> /var/spool/imap/user/pepper/mail/
> /var/spool/imap/user/pepper/misc/
> /var/spool/imap/user/pepper/people-archive/
> /var/spool/imap/user/pepper/people/
> /var/spool/imap/user/pepper/pepper^development/
> /var/spool/imap/user/pepper/reppep/
> /var/spool/imap/user/pepper/reppep^com/
> /var/spool/imap/user/pepper/ru-archive/
> /var/spool/imap/user/pepper/ru/
> /var/spool/imap/user/pepper/scratch/
> /var/spool/imap/user/pepper/tidbits-archive/
> /var/spool/imap/user/pepper/tidbits/
> /var/spool/imap/user/pepper/writing/
On the Linux system, pepper's top-level directory structure looks like
this:
> [root at pe imap]# ls -l /var/spool/imap/user/pepper/
> total 40
> -rw------- 1 cyrus mail 4 Jan 5 17:37 cyrus.cache
> -rw------- 1 cyrus mail 154 Jan 5 17:36 cyrus.header
> -rw------- 1 cyrus mail 96 Jan 5 17:37 cyrus.index
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 Drafts
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 hh2007
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 INBOX^Drafts
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 INBOX^Sent
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 INBOX^Trash
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 Sent
> drwx------ 2 cyrus mail 4096 Jan 5 17:36 Trash
I have Cyrus set to auto-create "Trash | Sent | Junk", and that's
working, but I don't understand why they are prefixed by "INBOX^". I
tried renaming the folders to simply 'Drafts', 'Sent', and 'Trash' and
reconstructing, and imapd re-created the INBOX^* files to match the
contents of mailboxes.db.
So what causes the discrepancy? I don't know if there's a configuration
setting I missed, or a compilation option that Apple changed, but I have
verified that both systems have "altnamespace: yes" and
"unixhierarchysep: yes".
Thanks,
Chris Pepper
PS-I'm sorry if this is a FAQ. I've read all the docs I could find under
<http://cyrusimap.web.cmu.edu/imapd/>, and Google doesn't ignores '^',
so I'm having no luck at tracking this down.
--
Chris Pepper: <http://www.reppep.com/~pepper/>
<http://www.extrapepperoni.com/>
The Rockefeller University: <http://www.rockefeller.edu/>
More information about the Info-cyrus
mailing list