[Dovecot] Is it possible to access maildir w/ 2 clients at the same time?
Hi,
I have dovecot with Maildir installed and running. No problems. I use kmail on both desktop and laptop with cachedimap configuration. kmail is configured to look for new mail every two minutes.
Now my question: When both maschines are running and kmail is started then two clients access the same Maildir on the server at the same time. Is this possible or can this corrupt the Maildir directory.
TIA Guenther
Maybe I should send my reply to the list as well... :-)
Erhard Guenther wrote:
Hi,
I have dovecot with Maildir installed and running. No problems. I use kmail on both desktop and laptop with cachedimap configuration. kmail is configured to look for new mail every two minutes.
Now my question: When both maschines are running and kmail is started then two clients access the same Maildir on the server at the same time. Is this possible or can this corrupt the Maildir directory.
TIA Guenther
The whole point (or at least a major part of it) is that maildirs are designed to be concurrently accessed (provided that the clients Do It Right). See for example http://cr.yp.to/proto/maildir.html, http://www.qmail.org/qmail-manual-html/man5/maildir.html or just google for maildir.
Cheers, Magnus
On 2005-01-24 09:24:17 +0100, Erhard Guenther wrote:
I have dovecot with Maildir installed and running. No problems. I use kmail on both desktop and laptop with cachedimap configuration. kmail is configured to look for new mail every two minutes.
fine
Now my question: When both maschines are running and kmail is started then two clients access the same Maildir on the server at the same time. Is this possible or can this corrupt the Maildir directory.
nope it wouldnt corrupt your maildir but they can mask new mails. if client1 sets the read flag before client2 saw themail. thats it.
darix
-- irssi - the client of the smart and beautiful people
http://www.irssi.de/
participants (3)
-
Erhard Guenther
-
Magnus Holmgren
-
Marcus Rueckert