Andrea Brancatelli wrote:
> Hello everybody.
> 
> I have a small problem here and maybe some of you can help me.
> 
> There are a few persons here at my company who bought an iPhone and
> promptly switched to POP3 to IMAP in order to keep their mailboxes in
> sync between the phone and their pc. Now the problem is that sometimes
> one of the clients (i mean, either the pc or the phone) get stuck. I
> suppose it's because they're both logging in at the same time and this
> is creating some kind of locking issues on the DB.
> 
> Do you agree?

I do this all the time. A client that locks up means either the client
is buggy, or the client needs to wait excessively long for response from
the server.

If there is a locking issue, the database server should report
something. Or look for warnings in the logs about long running queries.

> 
> Do you see any solution to have two client checking the same mailbox ax
> the same time?

Dbmail-2.2 is not very good at maintaining a consistent state: when one
client starts deleting/purging messages in a mailbox, other clients
connected to the same mailbox may suffer from 'invalid uid' problems.
This has been solved in 2.3 - but that code is not yet ready for public
consumption, I'm afraid.

First make sure you pinpoint the exact problem.

-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to