0

OK I have an odd situation:

I need to synchronize e-mail from a single e-mail account on a single server to two different e-mail clients. I need e-mail to be removed from the e-mail server.

I've tried setting up these accounts so that one uses POP to remove and sync e-mails and the other uses IMAP to sync e-mails, but this simply creates a race condition between the clients. and results in only some e-mails being delivered to the IMAP client.

Does anyone know of a better way to accomplish my goals?

2
  • 1
    I'm confused. IMAP requires e-mails to be server side, yet you want them to sync AND have e-mails removed server side? This is an incompatible request.
    – Wutnaut
    Jun 13, 2014 at 15:58
  • IMAP doesn't actually REQUIRE that, it is simply the normal operation. Nothing stops you removing the emails whenever you like. Jun 13, 2014 at 17:50

1 Answer 1

1

This is going to get messy I think.

You will have to have both clients connect using IMAP as nothing else will work. Then you will need to find a way to get both clients to indicate they have finished replicating, then you will need a server process that recognises that signal and deletes the emails. Not good. What happens as more email comes in while the clients are replicating? I think that you would have to stop the email server first - see what I mean about messy?

So, lets wind back slightly. Why do you want to do that? If you can explain that, I'd be prepared to bet that we can come up with a better approach.

1
  • You're right; I do need to rethink my planned implementation. For instance synchronizing changes to e-mails is just worth too much effort.
    – notAlex
    Jun 17, 2014 at 16:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .