Re: synchronize 2 Maildirs

2001-01-02 Thread Sean Reifschneider

On Sat, Dec 23, 2000 at 08:13:55PM +0100, Clemens Hermann wrote:
not (!) transferred to the office again. The same vice versa.
The problem is: How does the synchronization program know if a missing
mail on one side was deleted there or not yet transferred.
Has anyone solved a similar problem?

The problem is that it's a two-way synchronization.  I was, at one point,
working on a program that would do such a synchronization.  Basicly, you
have to track the disposition of each local Maildir and propogate changes
to the other side.  I had a bunch of code that should have done just this,
but there was a bug in it.  I eventually abandoned this because right
around this time we no longer had a need for dealing with e-mail on
two machines.

I have some other ideas for a system that would effectively allow for
distributed, peer-relationship clustering of mail servers where mail
could be sent, received, and read on any of the systems in the cluster,
but that will probably be something we do as a commercial project.

Sean
-- 
 Bush says the election should be finished soon for the good of the people.
 He's 350,000 popular votes behind, why doesn't he concede?
Sean Reifschneider, Inimitably Superfluous [EMAIL PROTECTED]
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python



synchronize 2 Maildirs

2000-12-23 Thread Clemens Hermann

Hi,

I have two computers (qmail, vmailmgr) which should synchronize their Maildirectories 
once one hour.
One of the computers (The authorative Mailserver) has a permanent
Internet connection and the other one (office) has a dialin ISDN connection.
The users shall be able to poll mails from the Server (Webmail, POP3,
etc.) and from the dialin-Sevrer (office).
Problem: when a mail is deleted on the office-server it should also be
deleted on the server as soon as the nex synchronization takes place and
not (!) transferred to the office again. The same vice versa.
The problem is: How does the synchronization program know if a missing
mail on one side was deleted there or not yet transferred.
Has anyone solved a similar problem?

thanks a lot in advance

Clemens