cyrus: delete previously deleted messages(after backup recovery)

2014-04-22 Thread Y B
Hello,

after a disk crash, I had to recover all the emails from a daily backup.
Unfortunately, I noticed that this backup was made with the rsync command
but WITHOUT the --delete options.
That means that the mail backup was much larger than the original one since
no message was ever deleted on the backup.
Now I would like to clean the mailboxes and remove all those emails that
were previously deleted but I cannot find how.
Is there any easy way to do this?
(I use cyrus+postfix on debian 6.0.4)

Thank you for your help.

Yannick

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

Re: cyrus: delete previously deleted messages(after backup recovery)

2014-04-22 Thread Patrick Boutilier

On 04/22/2014 09:19 AM, Y B wrote:

Hello,

after a disk crash, I had to recover all the emails from a daily backup.
Unfortunately, I noticed that this backup was made with the rsync
command but WITHOUT the --delete options.
That means that the mail backup was much larger than the original one
since no message was ever deleted on the backup.
Now I would like to clean the mailboxes and remove all those emails that
were previously deleted but I cannot find how.
Is there any easy way to do this?
(I use cyrus+postfix on debian 6.0.4)

Thank you for your help.


Did you lose your metadata as well? Usually in /var/imap ?







Yannick



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



<>
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

Re: imap cyrus

2014-04-22 Thread Adam Tauno Williams
> > are you telling me that cyrus-imap does not work together with qmail-ldap ?
> > Are you serious ?
> Please let's keep the discussion on the mailing list. And please do not 
> top-post.
> Frankly speaking, I do not care for qmail-ldap. qmail is a software dead 
> since over a decade.

Postfix maps can almost certainly emulate whatever qmail-ldap is doing.

> My point was that the mail structure cyrus-imapd uses is not Maildir. 

+1  Cyrus is *not* Maildir.

-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA


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


Re: replication

2014-04-22 Thread Adam Tauno Williams
On Mon, 2014-04-21 at 22:34 +0600, Eugene M. Zheganin wrote:
> If I'm using replication, and master goes offline for a moment, and I 
> have some mail delivered on replica (from SMTP, beacuse I kinda have 
> SMTP configured to deliver on localhost, and IMAP master is also a CARP 
> master), how do I handle this situtation when master is back online (and 
> the mail starts to be delivered on master, and some mail is technically 
> lost, because it's on replica) ?

If this happens, and you cut-over mail delivery, the slave should become
the master.  They should flip roles.  Cyrus replication is not
multi-master [at least not yet - that will be an awesome day].

-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA


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