Imap spool directory

Alain Spineux aspineux at gmail.com
Sat May 31 06:45:50 EDT 2008


On Sat, May 31, 2008 at 3:55 AM, Shelley Waltz <shwaltz at cabm.rutgers.edu> wrote:
>
> Simon Matter said:
>>> I just created a new cyrus-2.3.7-2 server on RHEL5.  I created the
>>> /etc/imapd.conf and started up /etc/init.d/cyrus-imapd start.
>>>
>>> On my old cyrus-2.2 server, the /var/spool/imap  has all the directories
>>> for the user's mail files under a b c ...
>>>
>>> Question is ... I specified /var/spool/imap as the sppol directory in
>>> imapd.conf. however, when I started cyrus, no a b c ... directories were
>>> created.  Does this only happen as I add accounts or migrate accounts?
>>
>> Yes.
>>
>> Simon
>>
>>
>>
> I migrated my mailboxes.db to the new server, so I need to create the
> /var/spool/imap/{a-z}/user/username/* and reconstruct?

No need to create dirs! reconstruct is able to read mailbox.db and
reconstruct all missing
directories

using something like:(depending "unixhierarchysep")

$ reconstruct -rf user/*
or
$ reconstruct -rf user.*

-r is a little broken and can be useless, but the '*' wilcard do the job



> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list