Afficher un message
Vieux 27/04/2006, 23h42   #2
Sam
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: imapsync two way synchronization of deletes and explunges

astan writes:

> Synopsis:
> I am using imapsync to synchronize two Courier IMAP servers for the
> purpose of having a local repository of all mail for my users. My
> problem is that deletes do not synchronize between the system.


> user deletes or expunges a message on mail2.example.com, it does not
> replicate that delete or expunge back to mail.example.com. Hence,
> deleted messages reappear magically several minutes after they are
> deleted. This makes users sad (confused, terrified, unable to cope...)


Well, what did you expect? When a specific message exists on one server,
but not on the other one, how do you expect an automated script to tell the
difference between this message being a newly-delivered message on the first
server, or the message getting deleted from the second server, instead? You
can certainly make an educated guess, based on some ancillary metadata, but
you cannot determine this with 100% certainty.

The only way to do this properly would be if the synchronization script,
itself, keeps an internal database of which messages should be on which
server, and I do not believe that imapsync does that.

> Any other suggestions?


Stop making your own life difficult. If you want to receive mail from the
Internet, then do exactly that: receive mail from the Internet. Don't have
it shipped off to some mysterious server out there, and then use some
hacked up script to try to download it from an external mail box.

Configure a real mail server, point the MXes to your machine, and move on
with your life. Why do you insist on making things more complicated than
they need to be?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQBEUUjIx9p3GYHlUOIRAtHyAJ4xxGl9FUW7JLWXP9KZBh MG8sYKZACaA+/R
ElXFCG2eMUXliSry1LW6yvg=
=9vtl
-----END PGP SIGNATURE-----

  Réponse avec citation
 
Page generated in 0,05504 seconds with 9 queries