Expunged emails after upgrade from 2.3.16 to 2.4.5

Bron Gondwana brong at fastmail.fm
Tue Dec 7 15:11:06 EST 2010


On Tue, Dec 07, 2010 at 09:26:15AM -0400, Patrick Boutilier wrote:
> I didn't think changes on the replica would be reflected on the
> primary, Bron can verify though.
> 
> Are you saying that when mail older than 150 days was purged on the
> replica they also got purged on the primary?

Yes, that's correct - if you actually purge a message on the replica
that change is replicated back to the master.  The idea is that these
ends can be used interchangably - and so an expunge at one end has to
be mirrored at the other.
 
> >I had this parameter as I did not want the amount of emails to get
> >massive - if an email was more than 150 days old it was lost.
> >
> >Now I know I was not using the replica as a true "image" of the master
> >in that I have in the replica's imapd.conf the following
> >
> >expunge_mode: delayed
> >delete_mode: delayed
> >
> >The reason for this is that I have had instances of users misconfiguring
> >POP or deleting emails and then emptying Trash and asking where is the
> >email from John Citizen.
> >I have had to restore whole mail folders for a few users.
> >
> >So I was using the replica as a emergency backup store of emails.
> >
> >What do you recommend ?
> 
> 
> I would recommend running delayed expunge and delayed delete on the
> primary as well. That way you don't have to go to the replica at all
> to restore deleted e-mails.

Definitely!  That's the whole point of them.
 
Bron.


More information about the Info-cyrus mailing list