Migrating Cyrus Servers

Dominique Couot dcouot at terra.es
Tue Jan 17 07:54:54 EST 2012


On 17/01/2012 13:37, Bron Gondwana wrote:
> On Tue, Jan 17, 2012, at 12:57 PM, Dominique Couot wrote:
>> Hi,
>>
>> I am in the process of changing hardware, and want to migrate all my
>> processes from one server to another. Most of it went ok, till I hit a
>> wall with Cyrus.
>>
>> The old server was running under Ubuntu 10.04, the new one Ubuntu 11.04,
>> with their respective Postfix and Cyrus versions.
>>
>> I reinstalled Postix, Cyrus and SASL, amavasd and other protection
>> goodies from the ubuntu repository. I copied my different config files
>> from the old server to the new one, as well as the entire mail archive
>> (/var/spool/cyrus/...).
> Did you copy the metadata files as well?  I'm not sure where they go on
> Ubuntu by default, but usually /var/lib/imap or similar.

Just figured that out.... Copied /var/lib/cyrus to the new server, but 
when trying to connect now, I have no answer anymore to
cyradm -user cyrus localhost (stays blank - exit through CTRL-C)
and
imtest -a user at domain.tld returns "WARNING: no hostname supplied, 
assuming localhost" (stays blank - exit through CTRL-C)

So I win some, I lose some. Any more ideas ?


>
>> Both Postfix and Cyrus servers are running ok, authentication works as
>> well (tested with imtest), however when cheking the mail.log, I only see
>> authentication against localhost and not the domain...
>>
>> Furthermore, when connecting through a client (roundcube), connection
>> goes through but no mailbox is encountered (ERROR message) but lets you
>> in anyway.
> Definitely smells like missing metadata.
>
> Bron.


More information about the Info-cyrus mailing list