Imap spool directory
Alain Spineux
aspineux at gmail.com
Mon Jun 2 10:32:36 EDT 2008
On Mon, Jun 2, 2008 at 3:01 PM, Shelley Waltz <shwaltz at cabm.rutgers.edu> wrote:
>
> Alain Spineux said:
>> 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/*
Ops, you need to specify the domain name
$ reconstruct -rf user/*@mydomain.com
is working for me
$ reconstruct -rf user/*
will reconstruct only mailbox in the defaultdomain
>> or
>> $ reconstruct -rf user.*
I dont know the domain notation here sorry
>>
>> -r is a little broken and can be useless, but the '*' wilcard do the job
>>
>
>
> I loaded mailboxes.db using ctl_mboxlist -u <mailboxes.dump where
> mailboxes.dump is a dump of the mailboxes on my old server. I then try
> reconstruct -rf user.* and no mailboxes under /var/spool/imap are
> reconstructed? The mailboxes.db contains the mailboxes as I can see them
> if I do a ctl_mboxlist -d >mailboxes.dump2 . I see no messages in
> /var/log/messages or /var/log/maillog. Why aren't they created?
> unixhierarchysep is 0, the default of "."
>
> thnx
> S
> ----
> 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