Re: Migrating language encoded folders from cyrus 2.2.12 to 2.3.11

2011-07-13 Thread Jeroen van Meeuwen (Kolab Systems)
Josef Karliak wrote:
> Folders on the disk has the same name:
> drwx--  2 cyrus mail  848 12. čec 03.01 Kamil &AQw-ern&AP0-/
> 
>So it is up to squirrelmail to "deencode" it ?

Yes.

Kind regards,

Jeroen van Meeuwen

-- 
Senior Engineer, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
t: +44 144 340 9500
m: +44 74 2516 3817
w: http://www.kolabsys.com

pgp: 9342 BF08

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

Syncing master and replica with different imap storage contents

2011-07-13 Thread Ivan Lezhnjov Jr.
R stands for Replica, or real Replica
M stands for Master, or real Master
R turned M, means Replica host reconfigured to act as Master
M turned R, means Master host reconfigured to act as Replica

So, consider the following scenario.

We have two hosts M (host A) and R (host B). M received 4 messages and
synced up with R. R has 4 messages too.

Now, R goes down, after a while M receives 2 new messages and goes
down too. We fix R first and bring it back up as M. This R turned M
receives 3 new messages. We then fix M and bring it up as R.
Difference is that real M (host A) holds 2 new messages that real R
(host B) doesn't, while real Replica holds 3 new messages that real M
doesn't.

When tried out, M turned R (host A), when attempted to sync up, logged
the following:

Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: executed
Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: accepted connection
Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: cmdloop(): startup
Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: login:
imapsite-master [10.10.0.205] cyrus PLAIN User logged in
Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: Unlinking files in
mailbox user.zxy
Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: IOERROR: failed to
parse /var/spool/imap/sync./7265/3b0d8ec2924b317b22b3864e587
8662d9e187fb4
Jul 13 12:13:41 imapsite-replica2 syncserver[7265]: IOERROR: failed to
append file user.zxy 15

However, the following workaround did the trick just fine:
[Replica aka MtR] % mv /var/lib/imap ~/lib-imap
[Replica aka MtR] % mv /var/spool/imap ~/spool-imap
[Replica aka MtR] % rsync -a --numeric-ids master:/var/spool/imap /var/spool/
[Replica aka MtR] % rsync -a --numeric-ids master:/var/lib/imap /var/lib/

After that sync worked just fine. The question is, though, how does
one interpret the error message logged and what can be done to bring
the two hosts in sync with each another in the scenario such as
described?

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: Basic two host replication scenario, SSL failure

2011-07-13 Thread Ivan Lezhnjov Jr.
Agh, the problem solved, finally!

What caused this really weird behavior was something that is I'm not
even sure of, but what I did to fix it was basically took and
duplicated the master host, reconfigured it to be a replica and after
that I could sync and swap the roles as many times as I liked.
Syncrhonization would work just fine in both directions, no
inexplainable TLS/SSL error, everything's groovy now.

Thanks for all the help regarding this issue everyone :)

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/


Re: mail marked as "unread"

2011-07-13 Thread Hubertus Freiherr von Fuerstenberg

On 10/06/11 17:25, Robert Rynasiewicz wrote:
Whenever I open a mailbox, all the mail therein gets marked as 
"unread."  Is there a simple solution for this.  (I'm running Cyrus as 
it came bundled in Mac OSX 10.4 Server.)


Robert Rynasiewicz
r...@lorentz.phl.jhu.edu 



Hi Robert,

I had the same issue after a full harddisk. The .seen DB-files 
were corrupted (there were error messages saying so). Deleteing the 
.seen file reset all messages to unread but after that, the seen flag 
was set correctly.


cheers,
Hubertus

--
Hubertus v. Fuerstenberg
   MAIL: Fraunhofer Institute for Solar Energy Systems
 Heidenhofstr. 2, 79110 Freiburg, Germany
   PHONE: +49 (761) 4588 5153 FAX: +49 (761) 4588 9286
   EMAIL: hubertus.fuerstenb...@ise.fraunhofer.de
 --- Quis custodiet ipsos custodes? ---


Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/